SlideShare a Scribd company logo
1 of 49
The Semantic Web and Drupal Bill Shaouy [email_address] An Introduction
The Static Web
The Interactive Web
The Semantic Web
What Is the  Semantic Web? a technology that allows computers to perform browsing, searching, and authoring for us
Definition of “Semantic”
What’s In It for Site Owners Improved, more refined search results
What’s In It for Users Deeper, more specific search Steve Smith Steve Smith
What’s In It for Users Mapping events to calendars and address books
What’s In It for Users Highlight items with your browser, e.g. songs
What’s In It for Users A Social Network Between Sites
What’s In It for Users Automatically merge from different sites
“ The Web can reach its full potential only if it becomes a place where data can be shared and processed by automated tools as well as by people.”   ,[object Object],[object Object]
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.
RDF vs. Microformats The Drupal community is gravitating toward RDF
RDF ,[object Object],[object Object],[object Object]
RDFa ,[object Object],[object Object],[object Object]
RDF Vocabulary ,[object Object],[object Object],[object Object]
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.
RDF Vocabulary Example Here’s a snippet from the Friend of a Friend (foaf) vocabulary: <rdf:Property rdf:about=&quot;http://xmlns.com/foaf/0.1/ firstName &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;firstName&quot; rdfs:comment=&quot;The first name of a person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:domain rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/> <rdfs:range rdf:resource=&quot;http://www.w3.org/2000/01/rdf-schema#Literal&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </rdf:Property> <rdf:Property rdf:about=&quot;http://xmlns.com/foaf/0.1/ givenname &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;Given name&quot; rdfs:comment=&quot;The given name of some person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </rdf:Property> <rdf:Property rdf:about=&quot;http://xmlns.com/foaf/0.1/ surname &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;Surname&quot; rdfs:comment=&quot;The surname of some person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:domain rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/> <rdfs:range rdf:resource=&quot;http://www.w3.org/2000/01/rdf-schema#Literal&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </rdf:Property>
RDF Vocabulary Example …  but you don’t need to know the vocabulary innards. Just use markup shorthand, e.g.: foaf:firstName
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#
XHTML Markup Example <div> <h2>Much Ado About Nothing</h2> <h3>William Shakespeare</h3> ... </div>
XHTML Markup Example <div  xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot; > <h2  property=&quot;dc:title&quot; >Much Ado About Nothing</h2> <h3  property=&quot;dc:creator&quot; >William Shakespeare</h3> ... </div>
XHTML Markup Example <div> <p> John Doe </p> <p> Email: <a href=&quot;mailto:j@ex.com&quot;>j@ex.com</a> </p> <p> Phone: <a href=&quot;tel:+888-555-1111&quot;>888-555-1111</a> </p> </div>
XHTML Markup Example <div  typeof=&quot;foaf:Person&quot; xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot; > <p  property=&quot;foaf:name&quot; > John Doe </p> <p> Email: <a  rel=&quot;foaf:mbox&quot;  href=&quot;mailto:j@ex.com&quot;>j@ex.com</a> </p> <p> Phone: <a  rel=&quot;foaf:phone&quot;  href=&quot;tel:+888-555-1111&quot;>888-555-1111</a> </p> </div>
XHTML Markup Example <div> <ul> <li> <a href=&quot;http://example.com/dan&quot;>Dan</a> </li> <li> <a href=&quot;http://example.com/meg&quot;>Meg</a> </li> <li> <a href=&quot;http://example.com/ray&quot;>Ray</a> </li> </ul> </div>
XHTML Markup Example <div  xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot; about=&quot;#me&quot; rel=&quot;foaf:knows&quot; > <ul> <li  typeof=&quot;foaf:Person&quot; > <a  property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot;  href=&quot;http://example.com/dan&quot;>Dan</a> </li> <li  typeof=&quot;foaf:Person&quot; > <a  property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot;  href=&quot;http://example.com/meg&quot;>Meg</a> </li> <li  typeof=&quot;foaf:Person&quot; > <a  property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot;  href=&quot;http://example.com/ray&quot;>Ray</a> </li> </ul> </div>
Triples in RDF Facts can be expressed as a subject-predicate-object triple
RDF N3 Notation  Example: @prefix dc: <http://purl.org/dc/elements/1.1/> . <urn:isbn:B00005U7WO>  dc:title  &quot;The Future of Ideas&quot; vocabulary subject object predicate
RDF N3 Notation @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix geo: <http://www.w3.org/geo/wgs84_pos#> . @prefix edu: <http://www.example.org/> . <http://www.princeton.edu> geo:lat &quot;40.35&quot; ; geo:long &quot;-74.66&quot; . <http://www.cs.princeton.edu> dc:title &quot;Department of Computer Science&quot; . <http://www.princeton.edu> edu:hasDept <http://www.cs.princeton.edu> . Another example:
So We Know How to Produce Semantic Content. How Do We Consume It?
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:
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 . }
SPARQL And the search results would be the following: ?what ----------------- bill:my_computer bill:my_phone
When is the Semantic Web Usable? Now! But…
The  Two-To-Tango Problem Semantic content consumers need semantic content producers!
Enter Drupal
Module: RDF Enables the use of RDF metadata.
Module: RDF CCK Allows you to map RDF to CCK fields
RDF External Vocabulary Importer Allows you to import external RDF vocabularies into your site
Module: Open Calais ,[object Object],[object Object],[object Object]
Open Calais Information ,[object Object],[object Object]
Other Semantic Web Modules ,[object Object],[object Object],[object Object]
RDF in Drupal 7 ,[object Object],[object Object]
RDF in Drupal 7 ,[object Object],[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object],[object Object],Resources
[object Object],[object Object],[object Object],Resources
“ (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

More Related Content

What's hot

Searching techniques
Searching techniquesSearching techniques
Searching techniques
PCTE
 
The Internet
The InternetThe Internet
The Internet
mscuttle
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
hdpraj
 
Sourcing / Recruiting /Searching on Google and Live
Sourcing / Recruiting /Searching on Google and LiveSourcing / Recruiting /Searching on Google and Live
Sourcing / Recruiting /Searching on Google and Live
Rithesh Nair
 
Academic Skills 4
Academic Skills 4Academic Skills 4
Academic Skills 4
Hala Nur
 
Agile Descriptions
Agile DescriptionsAgile Descriptions
Agile Descriptions
Tony Hammond
 

What's hot (19)

The Semantic Web #3 - URI
The Semantic Web #3 - URIThe Semantic Web #3 - URI
The Semantic Web #3 - URI
 
The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)The Semantic Web #5 - RDF (2)
The Semantic Web #5 - RDF (2)
 
Lesson 2 Presentation
Lesson 2 PresentationLesson 2 Presentation
Lesson 2 Presentation
 
Making the Web searchable
Making the Web searchableMaking the Web searchable
Making the Web searchable
 
Google
GoogleGoogle
Google
 
Protocols
ProtocolsProtocols
Protocols
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
Internet Research Presentation
Internet Research PresentationInternet Research Presentation
Internet Research Presentation
 
The Internet
The InternetThe Internet
The Internet
 
Lecture7
Lecture7Lecture7
Lecture7
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
Sourcing / Recruiting /Searching on Google and Live
Sourcing / Recruiting /Searching on Google and LiveSourcing / Recruiting /Searching on Google and Live
Sourcing / Recruiting /Searching on Google and Live
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 
Internet search techniques for K12
Internet search techniques for K12Internet search techniques for K12
Internet search techniques for K12
 
Academic Skills 4
Academic Skills 4Academic Skills 4
Academic Skills 4
 
Agile Descriptions
Agile DescriptionsAgile Descriptions
Agile Descriptions
 
Internet search techniques by zakir hossain
Internet search techniques by zakir hossainInternet search techniques by zakir hossain
Internet search techniques by zakir hossain
 
Semantic web
Semantic webSemantic web
Semantic web
 
Web Topics
Web TopicsWeb Topics
Web Topics
 

Similar to The Semantic Web An Introduction

Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?
Museums Computer Group
 
Search Engines After The Semanatic Web
Search Engines After The Semanatic WebSearch Engines After The Semanatic Web
Search Engines After The Semanatic Web
samar_slideshare
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
Rinke Hoekstra
 

Similar to The Semantic Web An Introduction (20)

Web 3 0
Web 3 0Web 3 0
Web 3 0
 
Semantic Web
Semantic WebSemantic Web
Semantic Web
 
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemasDC-2008 Tutorial 3 - Dublin Core and other metadata schemas
DC-2008 Tutorial 3 - Dublin Core and other metadata schemas
 
The Semantic Web
The Semantic WebThe Semantic Web
The Semantic Web
 
Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?Lee Iverson - How does the web connect content?
Lee Iverson - How does the web connect content?
 
Mashups MAX 360|MAX 2008 Unconference
Mashups MAX 360|MAX 2008 UnconferenceMashups MAX 360|MAX 2008 Unconference
Mashups MAX 360|MAX 2008 Unconference
 
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
W3 C Specification For Interoperability And Accessibility For Ajax, Dhtml, Xm...
 
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
Hacia la Internet del Futuro: Web Semántica y Open Linked Data, Parte 2
 
Search Engines After The Semanatic Web
Search Engines After The Semanatic WebSearch Engines After The Semanatic Web
Search Engines After The Semanatic Web
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 
RDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use itRDFa: introduction, comparison with microdata and microformats and how to use it
RDFa: introduction, comparison with microdata and microformats and how to use it
 
Sweo talk
Sweo talkSweo talk
Sweo talk
 
Web services - REST and SOAP
Web services - REST and SOAPWeb services - REST and SOAP
Web services - REST and SOAP
 
Semantic Web And Coldfusion
Semantic Web And ColdfusionSemantic Web And Coldfusion
Semantic Web And Coldfusion
 
Linked opendata parisemantique.fr - 24062011
Linked opendata   parisemantique.fr - 24062011Linked opendata   parisemantique.fr - 24062011
Linked opendata parisemantique.fr - 24062011
 
Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010Consuming Linked Data SemTech2010
Consuming Linked Data SemTech2010
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
What is hot on the web right now - A W3C perspective
What is hot on the web right now - A W3C perspectiveWhat is hot on the web right now - A W3C perspective
What is hot on the web right now - A W3C perspective
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Semantic Web, Cataloging, & Metadata
Semantic Web, Cataloging, & MetadataSemantic Web, Cataloging, & Metadata
Semantic Web, Cataloging, & Metadata
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

The Semantic Web An Introduction

  • 1. The Semantic Web and Drupal Bill Shaouy [email_address] An Introduction
  • 5. What Is the Semantic Web? a technology that allows computers to perform browsing, searching, and authoring for us
  • 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.
  • 15. RDF vs. Microformats The Drupal community is gravitating toward RDF
  • 16.
  • 17.
  • 18.
  • 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=&quot;http://xmlns.com/foaf/0.1/ firstName &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;firstName&quot; rdfs:comment=&quot;The first name of a person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:domain rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/> <rdfs:range rdf:resource=&quot;http://www.w3.org/2000/01/rdf-schema#Literal&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </rdf:Property> <rdf:Property rdf:about=&quot;http://xmlns.com/foaf/0.1/ givenname &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;Given name&quot; rdfs:comment=&quot;The given name of some person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </rdf:Property> <rdf:Property rdf:about=&quot;http://xmlns.com/foaf/0.1/ surname &quot; vs:term_status=&quot;testing&quot; rdfs:label=&quot;Surname&quot; rdfs:comment=&quot;The surname of some person.&quot;> <rdf:type rdf:resource=&quot;http://www.w3.org/2002/07/owl#DatatypeProperty&quot;/> <rdfs:domain rdf:resource=&quot;http://xmlns.com/foaf/0.1/Person&quot;/> <rdfs:range rdf:resource=&quot;http://www.w3.org/2000/01/rdf-schema#Literal&quot;/> <rdfs:isDefinedBy rdf:resource=&quot;http://xmlns.com/foaf/0.1/&quot;/> </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=&quot;http://purl.org/dc/elements/1.1/&quot; > <h2 property=&quot;dc:title&quot; >Much Ado About Nothing</h2> <h3 property=&quot;dc:creator&quot; >William Shakespeare</h3> ... </div>
  • 25. XHTML Markup Example <div> <p> John Doe </p> <p> Email: <a href=&quot;mailto:j@ex.com&quot;>j@ex.com</a> </p> <p> Phone: <a href=&quot;tel:+888-555-1111&quot;>888-555-1111</a> </p> </div>
  • 26. XHTML Markup Example <div typeof=&quot;foaf:Person&quot; xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot; > <p property=&quot;foaf:name&quot; > John Doe </p> <p> Email: <a rel=&quot;foaf:mbox&quot; href=&quot;mailto:j@ex.com&quot;>j@ex.com</a> </p> <p> Phone: <a rel=&quot;foaf:phone&quot; href=&quot;tel:+888-555-1111&quot;>888-555-1111</a> </p> </div>
  • 27. XHTML Markup Example <div> <ul> <li> <a href=&quot;http://example.com/dan&quot;>Dan</a> </li> <li> <a href=&quot;http://example.com/meg&quot;>Meg</a> </li> <li> <a href=&quot;http://example.com/ray&quot;>Ray</a> </li> </ul> </div>
  • 28. XHTML Markup Example <div xmlns:foaf=&quot;http://xmlns.com/foaf/0.1/&quot; about=&quot;#me&quot; rel=&quot;foaf:knows&quot; > <ul> <li typeof=&quot;foaf:Person&quot; > <a property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot; href=&quot;http://example.com/dan&quot;>Dan</a> </li> <li typeof=&quot;foaf:Person&quot; > <a property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot; href=&quot;http://example.com/meg&quot;>Meg</a> </li> <li typeof=&quot;foaf:Person&quot; > <a property=&quot;foaf:name&quot; rel=&quot;foaf:homepage&quot; href=&quot;http://example.com/ray&quot;>Ray</a> </li> </ul> </div>
  • 29. Triples in RDF Facts can be expressed as a subject-predicate-object triple
  • 30. RDF N3 Notation Example: @prefix dc: <http://purl.org/dc/elements/1.1/> . <urn:isbn:B00005U7WO> dc:title &quot;The Future of Ideas&quot; vocabulary subject object predicate
  • 31. RDF N3 Notation @prefix dc: <http://purl.org/dc/elements/1.1/> . @prefix geo: <http://www.w3.org/geo/wgs84_pos#> . @prefix edu: <http://www.example.org/> . <http://www.princeton.edu> geo:lat &quot;40.35&quot; ; geo:long &quot;-74.66&quot; . <http://www.cs.princeton.edu> dc:title &quot;Department of Computer Science&quot; . <http://www.princeton.edu> edu:hasDept <http://www.cs.princeton.edu> . Another example:
  • 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
  • 36. When is the Semantic Web Usable? Now! But…
  • 37. The Two-To-Tango Problem Semantic content consumers need semantic content producers!
  • 39. Module: RDF Enables the use of RDF metadata.
  • 40. Module: RDF CCK Allows you to map RDF to CCK fields
  • 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