Calvin Hendryx Parker, Enabling the Semantic Web with RDF

  • 3,327 views
Uploaded on

 

More in: Technology , Education
  • 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
3,327
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
121
Comments
0
Likes
4

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. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Enabling the Semantic Web with RDF Web Content 2007 Chicago Calvin Hendryx-Parker Six Feet Up, Inc. Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 1
  • 2. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Background • Doing RDF for nearly 4 years • Stumbled upon it via Mozilla • Later used to power sites like the Rosetta Project • Still doing work using RDF and Mozilla Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 2
  • 3. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Semantic Web • Understandable by software agents • Find • Share • Integrate • Core enabling technologies are RDF and OWL Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 3
  • 4. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Introduction to RDF • Resource Description Framework • Language designed to support the Semantic Web • Neutral Format • Directed Graph of Resources Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 4
  • 5. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 RDF Basics • Three is the magic number • Triple made up of a 3-tuple • Subject, Predicate, Object • Each triple is a unique fact where the resource is identified by a URI Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 5
  • 6. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Triples in a Graph http://rosettaproject.org/archive/Indo-European/Indo-Iranian/Iranian/Western/Northwestern/Zaza-Gorani lingual:isMotherOf http://rosettaproject.org/archive/ZZZ lin itle gu :T lingual:hasLanguageCode al c d :is O fL an gu Dimli oi dT yp e lingual:Language http://www.language-archives.org/OLAC/1.0/LanguageCodes.xsd#x-sil-ZZZ Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 6
  • 7. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 URI usage in RDF • URL is a specific instance of a URI scheme based on a known protocol e.g. http or ftp • URI is only an identifier and doesn't need to resolve a location on the web • URI examples Using a web address http://www.sixfeetup.com/hosting Using a UUID version 5 of the same URL urn:uuid:9cedb10a-84c4-5ddb-96c5-c3215fa57c21 Arbitrary URI urn:sixfeetup:hosting Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 7
  • 8. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Serialization Formats • RDF/XML • N3 • N-Triples • Turtle Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 8
  • 9. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 RDF/XML <?xml version=quot;1.0quot; encoding=quot;utf-8quot;?> <rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#' xmlns:lingual='http://rosettaproject.org/ns/lingual/1.0/' xmlns:dc='http://purl.org/dc/elements/1.1/' > <lingual:Languoid rdf:about=quot;http://rosettaproject.org/archive/gicquot;> <lingual:hasPrimaryName>Gail</lingual:hasPrimaryName> <dc:title>Gail</dc:title> <lingual:hasLanguageCode> <lingual:LanguageCode rdf:about=quot;http://www.language-archives.org/OLAC/1.0/ LanguageCodes.xsd#x-sil-gicquot;> <lingual:hasAuthority> <lingual:Authority rdf:about=quot;http://ethnologue.com/15/quot;> <lingual:AuthorityIdentifier>Ethnologue15_Languages</lingual:AuthorityIdentifier> </lingual:Authority> </lingual:hasAuthority> <lingual:hasCodeValue>gic</lingual:hasCodeValue> <dc:title>Gail</dc:title> </lingual:LanguageCode> </lingual:hasLanguageCode> </lingual:Languoid> </rdf:RDF> Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 9
  • 10. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Notation3 <http://rosettaproject.org/archive/ZZZ> lingual:isOfLanguiodType lingual:Language . <http://rosettaproject.org/archive/ZZZ> dc:title quot;Dimliquot; . Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 10
  • 11. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 RDF Schemas and Web Ontology Language (OWL) • Provides Vocabulary • Extended Object Class Vocabularies • www.schemaweb.info Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 11
  • 12. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Examples of Ontology • Beer -- http://www.purl.org/net/ontology/beer.owl An ontology that models types of beer and brewers/brands. • Quaffing -- http://purl.org/net/schemas/quaffing/ An extension of the FOAF ontology to describe who you have drank with or who you owe a beer Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 12
  • 13. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 How RDF Handles Difficult to Describe Data • Additional ontology can be applied via namespaces • Single resource visible in multiple contexts • Allows for containment based on RDF Schema type • Reification Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 13
  • 14. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Reification Example Justifies Book C Article B Title: Latin Title: Why French and Why Spanish is a es Jus Italian are ifi t Just daughter of Latin ifi e related to Latin s M r Mother ot he he ot r M French Spanish Italian Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 14
  • 15. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 RDF Applications • FOAF -- http://rdfweb.org/foaf/ • RSS 1.0 -- http://web.resource.org/rss/1.0/ • Creative Commons -- http://creativecommons.org • DMOZ -- http://rdf.dmoz.org/ Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 15
  • 16. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Example Internal RDF Usage • Provides more flexible queries • Describes data that can't easily be described using a RDBMS • Easily extendable via namespaces • Can be used to integrate multiple internal systems • Feed other services such as OAI-PMH Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 16
  • 17. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Example External RDF Usage • Data quot;mash-upquot; • Piggy Bank • Timelines • Maps • Calendar • Graph View Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 17
  • 18. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Example External RDF Usage • Easily allow data from 3rd party systems to mix in with the data via namespaces • Syndication • Provide standardized sets of metadata about resources • Dublin Core • Creative Commons Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 18
  • 19. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Use within a Content Management System • Rich interface to metadata • Can be specialized to a specific domain • Interoperability with other RDF based systems • Expose RDF query as a service Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 19
  • 20. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Rosetta Project CMS • An archive of all documented human languages • Specialized Linguistic Resources and Documents • Content and Structure is of a Contested Nature • Geographic Boundaries Change Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 20
  • 21. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 21
  • 22. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Many Structures, One Set of Data • Flat storage of languages in ZODB • Apply many alternate structures via RDF A E D Root B F C Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 22
  • 23. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Many Structures, One Set of Data • Flat storage of languages in ZODB • Apply many alternate structures via RDF A B Root C D E F Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 23
  • 24. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Many Structures, One Set of Data • Flat storage of languages in ZODB • Apply many alternate structures via RDF A C Root D E F B Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 24
  • 25. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 25
  • 26. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Available tools • RDFlib • Multiple back-ends • ZODB • MySQL • Sleepycat • SQLite Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 26
  • 27. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Available tools • Includes SPARQL query implementation • Includes an Event Graph for doing operations like indexing text • GraphPath • XPath style queries against RDF graphs • Mozilla XUL • Many others available in other languages such as Ruby, Java, PHP and Perl Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 27
  • 28. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 28
  • 29. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 29
  • 30. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Example SPARQL Query • Selecting all languages that have documents of a specific type SELECT ?lang WHERE { ?doc <http://rosettaproject.org/lingbib#rosettaType> datatype . ?doc <http://rosettaproject.org/lingbib#refersToLanguoid> ?lang } Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 30
  • 31. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Other RDF Extensions • RDFa • Generalized attributes in XHTML • Currently in working draft <div xmlns:dc=quot;http://purl.org/dc/elements/1.1/quot; about=quot;http://www.example.com/books/wikinomicsquot;> <span property=quot;dc:titlequot;>Wikinomics</span> <span property=quot;dc:authorquot;>Don Tapscott</span> <span property=quot;dc:datequot;>2006-10-01</span> </div> Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 31
  • 32. Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Questions? Contact Info calvin@sixfeetup.com Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 32