Two
Webs!
Danny Ayers, 2007
Scripting for the Semantic Web Workshop
(“So where are the agents?”)
Web 2.0?
REST
OWL
URIs
HTTP
XML
RDF
WebArch
HTML
Links
Data
The Web
href
<a href=”documentB.html”>Another Doc</a>
documentA.html
documentB.html
representation
href
http://example.org/resourceA
http://example.org/resourceB
representation
href
Source : http://opte.org
The Semantic Web
http://example.org/resourceA
http://www.w3.org/2000/01/rdf-schema#seeAlso
http://example.org/resourceB
<http://example.org/resourceA>
<http://www.w3.org/2000/01/rdf-schema#seeAlso>
<http://example.org/resourceB>
.
resourceA resourceB
representation representation
href
:resourceA
rdfs:seeAlso
:resourceB
:resourceA :resourceB
representa...
resourceA resourceB
representation representation
href
:resourceA :resourceB
representation
rdfs:seeAlso
:resourceA
rdfs:s...
The Web
The Semantic Web
href
http://example.org/resourceA
representation
Resource
A Resource has a set of Representations
of different (media) types [WebArch]
Rp Rp Rp
representation
representati...
Ideal
Resource
Rp Rp Rp
representation representation
representation
Individual representations of a resource
aren't neces...
R
Representations may change over time
Rp0 Rp1 Rp2
representation
at time t0
representation
at time t1
representation
at t...
<http://example.org/resourceA>
<http://www.w3.org/2000/01/rdf-schema#seeAlso>
<http://example.org/resourceB>
.
R
One or more of the Representations may
describe a Graph [RDF]
Rp
representation
application/rdf+xml
mediaType
describes
R
Rp
representation
application/rdf+xml
mediaType
describes
Server
Client
View
ServerServer
Data Processes
Server
Client
View
Web 2.0?
Data Processes
Server
Client
DataProcesses
View
Server
Server
Tyranny
of the
Browser
The Web
The Semantic Web
<a href=”documentB.html”>Another Doc</a>
documentA.html
documentB.html
html:href a rdf:Property .
documentA.html html:href...
Model
Resources
Representations
HTTP Processes
“So where are the agents?”
- Jim Hendler
9th
Life
Things that look like they work
in virtual worlds
* Commerce
(supports micropayments)
* Intellectual Property
(everyone ow...
Source: http://home1.gte.net/pfingar/doc_mag2_f4.gif via Google Images
BehaviourRDF
Model
HTTP
Client
HTTP
Server
Comms
Bus
(The Web)
HTTP
Client
Comms
Bus
(The Web)
View
GET /index.html HTTP/1.1
Host: elsewhere.org
Link: <http://mysite.org/foaf.rdf>; rel="foaf"
<http://mysite.org/foaf.rdf#me> a :Person ;
:holdsAccount [
a :OnlineAccount ;
:accountServiceHomepage <http://openid.net>...
BehaviourRDF
Model
HTTP
Client
HTTP
Server
Comms
Bus
(The Web)
View
BehaviourRDF
Model
HTTP
Client
HTTP
Server
Comms
Bus
(The Web)
View
What does
any of this
have to do with
Scripting?!
BehaviourRDF
Model
HTTP
Client
HTTP
Server
Comms
Bus
(The Web)
RDF
Model
HTTP
Client
HTTP
Server
handle(request) {
data = model.query(request)
if(data != null){
return format(data)
}els...
Possible Issues
* need for async behaviour within
request/response cycle
* system-level concurrency is unreliable?
* does ...
* need for async behaviour within
request/response cycle
- threads, message queues!
tools are available, e.g. Quartz
* sys...
Does messaging over HTTP make sense?
does RPC/SOAP?
- occasionally (when you
control both ends of the wire)
does RSS/Atom ...
Semantic Web
Web
Docs
SQL
DBs
XML
Formats
Other
Protocols
= ConverterToRdf
BehaviourRDF
Model
HTTP
Client
HTTP
Server
Comms
Bus
(The Web)
Other Data
Semantic Web
Web
Docs
SQL
DBs
XML
Formats
Other
Protocols
= ConverterFromRdf
Model
Resources
Representations
HTTP Processes
One
Web!
http://talis.com
Semantic Web
Application Platform
Thank you!
These slides online :
http://dannyayers.com/sfsw2007/slides
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Two Webs! : combining the best of Web 1.0, Web 2.0 and the Semantic Web
Upcoming SlideShare
Loading in …5
×

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

647 views

Published on

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).

Published in: Technology, Education
1 Comment
0 Likes
Statistics
Notes
  • Hi Danny, you showed me those slides before your pres in Innsbruck. I remembered the dog food for cats :-) Nice memories. Best,
    fps
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

No Downloads
Views
Total views
647
On SlideShare
0
From Embeds
0
Number of Embeds
37
Actions
Shares
0
Downloads
4
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

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

  1. 1. Two Webs! Danny Ayers, 2007 Scripting for the Semantic Web Workshop (“So where are the agents?”)
  2. 2. Web 2.0?
  3. 3. REST OWL URIs HTTP XML RDF WebArch HTML Links Data
  4. 4. The Web
  5. 5. href <a href=”documentB.html”>Another Doc</a> documentA.html documentB.html
  6. 6. representation href http://example.org/resourceA http://example.org/resourceB representation href
  7. 7. Source : http://opte.org
  8. 8. The Semantic Web
  9. 9. http://example.org/resourceA http://www.w3.org/2000/01/rdf-schema#seeAlso http://example.org/resourceB
  10. 10. <http://example.org/resourceA> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://example.org/resourceB> .
  11. 11. resourceA resourceB representation representation href :resourceA rdfs:seeAlso :resourceB :resourceA :resourceB representation representation rdfs
  12. 12. resourceA resourceB representation representation href :resourceA :resourceB representation rdfs:seeAlso :resourceA rdfs:seeAlso :resourceB
  13. 13. The Web The Semantic Web
  14. 14. href http://example.org/resourceA representation
  15. 15. Resource A Resource has a set of Representations of different (media) types [WebArch] Rp Rp Rp representation representation representation mT mT mT mediaType mediaType mediaType mT1 = text/html mT2 = image/jpeg mT3 = application/rdf+xml
  16. 16. Ideal Resource Rp Rp Rp representation representation representation Individual representations of a resource aren't necessarily “complete”
  17. 17. R Representations may change over time Rp0 Rp1 Rp2 representation at time t0 representation at time t1 representation at time t2 text/html text/html text/html mediaType mediaType mediaType
  18. 18. <http://example.org/resourceA> <http://www.w3.org/2000/01/rdf-schema#seeAlso> <http://example.org/resourceB> .
  19. 19. R One or more of the Representations may describe a Graph [RDF] Rp representation application/rdf+xml mediaType describes
  20. 20. R Rp representation application/rdf+xml mediaType describes
  21. 21. Server Client View ServerServer
  22. 22. Data Processes Server Client View
  23. 23. Web 2.0?
  24. 24. Data Processes Server Client DataProcesses View Server Server
  25. 25. Tyranny of the Browser
  26. 26. The Web The Semantic Web
  27. 27. <a href=”documentB.html”>Another Doc</a> documentA.html documentB.html html:href a rdf:Property . documentA.html html:href documentB.html .
  28. 28. Model Resources Representations HTTP Processes
  29. 29. “So where are the agents?” - Jim Hendler
  30. 30. 9th Life
  31. 31. Things that look like they work in virtual worlds * Commerce (supports micropayments) * Intellectual Property (everyone owns what they build) * Open Source (between participants)
  32. 32. Source: http://home1.gte.net/pfingar/doc_mag2_f4.gif via Google Images
  33. 33. BehaviourRDF Model HTTP Client HTTP Server Comms Bus (The Web)
  34. 34. HTTP Client Comms Bus (The Web) View
  35. 35. GET /index.html HTTP/1.1 Host: elsewhere.org Link: <http://mysite.org/foaf.rdf>; rel="foaf"
  36. 36. <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/"> ] .
  37. 37. BehaviourRDF Model HTTP Client HTTP Server Comms Bus (The Web) View
  38. 38. BehaviourRDF Model HTTP Client HTTP Server Comms Bus (The Web) View
  39. 39. What does any of this have to do with Scripting?!
  40. 40. BehaviourRDF Model HTTP Client HTTP Server Comms Bus (The Web)
  41. 41. RDF Model HTTP Client HTTP Server 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)
  42. 42. Possible Issues * need for async behaviour within request/response cycle * system-level concurrency is unreliable? * does messaging over HTTP even make sense?
  43. 43. * 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!
  44. 44. 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
  45. 45. Semantic Web Web Docs SQL DBs XML Formats Other Protocols = ConverterToRdf
  46. 46. BehaviourRDF Model HTTP Client HTTP Server Comms Bus (The Web) Other Data
  47. 47. Semantic Web Web Docs SQL DBs XML Formats Other Protocols = ConverterFromRdf
  48. 48. Model Resources Representations HTTP Processes
  49. 49. One Web!
  50. 50. http://talis.com Semantic Web Application Platform
  51. 51. Thank you! These slides online : http://dannyayers.com/sfsw2007/slides

×