• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Calvin Hendryx Parker, Enabling the Semantic Web with RDF
 

Calvin Hendryx Parker, Enabling the Semantic Web with RDF

on

  • 5,118 views

 

Statistics

Views

Total Views
5,118
Views on SlideShare
5,114
Embed Views
4

Actions

Likes
4
Downloads
121
Comments
0

2 Embeds 4

http://www.slideshare.net 2
http://www.techgig.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Calvin Hendryx Parker, Enabling the Semantic Web with RDF Calvin Hendryx Parker, Enabling the Semantic Web with RDF Presentation Transcript

    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • 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
    • Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 21
    • 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
    • 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
    • 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
    • Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 25
    • 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
    • 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
    • Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 28
    • Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 29
    • 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
    • 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
    • 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