Slideshow transcript
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 9: Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 RDF/XML <?xml version=\"1.0\" encoding=\"utf-8\"?> <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=\"http://rosettaproject.org/archive/gic\"> <lingual:hasPrimaryName>Gail</lingual:hasPrimaryName> <dc:title>Gail</dc:title> <lingual:hasLanguageCode> <lingual:LanguageCode rdf:about=\"http://www.language-archives.org/OLAC/1.0/ LanguageCodes.xsd#x-sil-gic\"> <lingual:hasAuthority> <lingual:Authority rdf:about=\"http://ethnologue.com/15/\"> <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
Slide 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 \"Dimli\" . Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 10
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 17: Enabling the Semantic Web with RDF - Calvin Hendryx-Parker 06.19.2007 Example External RDF Usage • Data \"mash-up\" • Piggy Bank • Timelines • Maps • Calendar • Graph View Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 17
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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
Slide 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=\"http://purl.org/dc/elements/1.1/\" about=\"http://www.example.com/books/wikinomics\"> <span property=\"dc:title\">Wikinomics</span> <span property=\"dc:author\">Don Tapscott</span> <span property=\"dc:date\">2006-10-01</span> </div> Silicon Valley • Midwest Six Feet Up, Inc. • http://www.sixfeetup.com 31
Slide 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




Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 4 (more)