WTF is Semantic Web?
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

WTF is Semantic Web?

on

  • 826 views

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

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.

Statistics

Views

Total Views
826
Views on SlideShare
824
Embed Views
2

Actions

Likes
0
Downloads
4
Comments
0

1 Embed 2

http://paper.li 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

CC Attribution-NonCommercial LicenseCC Attribution-NonCommercial License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

WTF is Semantic Web? Presentation Transcript

  • 1. WTF is Semantic Web?Miles Worthington
  • 2. Lots of new terms• Linked Data• triples• RDF• SPARQL• ontology
  • 3. It’s this guy’s ideaTim Berners-Lee• Director of W3C• Father of the Internet• Fortune teller
  • 4. One possibility... ==
  • 5. More likelyHe drives one of these
  • 6. “I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
  • 7. ?“I’m telling you Marty, in 2011 the Semantic Web will be huuuge!!”
  • 8. To find information on the Web, we use...
  • 9. To find information on the Web, we use...
  • 10. To find information on the Web, we use... and sometimes...
  • 11. is amazing!
  • 12. is amazing! ...at guessing
  • 13. There is a commonproblem we all experience on the Web.
  • 14. Jim’s watching a football match...
  • 15. “...aaand MichaelJackson has justscored his fifthgoal of the day!”
  • 16. What?Five goals?Michael Jackson?Who is this guy?
  • 17. Why did I bother...?
  • 18. It’s not even real football!
  • 19. FAIL
  • 20. Search engines can onlydo so much with the text and tags we feed them.
  • 21. Normal Web is about makinginformation accessible to people. Semantic Web is about making information more accessible to software.
  • 22. (Thank you, Wikipedians)
  • 23. oh well, itll http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)(Thank you, Wikipedians)
  • 24. How?• Give important things identifiers
  • 25. How?• Give important things identifiers
  • 26. How?• Give important things identifiers 407161495 ?
  • 27. How?• Give important things identifiers 407161495 ? footballer_f285n ?
  • 28. How?• Give important things identifiers 407161495 ? footballer_f285n ? michael_jackson_27 ?
  • 29. How?Just use the URIscheme I came upwith years ago!!!
  • 30. How? Just use the URI scheme I came up with years ago!!! “URI”Uniform Resource Identifier
  • 31. How?• Give important things identifiers 407161495 ? footballer_f285n ? michael_jackson_27 ? http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  • 32. URIs and URLsURI: An identifierURL: An identifier that points to a document
  • 33. URIs and URLshttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)  URL  URI
  • 34. URIs and URLshttp://milesworthington.com/Michael_Jackson (page does not exist)  URL  URI
  • 35. URIs and URLsOften the same.But URIs do not always point toactual pages. Sometimes they arejust names.
  • 36. How?• Give important things identifiers
  • 37. How?• Give important things identifiers• Also give identifiers to the relationships between things
  • 38. FAIL Jim
  • 39. FAIL
  • 40. FAIL
  • 41. Traditional Web links http://jimsblog.com/michael_jackson_match.htmlhttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  • 42. Semantic Web links http://jimsblog.com/michael_jackson_match.html foaf:primaryTopichttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  • 43. http://jimsblog.com/michael_jackson_match.html(URI in disguise) foaf:primaryTopic http://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  • 44. http://jimsblog.com/michael_jackson_match.html http://xmlns.com/foaf/0.1/primaryTopichttp://en.wikipedia.org/wiki/Michael_Jackson_(footballer)
  • 45. Jim’s blog post has a the primary topic ofMichael Jackson the football player
  • 46. Jim’s blog post has a the primary topic ofMichael Jackson the football player This is referred to as a “triple”
  • 47. FAIL
  • 48. FAIL
  • 49. MOARFAIL METADATA!!
  • 50. MOARFAIL METADATA!!
  • 51. This is RDFa, a practical wayto semanticize the Web
  • 52. Well, it turns out RDFa isonly the tip of the iceberg
  • 53. Remember when weused <font> tags to style Web pages?
  • 54. Then some smart people suggested we separatestructure and presentation...
  • 55. ...and now we have HTML + CSS
  • 56. Now we have smart people suggesting we separateraw, meaningful content and presentational content
  • 57. Content formatted for software vs.Content formatted for humans
  • 58. Linked DataWe need to treatsoftware the sameway we treathumans.Software hasfeelings too!
  • 59. Linked Data Tim is right. I want to be available to everyone. I support Linked Data!
  • 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. MJ’s DBpedia URIhttp://dbpedia.org/resource/Michael_Jackson
  • 62. http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/page/Michael_Jackson
  • 63. http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/data/Michael_Jackson.xml
  • 64. “Triples”Michael Jackson was born in Gary, Indiana
  • 65. “Triples”http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/ontology/birthPlacehttp://dbpedia.org/resource/Gary%2C_Indiana
  • 66. “Triples” SUBJECT PREDICATE OBJECT
  • 67. “Triples”http://dbpedia.org/resource/Michael_Jackson http://dbpedia.org/ontology/birthDate “1958-08-29”
  • 68. Anyone can decide URIs.You can make your own and still link to others.
  • 69. http://www.imdb.com/name/nm0001391/ http://www.w3.org/2002/07/owl#sameAshttp://dbpedia.org/resource/Michael_Jackson
  • 70. RDF
  • 71. RDF• “Resource Description Framework”• Provides a way to add identifiers (URIs) to content• Comes in many flavors
  • 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. 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. 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. “Do they really expect us to create two versions of our content?”“One HTML and one RDF?”
  • 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. 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. “That’s still a lot of extra time and effort...”
  • 79. Drupal 7 publishes basic RDFa out of the box Wordpress has plugins to publish RDFa
  • 80. “But why is any of this important?”
  • 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. 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. Geek ReasonMore possibilities for semantic search...
  • 84. Geek ReasonGoogle, please tell me,“Which movies did Bruce Willis star in last year?”
  • 85. Geek Reason It will enable developers tobuild tools we can can hardly conceive of right now.
  • 86. The Real Reason SEO
  • 87. The Real Reason SEO But not just the $$$ part!
  • 88. The Real Reason SEOWith so much content on the Web, there’s a real need to improve our findability
  • 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. Thanks!