Your SlideShare is downloading. ×
0
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

RDF and Drupal - The Semantic web

7,580

Published on

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
7,580
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
58
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Semantic DrupalRDF in Drupal 7 and what it means for the web at large<br />Gaurav Kumar<br />
  • 2. Gaurav Kumar<br /><ul><li>Team Lead at Blisstering Solutions
  • 3. With Drupal for 3 years
  • 4. Lead Architect of m2Serve, a multi-modal Drupal based platform
  • 5. Maintainer of the mailalias module on drupal.org
  • 6. Works with multiple technologies – Mobile, Voice, Web</li></li></ul><li>Explosion<br />of<br />Social networks<br />and collaborative applications<br />
  • 7. Need a way to connect these<br />People can move from one to another and bring their data.<br />People can make sense out of data.<br />
  • 8.
  • 9. “On the Internet, nobody knows you’re a dog”<br />
  • 10. Semantic Web<br />
  • 11. Semantic Web Benefits<br /><ul><li>Programs and sites can exchange information
  • 12. Search engines can display more relevant information in results
  • 13. Data mashers can combine data from different datasets to find new and astounding things</li></li></ul><li>Key Terms<br />Machine understandable<br />RDF<br />Federated Dataset<br />Linked Data<br />SPARQL<br />Global Giant Graph<br />
  • 14. Machine Understandable<br />
  • 15. RDF<br />Resource<br />Description<br />Framework<br />
  • 16. RDF<br />Everything is a resource<br />A resource is a named thing<br />this<br />www.example.com#this<br />example:this<br />CURIE<br />
  • 17. RDF<br />A resource can be a Document<br />A resource can be an organization<br />A resource can be a person<br />foaf:Document<br />foaf:Organization<br />foaf:person<br />foaf:name - Gaurav<br />foaf:mail - gaurav.kumar@blisstering.com<br />foaf:birthday– 25/10/1987<br />
  • 18. RDF<br />and describe how that person is related to other resources<br />swrc:employee<br />foaf:made<br />gaurav:me<br />dplp:this<br />blisstering:this<br />
  • 19. RDF<br />&lt;?xml version=&quot;1.0&quot;?&gt;<br />&lt;rdf:RDFxmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#<br />xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;&gt;<br /> &lt;rdf:Descriptionrdf:about=&quot;http://www.google.com&quot;&gt;<br /> &lt;dc:creator&gt;Larry Page&lt;/dc:creator&gt;<br /> &lt;/rdf:Description&gt;<br />&lt;/rdf:RDF&gt;<br />
  • 20. RDF Triples (N3)<br />vendor1:productX dc:title &quot;Cool-O-Matic&quot; . <br />vendor1:productX retail:price &quot;$50.75&quot; . <br />vendor1:productX vendor1:partno &quot;TTK583&quot; . <br />vendor1:productY dc:title &quot;Fluffertron&quot; . <br />vendor1:productY retail:price &quot;$26.50&quot; . <br />vendor1:productY vendor1:partno &quot;AAL132&quot; .<br />RDF Graphs<br />
  • 21. RDF Vocabularies<br />RDF Schema<br />Web Ontology Language<br />Dublin Core<br />Friend of a Friend<br />Simple Knowledge Organization System<br /> vCard RDF Encoding<br />
  • 22. RDF and RDFa<br />RDFa = RDF in attributes<br />Provides a way to use RDF with HTML<br />
  • 23. RDF and RDFa<br />&lt;div xmlns:dcmi=&quot;http://purl.org/dc/elements/1.1&quot;&gt;<br /> &lt;h1 property=&quot;dcmi:title&quot;&gt;OSI Days&lt;/h1&gt;<br /> &lt;h3 property=&quot;dcmi:creator&quot;&gt;Gaurav Kumar&lt;/h3&gt;<br />
  • 24. Giant Global Graph<br />ONE GIANT DATABASE<br />
  • 25. SPARQL<br />Query the Giant Global Graph using SQL?<br />SPARQL<br />
  • 26. Key Terms<br />Machine understandable<br />RDF<br />Federated Dataset<br />Linked Data<br />SPARQL<br />Global Giant Graph<br />
  • 27. Drupal and RDF – A good match?<br /><ul><li> Both maintain structured data
  • 28. Drupal’s structure is in the Database
  • 29. Drupal’s field names are unique to the website
  • 30. Both maintain structured data in similar ways</li></li></ul><li>RDF in Drupal<br /><ul><li>rdf.php (Dries, 2000)
  • 31. FOAF, vCard (walkah, 2004)
  • 32. Relationship (dman, 2005)
  • 33. Semantic Search (hendler, 2006)
  • 34. RDF (Arto, 2007)
  • 35. OpenCalais (febbraro, 2008)
  • 36. RDF CCK (scor, 2008)</li></li></ul><li>Why RDF ?<br />W3C Standards<br />BBC, New York Times, Reuters, Facebook, Linkedin<br />Google, Yahoo<br />Don’t Repeat Yourself<br />
  • 37. RDF in Drupal 7<br /><ul><li>In Core!!!
  • 38. FOAF, SIOC, SKOC, DC “out of the box”
  • 39. All users have a web ID user/3#me
  • 40. All entities have a unique ID</li></li></ul><li>RDF in Drupal 7 : The Spices<br /><ul><li>Entity Types</li></li></ul><li>RDF in Drupal 7 : The Spices<br /><ul><li>Attributes</li></li></ul><li>Drupal 7 : Default Mappings<br />
  • 41. Use Cases<br />Rich Search Result<br />
  • 42. Use Cases<br />RDF web page : <br />http://openspring.net/blog/2009/05/12/half-way-through-the-rdf-code-sprint-google-announces-support-for-rdfa<br />Inspection : <br />http://inspector.sindice.com/inspect?url=http://openspring.net/blog/2009/05/12/half-way-through-the-rdf-code-sprint-google-announces-support-for-rdfa#GRAPH<br />
  • 43. Web at Large and Drupal<br /><ul><li>Drupal = Pioneer CMS
  • 44. Platform of choice for many use cases
  • 45. Influence the Trends
  • 46. More RDF data on the web</li></ul>The time to adopt RDF is NOW!<br />
  • 47. What’s coming up<br /><ul><li>RDF Mapping User Interface
  • 48. SPARQL Endpoint
  • 49. RDF Proxy</li></li></ul><li>Modify / Create RDF Mappings<br />/**<br />* Implements hook_rdf_namespace();<br />*/<br />functionmyrdfmodule_rdf_namespace()<br />{<br />return array(<br />‘gr’ =&gt; ‘http://purl.org/goodrelations/w1#’<br /> ‘product’ =&gt; ‘http://search.yahoo.com/searchmonkey/product/”<br />http://drupal.org/node/622170<br />
  • 50. Modify / Create RDF Mappings<br />function node_rdf_mapping() {  return array(    array(      &apos;type&apos; =&gt; &apos;node&apos;,      &apos;bundle&apos; =&gt; RDF_DEFAULT_BUNDLE,      &apos;mapping&apos; =&gt; array(        &apos;rdftype&apos; =&gt; array(&apos;sioc:Item&apos;, &apos;foaf:Document&apos;),        &apos;title&apos; =&gt; array(          &apos;predicates&apos; =&gt; array(&apos;dc:title&apos;),        ),...<br />
  • 51. Some Resources<br /><ul><li>http://groups.drupal.org/semantic-web
  • 52. http://semantic-drupal.com/
  • 53. http://www.w3.org/RDF/</li></li></ul><li>Thank you.<br />Contact me:<br /><ul><li>gaurav.kumar@blisstering.com
  • 54. Linkedin.com/in/gauravkumar87</li></ul>We’re hiring!!!<br /><ul><li>Write to info@blisstering.com
  • 55. or come find me at the conference</li>

×