two webs! : combining the best of web 1.0, web 2.0 and the semantic web

60
Two Webs! Danny Ayers, 2007 Scripting for the Semantic Web Workshop (“So where are the agents?”)

Upload: danny-ayers

Post on 14-Jan-2015

289 views

Category:

Technology


1 download

DESCRIPTION

Slides from invited talk at Scripting for the Semantic Web SFSW2007 Workshop at ESW2007. Considering how the old Agent abstraction might be applied to reduce the conceptual complexity of modern Web systems (especially semweb systems).

TRANSCRIPT

Page 1: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Two Webs!

Danny Ayers, 2007

Scripting for the Semantic Web Workshop

(“So where are the agents?”)

Page 2: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Web 2.0?

Page 3: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

REST

OWL

URIsHTTP

XML

RDFWebArch

HTMLLinks

Data

Page 4: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 5: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 6: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

The Web

Page 7: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

href

<a href=”documentB.html”>Another Doc</a>

documentA.html

documentB.html

Page 8: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

representation

href

http://example.org/resourceA http://example.org/resourceB

representation

href

Page 9: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Source : http://opte.org

Page 10: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

The Semantic Web

Page 11: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

http://example.org/resourceA

http://www.w3.org/2000/01/rdf-schema#seeAlso

http://example.org/resourceB

Page 12: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

<http://example.org/resourceA> <http://www.w3.org/2000/01/rdf-schema#seeAlso>

<http://example.org/resourceB> .

Page 13: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

resourceA resourceB

representation representation

href:resourceA

rdfs:seeAlso:resourceB

:resourceA :resourceB

representation representation

rdfs

Page 14: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

resourceA resourceB

representation representation

href

:resourceA :resourceB

representation

rdfs:seeAlso

:resourceArdfs:seeAlso:resourceB

Page 15: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

The Web

The Semantic Web

Page 16: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 17: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

href

http://example.org/resourceA

representation

Page 18: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Resource

A Resource has a set of Representations of different (media) types [WebArch]

Rp Rp Rp

representationrepresentation

representation

mT mT mT

mediaType mediaType mediaType

mT1 = text/htmlmT2 = image/jpegmT3 = application/rdf+xml

Page 19: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

IdealResource

Rp Rp Rp

representation representation representation

Individual representations of a resource aren't necessarily “complete”

Page 20: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

R

Representations may change over time

Rp0 Rp1 Rp2

representationat time t0 representation

at time t1

representationat time t2

text/html text/html text/html

mediaType mediaType mediaType

Page 21: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

<http://example.org/resourceA> <http://www.w3.org/2000/01/rdf-schema#seeAlso>

<http://example.org/resourceB> .

Page 22: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

R

One or more of the Representations may describe a Graph [RDF]

Rp

representation

application/rdf+xml

mediaType

describes

Page 23: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

R

Rp

representation

application/rdf+xml

mediaType

describes

Page 24: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 25: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Server

Client

View

ServerServer

Page 26: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Data Processes

Server

Client

View

Page 27: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Web 2.0?

Page 28: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Data Processes

Server

Client

DataProcesses

View

ServerServer

Page 29: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 30: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Tyranny of the

Browser

Page 31: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

The Web

The Semantic Web

Page 32: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

<a href=”documentB.html”>Another Doc</a>

documentA.html documentB.html

html:href a rdf:Property .

documentA.html html:href documentB.html .

Page 33: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Model

Resources

Representations

HTTP Processes

Page 34: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

“So where are the agents?”- Jim Hendler

Page 35: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

9thLife

Page 36: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Things that look like they work in virtual worlds

* Commerce (supports micropayments)

* Intellectual Property (everyone owns what they build)

* Open Source (between participants)

Page 37: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 38: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 39: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Source: http://home1.gte.net/pfingar/doc_mag2_f4.gif via Google Images

Page 40: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

BehaviourRDFModel

HTTPClient

HTTPServer

Comms Bus

(The Web)

Page 41: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

HTTPClient

Comms Bus

(The Web)View

Page 42: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

GET /index.html HTTP/1.1Host: elsewhere.orgLink: <http://mysite.org/foaf.rdf>; rel="foaf"

Page 43: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

<http://mysite.org/foaf.rdf#me> a :Person ;

:holdsAccount [ a :OnlineAccount ; :accountServiceHomepage <http://openid.net> ; openid:server <http://www.myopenid.com/server> ; openid.delegate <http://me.myopenid.com/"> ] .

Page 44: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

BehaviourRDFModel

HTTPClient

HTTPServer

Comms Bus

(The Web)View

Page 45: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

BehaviourRDFModel

HTTPClient

HTTPServer

Comms Bus

(The Web)View

Page 46: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

What does any of this

have to do with Scripting?!

Page 47: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

BehaviourRDFModel

HTTPClient

HTTPServer

Comms Bus

(The Web)

Page 48: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

RDFModel

HTTPClient

HTTPServer

handle(request) {

data = model.query(request)

if(data != null){

return format(data)

}else {

other_source = model.lookup(request)

data = get(other_source, request)

}

return format(data)

Page 49: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Possible Issues

* need for async behaviour within request/response cycle

* system-level concurrency is unreliable?

* does messaging over HTTP even make sense?

Page 50: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

* need for async behaviour within request/response cycle

- threads, message queues! tools are available, e.g. Quartz

* system-level concurrency is unreliable?

- the system is the Web live with unreliability!

Page 51: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Does messaging over HTTP make sense?

does RPC/SOAP? - occasionally (when you control both ends of the wire)

does RSS/Atom syndication? - server push can be simulated through polling

Reliable messaging can be done, e.g. HTTPLR

Page 52: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Semantic Web

WebDocs

SQLDBs

XMLFormats

OtherProtocols

= ConverterToRdf

Page 53: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

BehaviourRDFModel

HTTPClient

HTTPServer

Comms Bus

(The Web)

Other Data

Page 54: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Semantic Web

WebDocs

SQLDBs

XMLFormats

OtherProtocols

= ConverterFromRdf

Page 55: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 56: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Model

Resources

Representations

HTTP Processes

Page 57: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Page 58: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

One Web!

Page 59: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

http://talis.com

Semantic Web Application Platform

Page 60: Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web

Thank you!

These slides online :http://dannyayers.com/sfsw2007/slides