7. What’s In It for Site Owners Improved, more refined search results
8. What’s In It for Users Deeper, more specific search Steve Smith Steve Smith
9. What’s In It for Users Mapping events to calendars and address books
10. What’s In It for Users Highlight items with your browser, e.g. songs
11. What’s In It for Users A Social Network Between Sites
12. What’s In It for Users Automatically merge from different sites
13.
14. A Semantic Web Standard Must… 1. Express information flexibly. 2. Have content items in different places easily to relate to each other. 3. Use vocabularies for making assertions about things, but these vocabularies must be able to be mixed together.
19. Use Common Vocabularies This allows existing applications to make use of your information, without needing to be modified by developers to recognize your own URIs.
20. RDF Vocabulary Example Here’s a snippet from the Friend of a Friend (foaf) vocabulary: <rdf:Property rdf:about="http://xmlns.com/foaf/0.1/ firstName " vs:term_status="testing" rdfs:label="firstName" rdfs:comment="The first name of a person."> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/> <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> <rdfs:isDefinedBy rdf:resource="http://xmlns.com/foaf/0.1/"/> </rdf:Property> <rdf:Property rdf:about="http://xmlns.com/foaf/0.1/ givenname " vs:term_status="testing" rdfs:label="Given name" rdfs:comment="The given name of some person."> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/> <rdfs:isDefinedBy rdf:resource="http://xmlns.com/foaf/0.1/"/> </rdf:Property> <rdf:Property rdf:about="http://xmlns.com/foaf/0.1/ surname " vs:term_status="testing" rdfs:label="Surname" rdfs:comment="The surname of some person."> <rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/> <rdfs:domain rdf:resource="http://xmlns.com/foaf/0.1/Person"/> <rdfs:range rdf:resource="http://www.w3.org/2000/01/rdf-schema#Literal"/> <rdfs:isDefinedBy rdf:resource="http://xmlns.com/foaf/0.1/"/> </rdf:Property>
21. RDF Vocabulary Example … but you don’t need to know the vocabulary innards. Just use markup shorthand, e.g.: foaf:firstName
22. List of Popular Vocabularies dc : http://purl.org/dc/elements/1.1/ foaf : http://xmlns.com/foaf/0.1/ dcterms : http://purl.org/dc/terms/ dcmitype : http://purl.org/dc/dcmitype/ sioc : http://rdfs.org/sioc/ns# skos : http://www.w3.org/2008/05/skos# doap : http://usefulinc.com/ns/doap#
23. XHTML Markup Example <div> <h2>Much Ado About Nothing</h2> <h3>William Shakespeare</h3> ... </div>
24. XHTML Markup Example <div xmlns:dc="http://purl.org/dc/elements/1.1/" > <h2 property="dc:title" >Much Ado About Nothing</h2> <h3 property="dc:creator" >William Shakespeare</h3> ... </div>
25. XHTML Markup Example <div> <p> John Doe </p> <p> Email: <a href="mailto:j@ex.com">j@ex.com</a> </p> <p> Phone: <a href="tel:+888-555-1111">888-555-1111</a> </p> </div>
26. XHTML Markup Example <div typeof="foaf:Person" xmlns:foaf="http://xmlns.com/foaf/0.1/" > <p property="foaf:name" > John Doe </p> <p> Email: <a rel="foaf:mbox" href="mailto:j@ex.com">j@ex.com</a> </p> <p> Phone: <a rel="foaf:phone" href="tel:+888-555-1111">888-555-1111</a> </p> </div>
32. So We Know How to Produce Semantic Content. How Do We Consume It?
33. SPARQL A query language for RDF modeled roughly after SQL. @prefix bill: <http://bill.s.info/index.html#> @prefix ex: <http://example.org/> bill:my_office ex:contains bill:my_computer . bill:my_office ex:contains bill:my_phone . For example, assume the following:
34. SPARQL A SPARQL query then might look like this: @prefix bill: <http://bill.s.info/index.html#> @prefix ex: <http://example.org/> SELECT ?what WHERE { bill:my_office ex:contains ?what . }
35. SPARQL And the search results would be the following: ?what ----------------- bill:my_computer bill:my_phone
41. RDF External Vocabulary Importer Allows you to import external RDF vocabularies into your site
42.
43.
44.
45.
46.
47.
48.
49. “ (This) is too great an opportunity for us to pass up on. By adding semantic technology to Drupal core, I think we can make a notable contribution to the future of the web.” Thank You! -- Dries Buytaert