SlideShare une entreprise Scribd logo
1  sur  86
Télécharger pour lire hors ligne
Semantic Web fundamentals
    - information linking and layering in practice

    (or: what RDF might do for Drupal)




                  Dan Brickley,
                danbri@danbri.org
          (Vrije Universiteit Amsterdam)
OVERVIEW
- Where I’m coming from
- Layered & linked information
 - Web History & Linking Open Data
- 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?
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 & now VU University
  Amsterdam, see www.NoTube.tv
SemWeb Fundamentals - Info Linking & Layering in Practice
LAYERED
INFORMATION
Calendar Layers
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
Pixel Layers
Map Layers
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
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...
SemWeb Fundamentals - Info Linking & Layering in Practice
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 the Web came from...




Original image credits: Tim Berners-Lee
SemWeb Fundamentals - Info Linking & Layering in Practice
Aside: RDF Data Model
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
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


                          hasBorderWith, hasMember, isAdministeredBy,
                          isInGroup, isPredecessorOf, isSuccessorOf...




An RDFS/OWL taxonomy...
... 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.”



         One XHTML/RDFa page per topic,
    eg. http://id.loc.gov/authorities/sh95000541


                                          http://id.loc.gov/authorities/
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.
SemWeb Fundamentals - Info Linking & Layering in Practice
SemWeb Fundamentals - Info Linking & Layering in Practice
FOAF visualization by Tim O’Brien
http://www.flickr.com/photos/timobrien/sets/794898/
SemWeb Fundamentals - Info Linking & Layering in Practice
Data ecosystem?
SEARCH
SemWeb Fundamentals - Info Linking & Layering in Practice
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.
SemWeb Fundamentals - Info Linking & Layering in Practice
DRUPAL
RDF in Drupal
DC - Dublin Core Metadata Initiative
SemWeb Fundamentals - Info Linking & Layering in Practice
DC & Education
DC & Museums
DC & Libraries...
SemWeb Fundamentals - Info Linking & Layering in Practice
SKOS
& the “cold start” taxonomy problem
SKOS in Drupal
“OrganiK extends the Taxonomy XML module by adding SKOS support.                                           Load...
  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/


                                                         see also: http://drupal.org/node/560326
Edit...
Update...
Publish...
SemWeb Fundamentals - Info Linking & Layering in Practice
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.

Contenu connexe

Tendances

Enterprise knowledge graphs
Enterprise knowledge graphsEnterprise knowledge graphs
Enterprise knowledge graphsSören Auer
 
Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1ErhardRahm
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic WebMarin Dimitrov
 
The Nature of Information
The Nature of InformationThe Nature of Information
The Nature of InformationAdrian Paschke
 
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataIntroduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataSören Auer
 
Using linguistic analysis to translate
Using linguistic analysis to translateUsing linguistic analysis to translate
Using linguistic analysis to translateIJwest
 
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageBuild Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageOntotext
 
What can linked data do for digital libraries
What can linked data do for digital librariesWhat can linked data do for digital libraries
What can linked data do for digital librariesSören Auer
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanPeter Berger
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudDhaval Thakker
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client LevelConstantin Stan
 
Towards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphTowards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphSören Auer
 
Automatically converting tabular data to
Automatically converting tabular data toAutomatically converting tabular data to
Automatically converting tabular data toIJwest
 
Knowledge Graph Introduction
Knowledge Graph IntroductionKnowledge Graph Introduction
Knowledge Graph IntroductionSören Auer
 
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information RetrievalKeystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information RetrievalMauro Dragoni
 
Linking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsLinking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsChristoph Lange
 

Tendances (18)

Enterprise knowledge graphs
Enterprise knowledge graphsEnterprise knowledge graphs
Enterprise knowledge graphs
 
Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1Scalable and privacy-preserving data integration - part 1
Scalable and privacy-preserving data integration - part 1
 
Introduction to the Semantic Web
Introduction to the Semantic WebIntroduction to the Semantic Web
Introduction to the Semantic Web
 
The Nature of Information
The Nature of InformationThe Nature of Information
The Nature of Information
 
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked DataIntroduction to the Data Web, DBpedia and the Life-cycle of Linked Data
Introduction to the Data Web, DBpedia and the Life-cycle of Linked Data
 
Using linguistic analysis to translate
Using linguistic analysis to translateUsing linguistic analysis to translate
Using linguistic analysis to translate
 
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural HeritageBuild Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
 
What can linked data do for digital libraries
What can linked data do for digital librariesWhat can linked data do for digital libraries
What can linked data do for digital libraries
 
Semantics in Financial Services -David Newman
Semantics in Financial Services -David NewmanSemantics in Financial Services -David Newman
Semantics in Financial Services -David Newman
 
Semantic Web Nature
Semantic Web NatureSemantic Web Nature
Semantic Web Nature
 
Information Extraction and Linked Data Cloud
Information Extraction and Linked Data CloudInformation Extraction and Linked Data Cloud
Information Extraction and Linked Data Cloud
 
Website Performance at Client Level
Website Performance at Client LevelWebsite Performance at Client Level
Website Performance at Client Level
 
Towards an Open Research Knowledge Graph
Towards an Open Research Knowledge GraphTowards an Open Research Knowledge Graph
Towards an Open Research Knowledge Graph
 
Automatically converting tabular data to
Automatically converting tabular data toAutomatically converting tabular data to
Automatically converting tabular data to
 
Cognitive data
Cognitive dataCognitive data
Cognitive data
 
Knowledge Graph Introduction
Knowledge Graph IntroductionKnowledge Graph Introduction
Knowledge Graph Introduction
 
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information RetrievalKeystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
Keystone Summer School 2015: Mauro Dragoni, Ontologies For Information Retrieval
 
Linking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process DescriptionsLinking Big Data to Rich Process Descriptions
Linking Big Data to Rich Process Descriptions
 

Similaire à SemWeb Fundamentals - Info Linking & Layering in Practice

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
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)net2-project
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic WebIvan Herman
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic WebRoberto García
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards GapDan Brickley
 
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
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Jane Stevenson
 
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
 
RDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaRDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaPlatypus
 
From the Semantic Web to the Web of Data: ten years of linking up
From the Semantic Web to the Web of Data: ten years of linking upFrom the Semantic Web to the Web of Data: ten years of linking up
From the Semantic Web to the Web of Data: ten years of linking upDavide Palmisano
 
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Cory Lampert
 
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
 
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaRDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaPlatypus
 
RDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateRDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateAndy Powell
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsRinke Hoekstra
 

Similaire à SemWeb Fundamentals - Info Linking & Layering in Practice (20)

Danbri Drupalcon Export
Danbri Drupalcon ExportDanbri Drupalcon Export
Danbri Drupalcon Export
 
Webofdata
WebofdataWebofdata
Webofdata
 
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...
 
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
SPARQL1.1 Tutorial, given in UChile by Axel Polleres (DERI)
 
State of the Semantic Web
State of the Semantic WebState of the Semantic Web
State of the Semantic Web
 
Exploring the Semantic Web
Exploring the Semantic WebExploring the Semantic Web
Exploring the Semantic Web
 
Understanding the Standards Gap
Understanding the Standards GapUnderstanding the Standards Gap
Understanding the Standards Gap
 
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
 
Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011 Linked Data and Locah, UKSG2011
Linked Data and Locah, UKSG2011
 
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
 
When RDFa?
When RDFa?When RDFa?
When RDFa?
 
RDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFaRDFa Introductory Course Session 4/4 When RDFa
RDFa Introductory Course Session 4/4 When RDFa
 
From the Semantic Web to the Web of Data: ten years of linking up
From the Semantic Web to the Web of Data: ten years of linking upFrom the Semantic Web to the Web of Data: ten years of linking up
From the Semantic Web to the Web of Data: ten years of linking up
 
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
Linked data demystified:Practical efforts to transform CONTENTDM metadata int...
 
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
 
RDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFaRDFa Introductory Course Session 2/4 How RDFa
RDFa Introductory Course Session 2/4 How RDFa
 
How RDFa works
How RDFa worksHow RDFa works
How RDFa works
 
RDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an updateRDTF Metadata Guidelines: an update
RDTF Metadata Guidelines: an update
 
SemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n BoltsSemanticWeb Nuts 'n Bolts
SemanticWeb Nuts 'n Bolts
 

Plus de Dan Brickley

"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 Keynote"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 KeynoteDan Brickley
 
Data Viz Barcamp, Amsterdam
Data Viz Barcamp, AmsterdamData Viz Barcamp, Amsterdam
Data Viz Barcamp, AmsterdamDan Brickley
 
APIs and URLs for Social TV
APIs and URLs for Social TVAPIs and URLs for Social TV
APIs and URLs for Social TVDan Brickley
 
Intertwingularity, Semantic Web and linked Geo data
Intertwingularity, Semantic Web and linked Geo dataIntertwingularity, Semantic Web and linked Geo data
Intertwingularity, Semantic Web and linked Geo dataDan Brickley
 
Harmony project - JISC Synthesis meeting 2001
Harmony project - JISC Synthesis meeting 2001Harmony project - JISC Synthesis meeting 2001
Harmony project - JISC Synthesis meeting 2001Dan Brickley
 
XMPP, TV and the Semantic Web
XMPP, TV and the Semantic WebXMPP, TV and the Semantic Web
XMPP, TV and the Semantic WebDan Brickley
 
Describing Everything - Open Web standards and classification
Describing Everything - Open Web standards and classificationDescribing Everything - Open Web standards and classification
Describing Everything - Open Web standards and classificationDan Brickley
 
NoTube User Model slides
NoTube User Model slidesNoTube User Model slides
NoTube User Model slidesDan Brickley
 
Dagstuhl FOAF history talk
Dagstuhl FOAF history talkDagstuhl FOAF history talk
Dagstuhl FOAF history talkDan Brickley
 
NoTube: Investigating Lonclass
NoTube: Investigating LonclassNoTube: Investigating Lonclass
NoTube: Investigating LonclassDan Brickley
 
Introducing Joost Widgets (2007 talk)
Introducing Joost Widgets (2007 talk)Introducing Joost Widgets (2007 talk)
Introducing Joost Widgets (2007 talk)Dan Brickley
 
BBC SemWeb panel: Where does OpenID fit in?
BBC SemWeb panel: Where does OpenID fit in?BBC SemWeb panel: Where does OpenID fit in?
BBC SemWeb panel: Where does OpenID fit in?Dan Brickley
 
How To Make Friends And Inference People
How To Make Friends And Inference PeopleHow To Make Friends And Inference People
How To Make Friends And Inference PeopleDan Brickley
 
One Big Happy Family
One Big Happy FamilyOne Big Happy Family
One Big Happy FamilyDan Brickley
 
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
 

Plus de Dan Brickley (20)

"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 Keynote"What is left to do?", Dublin Core 2012 Keynote
"What is left to do?", Dublin Core 2012 Keynote
 
Data Viz Barcamp, Amsterdam
Data Viz Barcamp, AmsterdamData Viz Barcamp, Amsterdam
Data Viz Barcamp, Amsterdam
 
APIs and URLs for Social TV
APIs and URLs for Social TVAPIs and URLs for Social TV
APIs and URLs for Social TV
 
Intertwingularity, Semantic Web and linked Geo data
Intertwingularity, Semantic Web and linked Geo dataIntertwingularity, Semantic Web and linked Geo data
Intertwingularity, Semantic Web and linked Geo data
 
Harmony project - JISC Synthesis meeting 2001
Harmony project - JISC Synthesis meeting 2001Harmony project - JISC Synthesis meeting 2001
Harmony project - JISC Synthesis meeting 2001
 
AR Dev Amsterdam
AR Dev AmsterdamAR Dev Amsterdam
AR Dev Amsterdam
 
Acronym Soup
Acronym SoupAcronym Soup
Acronym Soup
 
XMPP, TV and the Semantic Web
XMPP, TV and the Semantic WebXMPP, TV and the Semantic Web
XMPP, TV and the Semantic Web
 
Describing Everything - Open Web standards and classification
Describing Everything - Open Web standards and classificationDescribing Everything - Open Web standards and classification
Describing Everything - Open Web standards and classification
 
NoTube User Model slides
NoTube User Model slidesNoTube User Model slides
NoTube User Model slides
 
Dagstuhl FOAF history talk
Dagstuhl FOAF history talkDagstuhl FOAF history talk
Dagstuhl FOAF history talk
 
NoTube: Investigating Lonclass
NoTube: Investigating LonclassNoTube: Investigating Lonclass
NoTube: Investigating Lonclass
 
Introducing Joost Widgets (2007 talk)
Introducing Joost Widgets (2007 talk)Introducing Joost Widgets (2007 talk)
Introducing Joost Widgets (2007 talk)
 
When?
When?When?
When?
 
BBC foaf talk
BBC foaf talkBBC foaf talk
BBC foaf talk
 
BBC SemWeb panel: Where does OpenID fit in?
BBC SemWeb panel: Where does OpenID fit in?BBC SemWeb panel: Where does OpenID fit in?
BBC SemWeb panel: Where does OpenID fit in?
 
How To Make Friends And Inference People
How To Make Friends And Inference PeopleHow To Make Friends And Inference People
How To Make Friends And Inference People
 
One Big Happy Family
One Big Happy FamilyOne Big Happy Family
One Big Happy Family
 
Foaf Openid Milan
Foaf Openid MilanFoaf Openid Milan
Foaf Openid Milan
 
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)
 

SemWeb Fundamentals - Info Linking & Layering in Practice

  • 1. Semantic Web fundamentals - information linking and layering in practice (or: what RDF might do for Drupal) Dan Brickley, danbri@danbri.org (Vrije Universiteit Amsterdam)
  • 2. OVERVIEW - Where I’m coming from - Layered & linked information - Web History & Linking Open Data - 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?
  • 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 & now VU University Amsterdam, see www.NoTube.tv
  • 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...
  • 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 the Web came from... Original image credits: Tim Berners-Lee
  • 33. Image credits: Tim Berners-Lee, Ian Davis
  • 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 hasBorderWith, hasMember, isAdministeredBy, isInGroup, isPredecessorOf, isSuccessorOf... An RDFS/OWL taxonomy...
  • 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.” One XHTML/RDFa page per topic, eg. http://id.loc.gov/authorities/sh95000541 http://id.loc.gov/authorities/
  • 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.
  • 52. FOAF visualization by Tim O’Brien http://www.flickr.com/photos/timobrien/sets/794898/
  • 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.
  • 63. DC - Dublin Core Metadata Initiative
  • 69. SKOS & the “cold start” taxonomy problem
  • 71. “OrganiK extends the Taxonomy XML module by adding SKOS support. Load... 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/ see also: http://drupal.org/node/560326
  • 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.

Notes de l'éditeur

  1. I&amp;#x2019;m going to try to do 3 things in 5 minutes: - a brief introduction to the Friend of the Friend project; - a tribute to the graphic design skills of TimBL, - and tell a story about what we&amp;#x2019;re really doing in the wider Semantic Web project, about why the Web is only just getting started.
  2. You&amp;#x2019;ll all have seen Tim&amp;#x2019;s &amp;#x201C;vague but exciting&amp;#x201D; 1989 memo. Here it is again. The memo opens with an evocating image showing a Web of &amp;#x201C;nodes&amp;#x201D;, but there&amp;#x2019;s a hidden mystery. But are these documents that are interlinked, or things in the real world described by documents, or ... somehow both? It shows people and groups (Tim, CERN), ... but hey, how do they get into the Web? The Semantic Web project is an effort to unravel this mystery and pursue the original vision of a Web that better reflects our complex reality. FOAF began as an experiment to explore these issues.
  3. You&amp;#x2019;ll all have seen Tim&amp;#x2019;s &amp;#x201C;vague but exciting&amp;#x201D; 1989 memo. Here it is again. The memo opens with an evocating image showing a Web of &amp;#x201C;nodes&amp;#x201D;, but there&amp;#x2019;s a hidden mystery. But are these documents that are interlinked, or things in the real world described by documents, or ... somehow both? It shows people and groups (Tim, CERN), ... but hey, how do they get into the Web? The Semantic Web project is an effort to unravel this mystery and pursue the original vision of a Web that better reflects our complex reality. FOAF began as an experiment to explore these issues.
  4. The World Wide Web is the most successful linked information system that has ever existed. Hidden away in the original 1989 CERN memo proposing the Web are several ideas that are only now reaching fruition via W3C&apos;s RDF technology stack. This talk will show in practice how the full 1989 vision for the Web is being realised using RDF-based technologies (RDF/RDFa, SKOS, SPARQL, FOAF, OWL), and how the two concepts of information linking , and information layering are all you really need to understand a powerful suite of tools and standards for Web-based data sharing. You&apos;ll learn how the work of librarians, open source advocates, computer scientists and open data activists find common ground in the Semantic Web project, and how the growing Web of linked open data can fit into everyday technology projects.