introduction to linked data -

60
Introduc)on to Linked Data Consuming Linked Data Tutorial World Wide Web Conference 2010

Upload: juan-sequeda

Post on 25-Jan-2015

2.071 views

Category:

Technology


5 download

DESCRIPTION

These are the Introduction to Linked Data slides that we presented at the Consuming Linked Data tutorial at WWW2010 in Raleigh, NC on April 26, 2010

TRANSCRIPT

Page 1: Introduction to Linked Data -

Introduc)on  to  Linked  Data  

Consuming  Linked  Data  Tutorial  World  Wide  Web  Conference  2010  

Page 2: Introduction to Linked Data -

Do  you  SEARCH  or  do  you  FIND?  

Page 3: Introduction to Linked Data -

Search  for  

Football  Players  who  went  to  the  University  of  Texas  at  Aus)n,  played  for  the  Dallas  Cowboys  as  Cornerback  

Page 4: Introduction to Linked Data -
Page 5: Introduction to Linked Data -
Page 6: Introduction to Linked Data -
Page 7: Introduction to Linked Data -

Why  can’t  we  just  FIND  it…  

Page 8: Introduction to Linked Data -
Page 9: Introduction to Linked Data -
Page 10: Introduction to Linked Data -

Guess  how  I  FOUND  out?  

Page 11: Introduction to Linked Data -

I’ll  tell  you  how  I  did  NOT  find  it  

Page 12: Introduction to Linked Data -

Current  Web  =  internet  +  links  +  docs  

Page 13: Introduction to Linked Data -

So  what  is  the  problem?  

•  The  Web  has  problems  – People  aren’t  interested  in  documents  •  They  are  interested  in  things    (that  are  in  documents)  

– People  can  parse  documents  and  extract  meaning  • Web  pages  are  wriXen  in  HTML  •  HTML  describes  visualiza)on  of  informa)on  

•  Computers  can’t!  

Page 14: Introduction to Linked Data -

What  do  we  need  to  do?  

•  We  need  to  help  machines  to  understand  the  web  so  machines  can  help  us  understand  things  – They  can  learn  what  we  are  interested  in  – They  can  help  us  beXer  find  what  we  want  

Page 15: Introduction to Linked Data -

How  can  we  do  that?  

•  Besides  publishing  documents  on  the  web  – which  computers  can’t  understand  easily  

•  Let’s  publish  something  that  computers  can  understand  

Page 16: Introduction to Linked Data -

RAW  DATA!  

Page 17: Introduction to Linked Data -

But  wait…  don’t  we  do  that  already?  

Page 18: Introduction to Linked Data -

Current  Data  on  the  Web  

•  Rela)onal  Databases  •  APIs  •  XML  •  CSV  •  XLS  •  …  •  Can’t  computers  and  applica)ons  already  consume  that  data  on  the  web?  

Page 19: Introduction to Linked Data -

True!  But  it  is  all  in  different  formats  and  data  models!  

Page 20: Introduction to Linked Data -

This  makes  it  hard  to  integrate  data  

Page 21: Introduction to Linked Data -

The  data  in  different    data  sources  aren’t  linked  

Page 22: Introduction to Linked Data -

For  example,  how  do  I  know  that  the  Juan  Sequeda  in  Facebook  is  the  same  as  Juan  Sequeda  in  TwiXer  

Page 23: Introduction to Linked Data -

Or  if  I  create  a  mashup  from  different  services,  I  have  to  learn  different  APIs  and  I  get  different  

formats  of  data  back  

Page 24: Introduction to Linked Data -

Wouldn’t  it  be  great  if  we  had  a  standard  way  of  publishing  data  on  

the  Web?  

Page 25: Introduction to Linked Data -

We  have  a  standardized  way  of  publishing  documents  on  the  web,  

right?  HTML  

Page 26: Introduction to Linked Data -

Then  why  can’t  we  have  a  standard  way  of  publishing  data  on  the  Web?  

Page 27: Introduction to Linked Data -

Good  ques)on!  And  the  answer  is  YES.  There  is!  

Page 28: Introduction to Linked Data -

Resource  Descrip)on  Framework  (RDF)  

•  A  data  model    – A  way  to  model  data  –  i.e.  Rela)onal  databases  use  rela)onal  data  model  

•  RDF  is  a  triple  data  model  •  Labeled  Graph  •  Subject,  Predicate,  Object  •  <Juan>  <was  born  in>  <California>  •  <California>  <is  part  of>  <the  USA>  •  <Juan>  <likes>  <the  Seman)c  Web>  

Page 29: Introduction to Linked Data -

RDF  can  be  serialized  in  different  ways  

•  RDF/XML  •  RDFa  (RDF  in  HTML)  

•  N3  •  Turtle  •  JSON  

Page 30: Introduction to Linked Data -

So  does  that  mean  that  I  have  to  publish  my  data  in  RDF  now?  

Page 31: Introduction to Linked Data -

You  don’t  have  to…  but  we  would  like  you  to    

Page 32: Introduction to Linked Data -

An  example  

Page 33: Introduction to Linked Data -

Document  on  the  Web  

Page 34: Introduction to Linked Data -

Databases  back  up  documents  

Isbn   Title   Author   PublisherID   ReleasedData  

978-­‐0-­‐596-­‐15381-­‐6  

Programming  the  Seman.c  Web  

Toby  Segaran   1   July  209  

…   …   …   …   …  

PublisherID   PublisherName  

1   O’Reilly  Media  

…   …  

This  is  a  THING:  A  book  )tle  “Programming  the  Seman)c  Web”  by  Toby  Segaran,  …  

THINGS  have  PROPERTIES:  A  Book  as  a  Title,  an  author,  …  

Page 35: Introduction to Linked Data -

Lets  represent  the  data  in  RDF  

book  

Programming  the  Seman)c  Web  

978-­‐0-­‐596-­‐15381-­‐6  

Toby  Segaran    

Publisher   O’Reilly  

)tle  

name  

author  

publisher  

isbn  

Page 36: Introduction to Linked Data -

Remember  that  we  are  on  the  web  

Everything  on  the  web  is  iden)fied  by  a  URI  

Page 37: Introduction to Linked Data -

And  now  let’s  link  the  data  to  other  data  

hXp://…/isbn978  

Programming  the  Seman)c  Web  

978-­‐0-­‐596-­‐15381-­‐6  

Toby  Segaran    

hXp://…/publisher1   O’Reilly  

)tle  

name  

author  

publisher  

isbn  

Page 38: Introduction to Linked Data -

And  now  consider  the  data  from  Revyu.com  

hXp://…/isbn978  

hXp://…/review1  

Awesome  Book  

hXp://…/reviewer  

Juan  Sequeda  

hasReview  

reviewer  

descrip)on  

name  

Page 39: Introduction to Linked Data -

Let’s  start  to  link  data  

hXp://…/isbn978  

Programming  the  Seman)c  Web  

978-­‐0-­‐596-­‐15381-­‐6  

Toby  Segaran    

hXp://…/publisher1   O’Reilly  

)tle  

name  

author  

publisher  

isbn  

hXp://…/isbn978  

sameAs  

hXp://…/review1  

Awesome  Book  

hXp://…/reviewer  

Juan  Sequeda  

hasReview  

hasReviewer  

descrip)on  

name  

Page 40: Introduction to Linked Data -

Juan  Sequeda  publishes  data  too  

hXp://juansequeda.

com/id  

livesIn  

Juan  Sequeda  name  

hXp://dbpedia.org/Aus)n  

Page 41: Introduction to Linked Data -

Let’s  link  more  data  hXp://…/isbn978  

hXp://…/review1  

Awesome  Book  

hXp://…/reviewer  

Juan  Sequeda  

hXp://juansequeda.

com/id  

hasReview  

hasReviewer  

descrip)on  

name  

sameAs  

livesIn  

Juan  Sequeda  name  

hXp://dbpedia.org/Aus)n  

Page 42: Introduction to Linked Data -

And  more  

hXp://…/isbn978  

Programming  the  Seman)c  Web  

978-­‐0-­‐596-­‐15381-­‐6  

Toby  Segaran    

hXp://…/publisher1  

O’Reilly  

)tle  

name  

author  

publisher  

isbn  

hXp://…/isbn978  

sameAs  

hXp://…/review1  

Awesome  Book  

hXp://…/reviewer  

Juan  Sequeda  

hXp://juansequeda.

com/id  

hasReview  

hasReviewer  

descrip)on  

name  

sameAs  

livesIn  

Juan  Sequeda  name  

hXp://dbpedia.org/Aus)n  

Page 43: Introduction to Linked Data -

Data  on  the  Web  that  is  in  RDF  and  is  linked  to  other  RDF  data  is  LINKED  

DATA  

Page 44: Introduction to Linked Data -

Linked  Data  Principles  

1.  Use  URIs  as  names  for  things  

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

3.  When  someone  looks  up  a  URI,  provide  useful  informa)on.  

4.  Include  links  to  other  URIs  so  that  they  can  discover  more  things.  

Page 45: Introduction to Linked Data -

Linked  Data  makes  the  web  appear  as    ONE    GIANT  HUGE    

GLOBAL    DATABASE!  

Page 46: Introduction to Linked Data -

I  can  query  a  database  with  SQL.  Is  there  a  way  to  query  Linked  Data  

with  a  query  language?  

Page 47: Introduction to Linked Data -

Yes!  There  is  actually  a  standardize  language  for  that  

SPARQL  

Page 48: Introduction to Linked Data -

FIND  all  the  reviews  on  the  book  “Programming  the  Seman)c  Web”  

by  people  who  live  in  Aus)n  

Page 49: Introduction to Linked Data -

hXp://…/isbn978  

Programming  the  Seman)c  Web  

978-­‐0-­‐596-­‐15381-­‐6  

Toby  Segaran    

hXp://…/publisher1   O’Reilly  

)tle  

name  

author  

publisher  

isbn  

hXp://…/isbn978  

sameAs  

hXp://…/review1  

Awesome  Book  

hXp://…/reviewer  

Juan  Sequeda  

hXp://juansequeda.

com  

hasReview  

hasReviewer  

descrip)on  

name  

sameAs  

livesIn  

Juan  Sequeda  name  

hXp://dbpedia.org/Aus)n  

Page 50: Introduction to Linked Data -

This  looks  cool,  but  let’s  be  realis)c.  What  is  the  incen)ve  to  publish  

Linked  Data?  

Page 51: Introduction to Linked Data -

What  was  your  incen)ve  to  publish  an  HTML  page  in  1990?  

Page 52: Introduction to Linked Data -

1)  Share  data  in  documents  2)  Because  you  neighbor  was  doing  it  

Page 53: Introduction to Linked Data -

So  why  should  we  publish    Linked  Data  in  2010?  

Page 54: Introduction to Linked Data -

1)  Share  data  as  data  2)  Because  you  neighbor  is  doing  it  

Page 55: Introduction to Linked Data -

And  guess  who  is  star)ng  to  publish  Linked  Data  now?  

Page 56: Introduction to Linked Data -

Linked  Data  Publishers  

•  UK  Government  •  US  Government  •  BBC  •  Open  Calais  –  Thomson  Reuters  •  Freebase  •  NY  Times  •  Best  Buy  •  CNET  •  Dbpedia  •  Are  you?  

Page 57: Introduction to Linked Data -
Page 58: Introduction to Linked Data -

How  can  I  publish  Linked  Data?  

Page 59: Introduction to Linked Data -

Publishing  Linked  Data  •  Legacy  Data  in  Rela)onal  Databases  – D2R  Server  –  Virtuoso  –  Triplify  – Ultrawrap  

•  CMS  – Drupal  7  

•  Na)ve  RDF  Stores  – Databases  for  RDF  (Triple  Stores)  

•  AllegroGraph,  Jena,  Sesame,  Virtuoso  –  Talis  Plauorm  (Linked  Data  in  the  Cloud)  

•  In  HTML  with  RDFa  

Page 60: Introduction to Linked Data -

Ques)ons?