consuming linked data by machines -
DESCRIPTION
These are the Consuming Linked Data by Machines slides that we presented at the Consuming Linked Data tutorial at WWW2010 in Raleigh, NC on April 26, 2010. These slides are originally by Patrick Sinclair from BBCTRANSCRIPT
Consuming Linked Data by Machines
Consuming Linked Data Tutorial World Wide Web Conference 2010
Original Slides from Patrick Sinclair
RDF
Resource DescripDon Framework
RDF
subject – predicate – object Coldplay is the arDst of Viva la Vida
Coldplay is the arDst of Viva la Vida
hJp://dbpedia.org/resource/Coldplay
hJp://dbpedia.org/resource/Viva_la_Vida
hJp://dbpedia.org/ontology/arDst
prefix dbpedia-‐owl: <hJp://dbpedia.org/ontology/> prefix foaf: <hJp://xmlns.com/foaf/0.1/> prefix dbprop: <hJp://dbpedia.org/property/> prefix geo: <hJp://www.w3.org/2003/01/geo/wgs84_pos#>
hJp://dbpedia.org/resource/Coldplay
hJp://dbpedia.org/resource/Viva_la_Vida
hJp://dbpedia.org/resource/London
dbpedia-‐owl:arDst foaf:name
dbprop:origin
geo:long geo:lat
“Coldplay”
51.507778 -‐0.128056
<hJp://dbpedia.org/resource/Coldplay> <hJp://dbpedia.org/ontology/arDst> <hJp://dbpedia.org/resource/Viva_la_Vida> . <hJp://dbpedia.org/resource/Coldplay> <hJp://www.w3.org/1999/02/22-‐rdf-‐syntax-‐ns#type> <hJp://dbpedia.org/ontology/Band> .
<?xml version="1.0" encoding="ub-‐8"?> <rdf:RDF xmlns:rdf="hJp://www.w3.org/1999/02/22-‐rdf-‐syntax-‐ns#">
<dbpedia-‐owl:Band xmlns:dbpedia-‐owl="hJp://dbpedia.org/ontology/" rdf:about="hJp://dbpedia.org/resource/Coldplay"> <dbpedia-‐owl:arDst rdf:resource="hJp://dbpedia.org/resource/Viva_la_Vida"/> </dbpedia-‐owl:Band>
</rdf:RDF>
@prefix rdf: <hJp://www.w3.org/1999/02/22-‐rdf-‐syntax-‐ns#> .
<hJp://dbpedia.org/resource/Coldplay> a <hJp://dbpedia.org/ontology/Band> ; <hJp://dbpedia.org/ontology/arDst> <hJp://dbpedia.org/resource/Viva_la_Vida> .
ntriples
RDF/XML
turtle
Web of Documents Web of Data
Two Webs?
It’s the same Web!
hJp://www.flickr.com/photos/danbri/2415237566/
Web of Documents to be consumed by humans
Web of Data to be consumed by machines
Links all over the place between Documents and Data
Content NegoDaDon
Dereference a URI?
What’s with the redirecDon?
RDFa
<html>!…!!<div xmlns:dc=“http://purl.org/dc/elements/1.1/”>!! !<h2 property=“dc:title”>The trouble with Bob</h2>!! !<h3 property=“dc:creator”>Alice</h3>!! !….!!</div>!
…!</html>!
Let’s consume some RDF!
rapper
Vocabularies and Ontologies
• People • Social media
• Commerce
• Events • Radio and tv programmes
• Music
• Etc..
owl:sameAs