Consuming Linked Data by Machines -

36
Consuming Linked Data by Machines Consuming Linked Data Tutorial World Wide Web Conference 2010 Original Slides from Patrick Sinclair

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 BBC

Transcript of Consuming Linked Data by Machines -

Page 1: Consuming Linked Data by Machines -

Consuming  Linked  Data  by  Machines  

Consuming  Linked  Data  Tutorial  World  Wide  Web  Conference  2010  

Original  Slides  from  Patrick  Sinclair  

Page 2: Consuming Linked Data by Machines -

RDF  

Resource  DescripDon  Framework  

Page 3: Consuming Linked Data by Machines -

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  

Page 4: Consuming Linked Data by Machines -

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  

Page 5: Consuming Linked Data by Machines -

<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  

Page 6: Consuming Linked Data by Machines -

Web  of  Documents   Web  of  Data  

Two  Webs?  

Page 7: Consuming Linked Data by Machines -

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  

Page 8: Consuming Linked Data by Machines -

Content  NegoDaDon  

Page 9: Consuming Linked Data by Machines -
Page 10: Consuming Linked Data by Machines -
Page 11: Consuming Linked Data by Machines -

Dereference  a  URI?  

Page 12: Consuming Linked Data by Machines -
Page 13: Consuming Linked Data by Machines -
Page 14: Consuming Linked Data by Machines -
Page 15: Consuming Linked Data by Machines -
Page 16: Consuming Linked Data by Machines -
Page 17: Consuming Linked Data by Machines -

What’s  with  the  redirecDon?  

Page 18: Consuming Linked Data by Machines -
Page 19: Consuming Linked Data by Machines -
Page 20: Consuming Linked Data by Machines -
Page 21: Consuming Linked Data by Machines -
Page 22: Consuming Linked Data by Machines -
Page 23: Consuming Linked Data by Machines -
Page 24: Consuming Linked Data by Machines -
Page 25: Consuming Linked Data by Machines -
Page 26: Consuming Linked Data by Machines -
Page 27: Consuming Linked Data by Machines -
Page 28: Consuming Linked Data by Machines -
Page 29: Consuming Linked Data by Machines -

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>!

Page 30: Consuming Linked Data by Machines -
Page 31: Consuming Linked Data by Machines -

Let’s  consume  some  RDF!  

rapper  

Page 32: Consuming Linked Data by Machines -
Page 33: Consuming Linked Data by Machines -
Page 34: Consuming Linked Data by Machines -
Page 35: Consuming Linked Data by Machines -

Vocabularies  and  Ontologies  

•  People  •  Social  media  

•  Commerce  

•  Events  •  Radio  and  tv  programmes  

•  Music  

•  Etc..  

Page 36: Consuming Linked Data by Machines -

owl:sameAs