RDF and Drupal - The Semantic web
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
8,190
On Slideshare
6,076
From Embeds
2,114
Number of Embeds
10

Actions

Shares
Downloads
57
Comments
0
Likes
2

Embeds 2,114

http://localhost 1,201
http://www.blisstering.com 428
http://blisstering.m2serve.info 216
http://blisstering.com 150
http://www.bliss-dev.com 90
http://bliss-dev.com 18
http://165.225.132.60 6
http://8.17.80.202 2
http://www.linkedin.com 2
https://www.linkedin.com 1

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
    Gaurav Kumar
  • 2. Gaurav Kumar
    • 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
  • Explosion
    of
    Social networks
    and collaborative applications
  • 7. Need a way to connect these
    People can move from one to another and bring their data.
    People can make sense out of data.
  • 8.
  • 9. “On the Internet, nobody knows you’re a dog”
  • 10. Semantic Web
  • 11. Semantic Web Benefits
    • 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
  • Key Terms
    Machine understandable
    RDF
    Federated Dataset
    Linked Data
    SPARQL
    Global Giant Graph
  • 14. Machine Understandable
  • 15. RDF
    Resource
    Description
    Framework
  • 16. RDF
    Everything is a resource
    A resource is a named thing
    this
    www.example.com#this
    example:this
    CURIE
  • 17. RDF
    A resource can be a Document
    A resource can be an organization
    A resource can be a person
    foaf:Document
    foaf:Organization
    foaf:person
    foaf:name - Gaurav
    foaf:mail - gaurav.kumar@blisstering.com
    foaf:birthday– 25/10/1987
  • 18. RDF
    and describe how that person is related to other resources
    swrc:employee
    foaf:made
    gaurav:me
    dplp:this
    blisstering:this
  • 19. RDF
    <?xml version="1.0"?>
    <rdf:RDFxmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <rdf:Descriptionrdf:about="http://www.google.com">
    <dc:creator>Larry Page</dc:creator>
    </rdf:Description>
    </rdf:RDF>
  • 20. RDF Triples (N3)
    vendor1:productX dc:title "Cool-O-Matic" .
    vendor1:productX retail:price "$50.75" .
    vendor1:productX vendor1:partno "TTK583" .
    vendor1:productY dc:title "Fluffertron" .
    vendor1:productY retail:price "$26.50" .
    vendor1:productY vendor1:partno "AAL132" .
    RDF Graphs
  • 21. RDF Vocabularies
    RDF Schema
    Web Ontology Language
    Dublin Core
    Friend of a Friend
    Simple Knowledge Organization System
     vCard RDF Encoding
  • 22. RDF and RDFa
    RDFa = RDF in attributes
    Provides a way to use RDF with HTML
  • 23. RDF and RDFa
    <div xmlns:dcmi="http://purl.org/dc/elements/1.1">
    <h1 property="dcmi:title">OSI Days</h1>
    <h3 property="dcmi:creator">Gaurav Kumar</h3>
  • 24. Giant Global Graph
    ONE GIANT DATABASE
  • 25. SPARQL
    Query the Giant Global Graph using SQL?
    SPARQL
  • 26. Key Terms
    Machine understandable
    RDF
    Federated Dataset
    Linked Data
    SPARQL
    Global Giant Graph
  • 27. Drupal and RDF – A good match?
    • 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
  • RDF in Drupal
    • 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)
  • Why RDF ?
    W3C Standards
    BBC, New York Times, Reuters, Facebook, Linkedin
    Google, Yahoo
    Don’t Repeat Yourself
  • 37. RDF in Drupal 7
    • 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
  • RDF in Drupal 7 : The Spices
    • Entity Types
  • RDF in Drupal 7 : The Spices
    • Attributes
  • Drupal 7 : Default Mappings
  • 41. Use Cases
    Rich Search Result
  • 42. Use Cases
    RDF web page :
    http://openspring.net/blog/2009/05/12/half-way-through-the-rdf-code-sprint-google-announces-support-for-rdfa
    Inspection :
    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
  • 43. Web at Large and Drupal
    • Drupal = Pioneer CMS
    • 44. Platform of choice for many use cases
    • 45. Influence the Trends
    • 46. More RDF data on the web
    The time to adopt RDF is NOW!
  • 47. What’s coming up
    • RDF Mapping User Interface
    • 48. SPARQL Endpoint
    • 49. RDF Proxy
  • Modify / Create RDF Mappings
    /**
    * Implements hook_rdf_namespace();
    */
    functionmyrdfmodule_rdf_namespace()
    {
    return array(
    ‘gr’ => ‘http://purl.org/goodrelations/w1#’
    ‘product’ => ‘http://search.yahoo.com/searchmonkey/product/”
    http://drupal.org/node/622170
  • 50. Modify / Create RDF Mappings
    function node_rdf_mapping() {  return array(    array(      'type' => 'node',      'bundle' => RDF_DEFAULT_BUNDLE,      'mapping' => array(        'rdftype' => array('sioc:Item', 'foaf:Document'),        'title' => array(          'predicates' => array('dc:title'),        ),...
  • 51. Some Resources
    • http://groups.drupal.org/semantic-web
    • 52. http://semantic-drupal.com/
    • 53. http://www.w3.org/RDF/
  • Thank you.
    Contact me:
    • gaurav.kumar@blisstering.com
    • 54. Linkedin.com/in/gauravkumar87
    We’re hiring!!!
    • Write to info@blisstering.com
    • 55. or come find me at the conference