SlideShare ist ein Scribd-Unternehmen logo
1 von 86
Downloaden Sie, um offline zu lesen
Semantic Web fundamentals
- information linking and layering in practice
Dan Brickley,
danbri@danbri.org
(Vrije Universiteit Amsterdam)
(or: what RDF might do for Drupal)
OVERVIEW
- Where I’m coming from
- Layered & linked information
- What’s out there now: data, apps, ecosystem
- Semantic Web standards - acronym attack:
- RDF/S, OWL, SPARQL, SKOS, RDFa
- POWDER, GRDDL, RDB2RDF...
- What’s in it for Drupal & its users?
- Web History & Linking Open Data
RDFa?
• “I don’t know what it is, but Dries likes it”
• a set of attributes for adding typed links
and properties to document markup
• a bit like microformats, but with different
strengths & weaknesses
• a way of putting data into Web pages
Semantic Web & RDF
(De-fragmenting the Web of data?)
danbri@danbri.org
• Accidental standards-nerd
• Making things in the Web since ’94
• Found metadata community & W3C
through trying to make better Web sites
• W3C staff ‘99-’05, edited RDFS, co-chaired
RDFCore work; SKOS, POWDER; FOAF...
• TV stuff at Joost & nowVU University
Amsterdam, see www.NoTube.tv
LAYERED
INFORMATION
Calendar Layers
Pixel Layers
Map Layers
http://data-gov.tw.rpi.edu/demo/exhibit/earthquake.html
Layers of data?
Can we also “layer” the kind of information
we find in ordinary Web pages & databases?
How do we select, compose, compare layers?
How do we figure out when two data sources
are talking about the same thing?
How can we model, create, publish, consume,
and query general-purpose layered data?
What links the layers?
• when we don’t have time & space indexes...
LINKED
INFORMATION
• Good old-fashioned HTML hyperlinks
• Data files that form a Web (Linked Data)
• Two documents mentioning same thing
• Two identifiers referring to the same thing
• Typed links between things (including docs)
WEB HISTORY
Where theWeb came from...
Original image credits:Tim Berners-Lee
Aside: RDF Data Model
Image credits:Tim Berners-Lee, Ian Davis
Links!
Layers?
Hmm......
alice.example.com
bob.example.org
school.example.net
http://www.w3.org/DesignIssues/LinkedData.html
“The Semantic Web isn't just about putting data on
the web. It is about making links, so that a person or
machine can explore the web of data.  
With linked data, when you have some of it, you
can find other, related, data.”
“1.
Use URIs as names for things.

 2.
Use HTTP URIs so that people can look up those names.

 3.
When someone looks up a URI, provide useful information, using the standards.

 4.
Include links to other URIs. so that they can discover more things.”
From linked documents to databases & websites...
Aside: the value of linking
Examples
• GMail - labelling messages or conversations
• W3C POWDER - label pages or collections?
• Google Social Graph API - data linking
• Biz/ed Web site - my first webmaster job
WHAT’S OUT THERE?
RDF DATA - lots
From lifescience data and all the BBC’s TV and music
listings to FOAF profiles, agricultural research, views
of bestbuy.com for machines, and an ever growing
collection of taxonomies and thesauri.
Thesauri and taxonomies?
- formal, logical taxonomies - OWL, Web Ontology Language
- library-style thesauri, looser topical concept hierarchies - SKOS
UN-FAO Geo-political Ontology
An RDFS/OWL taxonomy...
hasBorderWith, hasMember, isAdministeredBy,
isInGroup, isPredecessorOf, isSuccessorOf...
... a SKOS/RDF concept scheme
Library of Congress
Subject Headings (LCSH)
“The Library of Congress Authorities and Vocabularies service enables both humans
and machines to programmatically access authority data at the Library of Congress.
This service is influenced by -- and implements -- the Linked Data movement's
approach of exposing and inter-connecting data on the Web via dereferenceable URIs.”
http://id.loc.gov/authorities/
One XHTML/RDFa page per topic,
eg. http://id.loc.gov/authorities/sh95000541
LCSH topics for Paris
More linked data on Paris...
In HTML at http://www.geonames.org/2988507/paris.html
<link rel="alternate" type="application/rdf+xml"
title="RDF Version" href="http://sws.geonames.org/2988507/about.rdf" />
In RDF/XML at http://sws.geonames.org/2988507/about.rdf
<rdf:RDF>
<Feature rdf:about="http://sws.geonames.org/2988507/">
<name>Paris</name>
<alternateName xml:lang="ja">パリ</alternateName>
<featureClass rdf:resource="http://www.geonames.org/ontology#P"/>
<featureCode rdf:resource="http://www.geonames.org/ontology#P.PPLC"/>
<inCountry rdf:resource="http://www.geonames.org/countries/#FR"/>
<population>2138551</population>
<postalCode>75000</postalCode>
<wgs84_pos:lat>48.85341</wgs84_pos:lat>
<wgs84_pos:long>2.3488</wgs84_pos:long
<wikipediaArticle rdf:resource="http://en.wikipedia.org/wiki/Paris"/>
<owl:sameAs rdf:resource="http://dbpedia.org/resource/Paris"/>
In http://dbpedia.org/resource/Paris
populationTotal 2167994, cityMotto ..., coatOfArmsLegend ..., skos:subject
World_Heritage_Sites_in_France, ...
birthplace Alexis_de_Tocqueville, Jean_Genet, Guy_Debord, ..., ....
owl:sameAs http://sws.geonames.org/2988507/
owl:sameAs http://www.freebase.com/view/en/paris
In http://rdf.freebase.com/rdf/en.paris
<fb:olympics.olympic_city_bid rdf:about="http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000008caf949">
<fb:olympics.olympic_city_bid.olympic_games rdf:resource="http://rdf.freebase.com/ns/en.2008_summer_olympics"/>
<fb:olympics.olympic_city_bid.bidding_city rdf:resource="http://rdf.freebase.com/ns/en.beijing"/>
<fb:olympics.olympic_city_bid.bidding_city>
<fb:location.administrative_division rdf:about="http://rdf.freebase.com/ns/en.paris">
<fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.ile_de_la_cite"/>
<fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.eiffel_tower"/>
<fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.champs-elysees"/>
<fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.notre_dame_de_paris"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.ronin_1998"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.breathless"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.amelie"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.charade"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.paris_when_it_sizzles"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.les_amants_du_pont_neuf"/>
<fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.the_dinner_game"/>
BBC Music - Linked Data
Data: In Summary...
More every day.
Increasingly cross-referenced.
All use RDF’s data model and vocabularies.
Some write RDF in RDF/XML, others XHTML/RDFa.
Varying focus, detail, quality, linkage.
Serious Library RDF data in Dublin Core and SKOS.
http://www.flickr.com/photos/timobrien/sets/794898/
FOAF visualization by Tim O’Brien
Data ecosystem?
SEARCH
Yahoo’s BOSS (Build your Own Search Service):
“By combining your unique assets and ideas with
our search technology assets, BOSS is a platform
for the next generation of search innovation, serving
hundreds of millions of users across the Web.”
Google Rich Snippets: RDFa & Microformats
FILES & WORKFLOW
Adobe XMP:
Since 2001, RDF/XML inside TIFF, JPEG, PNG, GIF, PDF, ...
OpenOffice.org & OASIS OpenDocument Format 1.2:
Multi-file archives, with a manifest.rdf and inline RDFa (coming soon...)
OpenOffice.org report 2.5 Million download / week, > 100 million users.
DRUPAL
RDF in Drupal
DC - Dublin Core Metadata Initiative
DC & Education
DC & Museums
DC & Libraries...
SKOS
& the “cold start” taxonomy problem
SKOS in Drupal
“OrganiK extends the Taxonomy XML module by adding SKOS support.
This allows you to import/export taxonomies using SKOS.”
"OrganiK is a partially EU-funded Research project for the benefit of SMEs."
http://www.organik-project.eu/
Load...
see also: http://drupal.org/node/560326
Edit...
Update...
Publish...
Drupal Fields API
• Attach arbitrary properties to anything in
Drupal 7
• RDF does the same for the Web at large
• Natural to bridge these two
Drupal & Taxonomies
• Many existing add-ons, patches, applications
• SKOS (a W3C standard since August :) will
bring dozens of thesauri, glossaries etc.
• News sites can be pre-populated with
externally managed categories and topics
• Using standard identifiers for topics aids
aggregators
Drupal & Data APIs
• SPARQL is to RDF as SQL is to RDBMs
• SPARQL scripting looks very familiar to
anyone working with SQL
• Drupal code can call external SPARQL DBs
• SPARQL queries can include “GRAPH”
clauses which specify chosen data layers...
Drupal RDFa
• the “lowest hanging fruit”
• data need no longer be hidden in the db
• SEO (Yahoo searchmonkey, Google
Snippets), cross-linking and improved
search
• A foundation to build on
Acronym Recap
• RDF is a data model for linked/layered data
• “Links” are made with URIs
• “Layers” represent independent data sources
Creating RDF
• Types of thing (classes) and relationship
(property) are defined using RDFS and OWL
• So there is an RDFS or OWL definition for all
the terms defined by Dublin Core, FOAF etc.
• Basically a simple machine-readable dictionary
Sharing RDF
• RDF/XML is the oldest RDF syntax
• RDFa is new, integrates with XHTML
• GRDDL lets you map from other XML or
microformat notations
• You can also map from SQL, JSON, CSV ...
Querying RDF:
SPARQL
• a language for asking questions
• looks a lot like SQL, but simpler and webby
• comes with xml and json Web service API
• Working Group is working on an update
POWDER
• let’s you say “everything on
mp3.myserver.example.com/ is a CC-SA-
licensed MP3 music file”
• Or that “everything under w3.org/People/
is published by W3C”
• Or that everything on images.playboy.com
is an image that might not be child-suitable
SKOS
• Simple Knowledge Organization Systems
• An RDF-based way of encoding thesauri
• Or other things that are thesaurus-like
• Like site hierarchy, IMAP folders, tags
• bringing lots of library data into the Web
Summary
There’s a growing ecosystem around linked RDF data.
Drupal can expect to manage files containing it,
link to sites carrying it, and be populated with
taxonomies expressed in it.

Weitere ähnliche Inhalte

Was ist angesagt?

Identifying The Benefit of Linked Data
Identifying The Benefit of Linked DataIdentifying The Benefit of Linked Data
Identifying The Benefit of Linked DataRichard Wallis
 
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...Ross Singer
 
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataIFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataLars G. Svensson
 
Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Juan Sequeda
 
RDFa Introductory Course Session 3/4 Why RDFa
RDFa Introductory Course Session 3/4 Why RDFaRDFa Introductory Course Session 3/4 Why RDFa
RDFa Introductory Course Session 3/4 Why RDFaPlatypus
 
Schema.org - An Extending Influence
Schema.org - An Extending InfluenceSchema.org - An Extending Influence
Schema.org - An Extending InfluenceRichard Wallis
 
Web Driven Revolution For Library Data
Web Driven Revolution For Library DataWeb Driven Revolution For Library Data
Web Driven Revolution For Library DataRichard Wallis
 
Contextual Computing: Laying a Global Data Foundation
Contextual Computing: Laying a Global Data FoundationContextual Computing: Laying a Global Data Foundation
Contextual Computing: Laying a Global Data FoundationRichard Wallis
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosEUCLID project
 
Schema.org: Where did that come from!
Schema.org: Where did that come from!Schema.org: Where did that come from!
Schema.org: Where did that come from!Richard Wallis
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Juan Sequeda
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introductionKai Li
 
TPDL2013 tutorial linked data for digital libraries 2013-10-22
TPDL2013 tutorial linked data for digital libraries 2013-10-22TPDL2013 tutorial linked data for digital libraries 2013-10-22
TPDL2013 tutorial linked data for digital libraries 2013-10-22jodischneider
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Hong (Jenny) Jing
 

Was ist angesagt? (20)

Identifying The Benefit of Linked Data
Identifying The Benefit of Linked DataIdentifying The Benefit of Linked Data
Identifying The Benefit of Linked Data
 
Linked Data Tutorial
Linked Data TutorialLinked Data Tutorial
Linked Data Tutorial
 
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
NISO/DCMI Webinar: Schema.org and Linked Data: Complementary Approaches to Pu...
 
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
LITA 2010: The Linked Library Data Cloud: it's time to stop think and start l...
 
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked DataIFLA LIDASIG Open Session 2017: Introduction to Linked Data
IFLA LIDASIG Open Session 2017: Introduction to Linked Data
 
Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011Consuming Linked Data 4/5 Semtech2011
Consuming Linked Data 4/5 Semtech2011
 
RDFa Introductory Course Session 3/4 Why RDFa
RDFa Introductory Course Session 3/4 Why RDFaRDFa Introductory Course Session 3/4 Why RDFa
RDFa Introductory Course Session 3/4 Why RDFa
 
Schema.org - An Extending Influence
Schema.org - An Extending InfluenceSchema.org - An Extending Influence
Schema.org - An Extending Influence
 
Web Driven Revolution For Library Data
Web Driven Revolution For Library DataWeb Driven Revolution For Library Data
Web Driven Revolution For Library Data
 
Contextual Computing: Laying a Global Data Foundation
Contextual Computing: Laying a Global Data FoundationContextual Computing: Laying a Global Data Foundation
Contextual Computing: Laying a Global Data Foundation
 
Usage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application ScenariosUsage of Linked Data: Introduction and Application Scenarios
Usage of Linked Data: Introduction and Application Scenarios
 
Linked Data
Linked DataLinked Data
Linked Data
 
Schema.org: Where did that come from!
Schema.org: Where did that come from!Schema.org: Where did that come from!
Schema.org: Where did that come from!
 
Introduction to Linked Data 1/5
Introduction to Linked Data 1/5Introduction to Linked Data 1/5
Introduction to Linked Data 1/5
 
Library Linked Data and the Future of Bibliographic Control
Library Linked Data and the Future of Bibliographic ControlLibrary Linked Data and the Future of Bibliographic Control
Library Linked Data and the Future of Bibliographic Control
 
RDFa: an introduction
RDFa: an introductionRDFa: an introduction
RDFa: an introduction
 
TPDL2013 tutorial linked data for digital libraries 2013-10-22
TPDL2013 tutorial linked data for digital libraries 2013-10-22TPDL2013 tutorial linked data for digital libraries 2013-10-22
TPDL2013 tutorial linked data for digital libraries 2013-10-22
 
Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)Linked Open Data and Digital Curation (Islandora)
Linked Open Data and Digital Curation (Islandora)
 
Webofdata
WebofdataWebofdata
Webofdata
 
NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...
NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...
NISO/DCMI September 25 Webinar: Implementing Linked Data in Developing Countr...
 

Ähnlich wie Semantic Web fundamentals for Drupal

SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeDan Brickley
 
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 itJose Luis Lopez Pino
 
ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2Martin Hepp
 
GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2guestecacad2
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapubeswcsummerschool
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commonsJesse Wang
 
Linked data HHS 2015
Linked data HHS 2015Linked data HHS 2015
Linked data HHS 2015Cason Snow
 
RDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateRDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateAndy Powell
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked dataLaura Po
 
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationSigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationRichard Cyganiak
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)Dan Brickley
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Serverwebhostingguy
 
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webRDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webgauravkumar87
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic websiteCJ Jenkins
 
Linked Data, Library Users, and the Discovery Tools of the Future
Linked Data, Library Users, and the Discovery Tools of the FutureLinked Data, Library Users, and the Discovery Tools of the Future
Linked Data, Library Users, and the Discovery Tools of the FutureEmily Nimsakont
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic WebRoberto García
 

Ähnlich wie Semantic Web fundamentals for Drupal (20)

SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in PracticeSemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
 
Quick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & MicroformatsQuick Introduction to the Semantic Web, RDFa & Microformats
Quick Introduction to the Semantic Web, RDFa & Microformats
 
Why rdfa
Why rdfaWhy rdfa
Why rdfa
 
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
 
ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2ISWC GoodRelations Tutorial Part 2
ISWC GoodRelations Tutorial Part 2
 
GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2GoodRelations Tutorial Part 2
GoodRelations Tutorial Part 2
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Wed roman tut_open_datapub
Wed roman tut_open_datapubWed roman tut_open_datapub
Wed roman tut_open_datapub
 
The Web of data and web data commons
The Web of data and web data commonsThe Web of data and web data commons
The Web of data and web data commons
 
Linked data HHS 2015
Linked data HHS 2015Linked data HHS 2015
Linked data HHS 2015
 
RDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateRDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an update
 
Introduction to linked data
Introduction to linked dataIntroduction to linked data
Introduction to linked data
 
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integrationSigma EE: Reaping low-hanging fruits in RDF-based data integration
Sigma EE: Reaping low-hanging fruits in RDF-based data integration
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 
Understanding RDF: the Resource Description Framework in Context (1999)
Understanding RDF: the Resource Description Framework in Context  (1999)Understanding RDF: the Resource Description Framework in Context  (1999)
Understanding RDF: the Resource Description Framework in Context (1999)
 
Deploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application ServerDeploying PHP applications using Virtuoso as Application Server
Deploying PHP applications using Virtuoso as Application Server
 
RDF and Drupal - The Semantic web
RDF and Drupal - The Semantic webRDF and Drupal - The Semantic web
RDF and Drupal - The Semantic web
 
Building a semantic website
Building a semantic websiteBuilding a semantic website
Building a semantic website
 
Linked Data, Library Users, and the Discovery Tools of the Future
Linked Data, Library Users, and the Discovery Tools of the FutureLinked Data, Library Users, and the Discovery Tools of the Future
Linked Data, Library Users, and the Discovery Tools of the Future
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 

Mehr von Drupalcon Paris

Mehr von Drupalcon Paris (16)

The State Of Rdf In Drupal 7
The State Of Rdf In Drupal 7The State Of Rdf In Drupal 7
The State Of Rdf In Drupal 7
 
Web Typography Fundamentals
Web Typography FundamentalsWeb Typography Fundamentals
Web Typography Fundamentals
 
Taxonomy Everywhere
Taxonomy EverywhereTaxonomy Everywhere
Taxonomy Everywhere
 
State Of Drupal September 2009
State Of Drupal September 2009State Of Drupal September 2009
State Of Drupal September 2009
 
Sketching
SketchingSketching
Sketching
 
Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3Staging Drupal 8 31 09 1 3
Staging Drupal 8 31 09 1 3
 
Rd Fa In Drupal
Rd Fa In DrupalRd Fa In Drupal
Rd Fa In Drupal
 
Localize Drupal Org
Localize Drupal OrgLocalize Drupal Org
Localize Drupal Org
 
Presentation Edipresse Experience Drupalcon
Presentation Edipresse Experience DrupalconPresentation Edipresse Experience Drupalcon
Presentation Edipresse Experience Drupalcon
 
Praes
PraesPraes
Praes
 
20minutes Quart
20minutes Quart20minutes Quart
20minutes Quart
 
Enterprise Sitemanagement 2
Enterprise Sitemanagement 2Enterprise Sitemanagement 2
Enterprise Sitemanagement 2
 
Field Api Drupalcon Paris
Field Api Drupalcon ParisField Api Drupalcon Paris
Field Api Drupalcon Paris
 
Drupalcon2009 Heuer3
Drupalcon2009 Heuer3Drupalcon2009 Heuer3
Drupalcon2009 Heuer3
 
Building Community
Building CommunityBuilding Community
Building Community
 
How To Contribute To Drupal Drupal - DrupalCon Paris
How To Contribute To Drupal Drupal - DrupalCon ParisHow To Contribute To Drupal Drupal - DrupalCon Paris
How To Contribute To Drupal Drupal - DrupalCon Paris
 

Semantic Web fundamentals for Drupal

  • 1. Semantic Web fundamentals - information linking and layering in practice Dan Brickley, danbri@danbri.org (Vrije Universiteit Amsterdam) (or: what RDF might do for Drupal)
  • 2. OVERVIEW - Where I’m coming from - Layered & linked information - What’s out there now: data, apps, ecosystem - Semantic Web standards - acronym attack: - RDF/S, OWL, SPARQL, SKOS, RDFa - POWDER, GRDDL, RDB2RDF... - What’s in it for Drupal & its users? - Web History & Linking Open Data
  • 3. RDFa? • “I don’t know what it is, but Dries likes it” • a set of attributes for adding typed links and properties to document markup • a bit like microformats, but with different strengths & weaknesses • a way of putting data into Web pages
  • 4. Semantic Web & RDF (De-fragmenting the Web of data?)
  • 5. danbri@danbri.org • Accidental standards-nerd • Making things in the Web since ’94 • Found metadata community & W3C through trying to make better Web sites • W3C staff ‘99-’05, edited RDFS, co-chaired RDFCore work; SKOS, POWDER; FOAF... • TV stuff at Joost & nowVU University Amsterdam, see www.NoTube.tv
  • 6.
  • 9.
  • 10.
  • 11.
  • 14.
  • 15.
  • 16.
  • 17.
  • 19. Layers of data? Can we also “layer” the kind of information we find in ordinary Web pages & databases? How do we select, compose, compare layers? How do we figure out when two data sources are talking about the same thing? How can we model, create, publish, consume, and query general-purpose layered data?
  • 20. What links the layers? • when we don’t have time & space indexes...
  • 21.
  • 22. LINKED INFORMATION • Good old-fashioned HTML hyperlinks • Data files that form a Web (Linked Data) • Two documents mentioning same thing • Two identifiers referring to the same thing • Typed links between things (including docs)
  • 24. Where theWeb came from... Original image credits:Tim Berners-Lee
  • 25.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 37. http://www.w3.org/DesignIssues/LinkedData.html “The Semantic Web isn't just about putting data on the web. It is about making links, so that a person or machine can explore the web of data.   With linked data, when you have some of it, you can find other, related, data.” “1. Use URIs as names for things. 2. Use HTTP URIs so that people can look up those names. 3. When someone looks up a URI, provide useful information, using the standards. 4. Include links to other URIs. so that they can discover more things.” From linked documents to databases & websites...
  • 38. Aside: the value of linking
  • 39. Examples • GMail - labelling messages or conversations • W3C POWDER - label pages or collections? • Google Social Graph API - data linking • Biz/ed Web site - my first webmaster job
  • 41. RDF DATA - lots From lifescience data and all the BBC’s TV and music listings to FOAF profiles, agricultural research, views of bestbuy.com for machines, and an ever growing collection of taxonomies and thesauri. Thesauri and taxonomies? - formal, logical taxonomies - OWL, Web Ontology Language - library-style thesauri, looser topical concept hierarchies - SKOS
  • 42. UN-FAO Geo-political Ontology An RDFS/OWL taxonomy... hasBorderWith, hasMember, isAdministeredBy, isInGroup, isPredecessorOf, isSuccessorOf...
  • 43. ... a SKOS/RDF concept scheme
  • 44. Library of Congress Subject Headings (LCSH) “The Library of Congress Authorities and Vocabularies service enables both humans and machines to programmatically access authority data at the Library of Congress. This service is influenced by -- and implements -- the Linked Data movement's approach of exposing and inter-connecting data on the Web via dereferenceable URIs.” http://id.loc.gov/authorities/ One XHTML/RDFa page per topic, eg. http://id.loc.gov/authorities/sh95000541
  • 46. More linked data on Paris... In HTML at http://www.geonames.org/2988507/paris.html <link rel="alternate" type="application/rdf+xml" title="RDF Version" href="http://sws.geonames.org/2988507/about.rdf" /> In RDF/XML at http://sws.geonames.org/2988507/about.rdf <rdf:RDF> <Feature rdf:about="http://sws.geonames.org/2988507/"> <name>Paris</name> <alternateName xml:lang="ja">パリ</alternateName> <featureClass rdf:resource="http://www.geonames.org/ontology#P"/> <featureCode rdf:resource="http://www.geonames.org/ontology#P.PPLC"/> <inCountry rdf:resource="http://www.geonames.org/countries/#FR"/> <population>2138551</population> <postalCode>75000</postalCode> <wgs84_pos:lat>48.85341</wgs84_pos:lat> <wgs84_pos:long>2.3488</wgs84_pos:long <wikipediaArticle rdf:resource="http://en.wikipedia.org/wiki/Paris"/> <owl:sameAs rdf:resource="http://dbpedia.org/resource/Paris"/>
  • 47. In http://dbpedia.org/resource/Paris populationTotal 2167994, cityMotto ..., coatOfArmsLegend ..., skos:subject World_Heritage_Sites_in_France, ... birthplace Alexis_de_Tocqueville, Jean_Genet, Guy_Debord, ..., .... owl:sameAs http://sws.geonames.org/2988507/ owl:sameAs http://www.freebase.com/view/en/paris In http://rdf.freebase.com/rdf/en.paris <fb:olympics.olympic_city_bid rdf:about="http://rdf.freebase.com/ns/guid.9202a8c04000641f8000000008caf949"> <fb:olympics.olympic_city_bid.olympic_games rdf:resource="http://rdf.freebase.com/ns/en.2008_summer_olympics"/> <fb:olympics.olympic_city_bid.bidding_city rdf:resource="http://rdf.freebase.com/ns/en.beijing"/> <fb:olympics.olympic_city_bid.bidding_city> <fb:location.administrative_division rdf:about="http://rdf.freebase.com/ns/en.paris"> <fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.ile_de_la_cite"/> <fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.eiffel_tower"/> <fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.champs-elysees"/> <fb:travel.travel_destination.tourist_attractions rdf:resource="http://rdf.freebase.com/ns/en.notre_dame_de_paris"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.ronin_1998"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.breathless"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.amelie"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.charade"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.paris_when_it_sizzles"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.les_amants_du_pont_neuf"/> <fb:film.film_location.featured_in_films rdf:resource="http://rdf.freebase.com/ns/en.the_dinner_game"/>
  • 48. BBC Music - Linked Data
  • 49. Data: In Summary... More every day. Increasingly cross-referenced. All use RDF’s data model and vocabularies. Some write RDF in RDF/XML, others XHTML/RDFa. Varying focus, detail, quality, linkage. Serious Library RDF data in Dublin Core and SKOS.
  • 50.
  • 51.
  • 53.
  • 56.
  • 57. Yahoo’s BOSS (Build your Own Search Service): “By combining your unique assets and ideas with our search technology assets, BOSS is a platform for the next generation of search innovation, serving hundreds of millions of users across the Web.”
  • 58. Google Rich Snippets: RDFa & Microformats
  • 59. FILES & WORKFLOW Adobe XMP: Since 2001, RDF/XML inside TIFF, JPEG, PNG, GIF, PDF, ... OpenOffice.org & OASIS OpenDocument Format 1.2: Multi-file archives, with a manifest.rdf and inline RDFa (coming soon...) OpenOffice.org report 2.5 Million download / week, > 100 million users.
  • 60.
  • 63. DC - Dublin Core Metadata Initiative
  • 64.
  • 68.
  • 69. SKOS & the “cold start” taxonomy problem
  • 71. “OrganiK extends the Taxonomy XML module by adding SKOS support. This allows you to import/export taxonomies using SKOS.” "OrganiK is a partially EU-funded Research project for the benefit of SMEs." http://www.organik-project.eu/ Load... see also: http://drupal.org/node/560326
  • 75.
  • 76. Drupal Fields API • Attach arbitrary properties to anything in Drupal 7 • RDF does the same for the Web at large • Natural to bridge these two
  • 77. Drupal & Taxonomies • Many existing add-ons, patches, applications • SKOS (a W3C standard since August :) will bring dozens of thesauri, glossaries etc. • News sites can be pre-populated with externally managed categories and topics • Using standard identifiers for topics aids aggregators
  • 78. Drupal & Data APIs • SPARQL is to RDF as SQL is to RDBMs • SPARQL scripting looks very familiar to anyone working with SQL • Drupal code can call external SPARQL DBs • SPARQL queries can include “GRAPH” clauses which specify chosen data layers...
  • 79. Drupal RDFa • the “lowest hanging fruit” • data need no longer be hidden in the db • SEO (Yahoo searchmonkey, Google Snippets), cross-linking and improved search • A foundation to build on
  • 80. Acronym Recap • RDF is a data model for linked/layered data • “Links” are made with URIs • “Layers” represent independent data sources
  • 81. Creating RDF • Types of thing (classes) and relationship (property) are defined using RDFS and OWL • So there is an RDFS or OWL definition for all the terms defined by Dublin Core, FOAF etc. • Basically a simple machine-readable dictionary
  • 82. Sharing RDF • RDF/XML is the oldest RDF syntax • RDFa is new, integrates with XHTML • GRDDL lets you map from other XML or microformat notations • You can also map from SQL, JSON, CSV ...
  • 83. Querying RDF: SPARQL • a language for asking questions • looks a lot like SQL, but simpler and webby • comes with xml and json Web service API • Working Group is working on an update
  • 84. POWDER • let’s you say “everything on mp3.myserver.example.com/ is a CC-SA- licensed MP3 music file” • Or that “everything under w3.org/People/ is published by W3C” • Or that everything on images.playboy.com is an image that might not be child-suitable
  • 85. SKOS • Simple Knowledge Organization Systems • An RDF-based way of encoding thesauri • Or other things that are thesaurus-like • Like site hierarchy, IMAP folders, tags • bringing lots of library data into the Web
  • 86. Summary There’s a growing ecosystem around linked RDF data. Drupal can expect to manage files containing it, link to sites carrying it, and be populated with taxonomies expressed in it.