0
WTF is Semantic Web?Miles Worthington
Lots of new terms• Linked Data• triples• RDF• SPARQL• ontology
It’s this guy’s ideaTim Berners-Lee•   Director of W3C•   Father of the Internet•   Fortune teller
One possibility...       ==
More likelyHe drives one of these
“I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
?“I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
To find information on  the Web, we use...
To find information on  the Web, we use...
To find information on  the Web, we use...      and sometimes...
is amazing!
is amazing!        ...at guessing
There is a commonproblem we all experience      on the Web.
Jim’s watching a football match...
“...aaand MichaelJackson has justscored his fifthgoal of the day!”
What?Five goals?Michael Jackson?Who is this guy?
Why did I bother...?
It’s not even real football!
FAIL
Search engines can onlydo so much with the text and tags we feed them.
Normal Web is about makinginformation accessible to people. Semantic Web is about making  information more accessible     ...
(Thank you, Wikipedians)
oh well, itll  http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)(Thank you, Wikipedians)
How?• Give important things identifiers
How?• Give important things identifiers
How?• Give important things identifiers             407161495 ?
How?• Give important things identifiers             407161495 ?              footballer_f285n ?
How?• Give important things identifiers             407161495 ?              footballer_f285n ?              michael_jackso...
How?Just use the URIscheme I came upwith years ago!!!
How?   Just use the URI   scheme I came up   with years ago!!!      “URI”Uniform Resource Identifier
How?• Give important things identifiers                  407161495 ?                  footballer_f285n ?                  m...
URIs and URLsURI: An identifierURL: An identifier that points to a document
URIs and URLshttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)      URL      URI
URIs and URLshttp://milesworthington.com/Michael_Jackson              (page does not exist)   URL   URI
URIs and URLsOften the same.But URIs do not always point toactual pages. Sometimes they arejust names.
How?• Give important things identifiers
How?• Give important things identifiers• Also give identifiers to the  relationships between things
FAIL       Jim
FAIL
FAIL
Traditional Web links    http://jimsblog.com/michael_jackson_match.htmlhttp://en.wikipedia.org/wiki/Michael_Jackson_(footb...
Semantic Web links    http://jimsblog.com/michael_jackson_match.html                   foaf:primaryTopichttp://en.wikipedi...
http://jimsblog.com/michael_jackson_match.html(URI in disguise)       foaf:primaryTopic     http://en.wikipedia.org/wiki/M...
http://jimsblog.com/michael_jackson_match.html         http://xmlns.com/foaf/0.1/primaryTopichttp://en.wikipedia.org/wiki/...
Jim’s blog post    has a the primary topic ofMichael Jackson the football player
Jim’s blog post    has a the primary topic ofMichael Jackson the football player                      This is referred to ...
FAIL
FAIL
MOARFAIL METADATA!!
MOARFAIL METADATA!!
This is RDFa,    a practical wayto semanticize the Web
Well, it turns out RDFa isonly the tip of the iceberg
Remember when weused <font> tags to style Web pages?
Then some smart people   suggested we separatestructure and presentation...
...and now we have    HTML + CSS
Now we have smart people  suggesting we separateraw, meaningful content and  presentational content
Content formatted for software             vs.Content formatted for humans
Linked DataWe need to treatsoftware the sameway we treathumans.Software hasfeelings too!
Linked Data       Tim is right.       I want to be available       to everyone.       I support Linked Data!
DBpedia.org•   The Semantic Web version of Wikipedia•   Contains all the same content from Wikipedia•   Everything is give...
MJ’s DBpedia URIhttp://dbpedia.org/resource/Michael_Jackson
http://dbpedia.org/resource/Michael_Jackson   http://dbpedia.org/page/Michael_Jackson
http://dbpedia.org/resource/Michael_Jackson   http://dbpedia.org/data/Michael_Jackson.xml
“Triples”Michael Jackson was born in Gary, Indiana
“Triples”http://dbpedia.org/resource/Michael_Jackson   http://dbpedia.org/ontology/birthPlacehttp://dbpedia.org/resource/G...
“Triples”  SUBJECT PREDICATE  OBJECT
“Triples”http://dbpedia.org/resource/Michael_Jackson   http://dbpedia.org/ontology/birthDate              “1958-08-29”
Anyone can decide URIs.You can make your own and     still link to others.
http://www.imdb.com/name/nm0001391/ http://www.w3.org/2002/07/owl#sameAshttp://dbpedia.org/resource/Michael_Jackson
RDF
RDF• “Resource Description Framework”• Provides a way to add identifiers (URIs)  to content• Comes in many flavors
RDFTurtle format@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .@prefix dc: <http://purl.org/dc/elements/1.1/> ....
RDFN-triples format<http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ↵  <htt...
RDFRDF/XML<rdf:RDF xmlns="http://xmlns.com/foaf/0.1/"      xmlns:dc="http://purl.org/dc/terms/"      xmlns:rdf="http://www...
“Do they really expect us to create two versions of our         content?”“One HTML and one RDF?”
The Compromise: RDFa•   RDF that lives inside an HTML document•   The “a” stands for attributes•   Uses attributes on HTML...
The Compromise: RDFaRDFa<p xmlns:dc="http://purl.org/dc/elements/1.1/" about="http://www.example.com/books/wikinomics"> In...
“That’s still a lot of extra   time and effort...”
Drupal 7 publishes basic RDFa       out of the box  Wordpress has plugins to      publish RDFa
“But why is any of this important?”
Geek ReasonWhen most of the Web is published withRDF/RDFa it becomes a giant database    that we can efficiently query.    ...
Geek Reason“Find all <type:blog_post> that are <type:book_review> for <My_Favorite_Book> published between <date:one_month...
Geek ReasonMore possibilities for semantic search...
Geek ReasonGoogle, please tell me,“Which movies did Bruce Willis star in last year?”
Geek Reason It will enable developers tobuild tools we can can hardly    conceive of right now.
The Real Reason  SEO
The Real Reason  SEO But not just the $$$ part!
The Real Reason     SEOWith so much content on the Web,       there’s a real need to      improve our findability
Lots of new terms•   Linked Data: connecting data through identifiers•   triples: <MJ> <born in> <Indiana>•   RDF: A way to...
Thanks!
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
WTF is Semantic Web?
Upcoming SlideShare
Loading in...5
×

WTF is Semantic Web?

729

Published on

Presentation given at Barcamp Chiang Mai 4 on the basics of Semantic Web. A simple introduction with examples, aimed for those with a little Web development experience.

Raises questions about the true identity of Tim Berners-Lee.

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
729
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
10
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "WTF is Semantic Web?"

  1. 1. WTF is Semantic Web?Miles Worthington
  2. 2. Lots of new terms• Linked Data• triples• RDF• SPARQL• ontology
  3. 3. It’s this guy’s ideaTim Berners-Lee• Director of W3C• Father of the Internet• Fortune teller
  4. 4. One possibility... ==
  5. 5. More likelyHe drives one of these
  6. 6. “I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
  7. 7. ?“I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
  8. 8. To find information on the Web, we use...
  9. 9. To find information on the Web, we use...
  10. 10. To find information on the Web, we use... and sometimes...
  11. 11. is amazing!
  12. 12. is amazing! ...at guessing
  13. 13. There is a commonproblem we all experience on the Web.
  14. 14. Jim’s watching a football match...
  15. 15. “...aaand MichaelJackson has justscored his fifthgoal of the day!”
  16. 16. What?Five goals?Michael Jackson?Who is this guy?
  17. 17. Why did I bother...?
  18. 18. It’s not even real football!
  19. 19. FAIL
  20. 20. Search engines can onlydo so much with the text and tags we feed them.
  21. 21. Normal Web is about makinginformation accessible to people. Semantic Web is about making information more accessible to software.
  22. 22. (Thank you, Wikipedians)
  23. 23. oh well, itll http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)(Thank you, Wikipedians)
  24. 24. How?• Give important things identifiers
  25. 25. How?• Give important things identifiers
  26. 26. How?• Give important things identifiers 407161495 ?
  27. 27. How?• Give important things identifiers 407161495 ? footballer_f285n ?
  28. 28. How?• Give important things identifiers 407161495 ? footballer_f285n ? michael_jackson_27 ?
  29. 29. How?Just use the URIscheme I came upwith years ago!!!
  30. 30. How? Just use the URI scheme I came up with years ago!!! “URI”Uniform Resource Identifier
  31. 31. How?• Give important things identifiers 407161495 ? footballer_f285n ? michael_jackson_27 ? http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  32. 32. URIs and URLsURI: An identifierURL: An identifier that points to a document
  33. 33. URIs and URLshttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)  URL  URI
  34. 34. URIs and URLshttp://milesworthington.com/Michael_Jackson (page does not exist)  URL  URI
  35. 35. URIs and URLsOften the same.But URIs do not always point toactual pages. Sometimes they arejust names.
  36. 36. How?• Give important things identifiers
  37. 37. How?• Give important things identifiers• Also give identifiers to the relationships between things
  38. 38. FAIL Jim
  39. 39. FAIL
  40. 40. FAIL
  41. 41. Traditional Web links http://jimsblog.com/michael_jackson_match.htmlhttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  42. 42. Semantic Web links http://jimsblog.com/michael_jackson_match.html foaf:primaryTopichttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  43. 43. http://jimsblog.com/michael_jackson_match.html(URI in disguise) foaf:primaryTopic http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  44. 44. http://jimsblog.com/michael_jackson_match.html http://xmlns.com/foaf/0.1/primaryTopichttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  45. 45. Jim’s blog post has a the primary topic ofMichael Jackson the football player
  46. 46. Jim’s blog post has a the primary topic ofMichael Jackson the football player This is referred to as a “triple”
  47. 47. FAIL
  48. 48. FAIL
  49. 49. MOARFAIL METADATA!!
  50. 50. MOARFAIL METADATA!!
  51. 51. This is RDFa, a practical wayto semanticize the Web
  52. 52. Well, it turns out RDFa isonly the tip of the iceberg
  53. 53. Remember when weused <font> tags to style Web pages?
  54. 54. Then some smart people suggested we separatestructure and presentation...
  55. 55. ...and now we have HTML + CSS
  56. 56. Now we have smart people suggesting we separateraw, meaningful content and presentational content
  57. 57. Content formatted for software vs.Content formatted for humans
  58. 58. Linked DataWe need to treatsoftware the sameway we treathumans.Software hasfeelings too!
  59. 59. Linked Data Tim is right. I want to be available to everyone. I support Linked Data!
  60. 60. DBpedia.org• The Semantic Web version of Wikipedia• Contains all the same content from Wikipedia• Everything is given a URI• Relationships between things are also expressed with a URI• Uses Tim’s Linked Data principles
  61. 61. MJ’s DBpedia URIhttp://dbpedia.org/resource/Michael_Jackson
  62. 62. http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/page/Michael_Jackson
  63. 63. http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/data/Michael_Jackson.xml
  64. 64. “Triples”Michael Jackson was born in Gary, Indiana
  65. 65. “Triples”http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/ontology/birthPlacehttp://dbpedia.org/resource/Gary%2C_Indiana
  66. 66. “Triples” SUBJECT PREDICATE OBJECT
  67. 67. “Triples”http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/ontology/birthDate “1958-08-29”
  68. 68. Anyone can decide URIs.You can make your own and still link to others.
  69. 69. http://www.imdb.com/name/nm0001391/ http://www.w3.org/2002/07/owl#sameAshttp://dbpedia.org/resource/Michael_Jackson
  70. 70. RDF
  71. 71. RDF• “Resource Description Framework”• Provides a way to add identifiers (URIs) to content• Comes in many flavors
  72. 72. RDFTurtle format@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .@prefix dc: <http://purl.org/dc/elements/1.1/> .@prefix ex: <http://example.org/stuff/1.0/> .<http://www.w3.org/TR/rdf-syntax-grammar> dc:title "RDF/XML Syntax Specification (Revised)" ; ex:editor [ ex:fullname "Dave Beckett"; ex:homePage <http://purl.org/net/dajobe/> ].
  73. 73. RDFN-triples format<http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> ↵ <http://xmlns.com/foaf/0.1/Document> .<http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://purl.org/dc/terms/title> "N-Triples"@en-US .<http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://xmlns.com/foaf/0.1/maker> _:art .<http://www.w3.org/2001/sw/RDFCore/ntriples/> <http://xmlns.com/foaf/0.1/maker> _:dave ._:art <http://www.w3.org/1999/02/22-rdf-syntax-ns#> <http://xmlns.com/foaf/0.1/Person> ._:art <http://xmlns.com/foaf/0.1/name> "Art Barstow"._:dave <http://www.w3.org/1999/02/22-rdf-syntax-ns#> <http://xmlns.com/foaf/0.1/Person> ._:dave <http://xmlns.com/foaf/0.1/name> "Dave Beckett".
  74. 74. RDFRDF/XML<rdf:RDF xmlns="http://xmlns.com/foaf/0.1/" xmlns:dc="http://purl.org/dc/terms/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <Document rdf:about="http://www.w3.org/2001/sw/RDFCore/ntriples/"> <dc:title xml:lang="en-US">N-Triples</dc:title> <maker> <Person rdf:nodeID="art"> <name>Art Barstow</name> </Person> </maker> <maker> <Person rdf:nodeID="dave"> <name>Dave Beckett</name> </Person> </maker> </Document></rdf:RDF>
  75. 75. “Do they really expect us to create two versions of our content?”“One HTML and one RDF?”
  76. 76. The Compromise: RDFa• RDF that lives inside an HTML document• The “a” stands for attributes• Uses attributes on HTML tags to hold identifiers
  77. 77. The Compromise: RDFaRDFa<p xmlns:dc="http://purl.org/dc/elements/1.1/" about="http://www.example.com/books/wikinomics"> In his latest book <cite property="dc:title">Wikinomics</cite>, <span property="dc:creator">Don Tapscott</span> explains deep changes in technology, demographics and business. The book is due to be published in <span property="dc:date" content="2006-10-01">October 2006</span>.</p>
  78. 78. “That’s still a lot of extra time and effort...”
  79. 79. Drupal 7 publishes basic RDFa out of the box Wordpress has plugins to publish RDFa
  80. 80. “But why is any of this important?”
  81. 81. Geek ReasonWhen most of the Web is published withRDF/RDFa it becomes a giant database that we can efficiently query. ... a unified API for the Web
  82. 82. Geek Reason“Find all <type:blog_post> that are <type:book_review> for <My_Favorite_Book> published between <date:one_month_ago> and <date:now>”
  83. 83. Geek ReasonMore possibilities for semantic search...
  84. 84. Geek ReasonGoogle, please tell me,“Which movies did Bruce Willis star in last year?”
  85. 85. Geek Reason It will enable developers tobuild tools we can can hardly conceive of right now.
  86. 86. The Real Reason SEO
  87. 87. The Real Reason SEO But not just the $$$ part!
  88. 88. The Real Reason SEOWith so much content on the Web, there’s a real need to improve our findability
  89. 89. Lots of new terms• Linked Data: connecting data through identifiers• triples: <MJ> <born in> <Indiana>• RDF: A way to describe content using identifiers• SPARQL: A query language for triples• ontology: A big vocabulary that defines URIs for classifying things and relationships
  90. 90. Thanks!
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×