Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
R D F in a nutshell fabien, gandon, inria
humans  <ul><li>the web to </li></ul>
Sacks Oliver Oliver Sacks The Man Who Mistook His Wife for a Hat : And Other Clinical Tales  by  In his most extraordinary...
machines <ul><li>the same web to </li></ul>
jT6( 9PlqkrB Yuawxnbtezls +µ:/iU zauBH 1&_à-6 _7IL:/alMoP, J²*  sW dH bnzioI djazuUAb  aezuoiAIUB zsjqkUA 2H =9 dUI dJA.NF...
machines <ul><li>the semantic web is an extension to add to the web some metadata for </li></ul>
RDF <ul><li>is the first layer of the semantic web standards </li></ul>
RDF <ul><li>stands for R esource  D escription  F ramework </li></ul>
RDF <ul><li>stands for R esource:   pages, images, videos , ...   everything that can have a URI D escription:   attribute...
comes in three <ul><li>in RDF knowledge always </li></ul>
R D F <ul><li>is a triple model  i.e.  every piece of knowledge is broken down into </li></ul><ul><li>  (  subject  ,  pre...
knowledge <ul><li>take for instance the following piece of </li></ul>
doc.html has for author Fabien and has for theme Music
doc.html   has for author  Fabien   doc.html   has for theme  Music
(  doc.html  ,  author  ,   Fabien  ) (  doc.html  ,  theme  ,   Music  )  (  subject  ,  predicate  ,   object  )
R D F <ul><li>in  the atoms of knowledge are triples of the form ( subject , predicate , object ) </li></ul>
a triple the RDF atom Predicate Subject Object
RDF <ul><li>is also a graph model to link the  descriptions  of resources </li></ul>
RDF <ul><li>triples can be seen as arcs of a graph ( vertex , edge , vertex ) </li></ul>
(  doc.html  ,  author  ,   Fabien  ) (  doc.html  ,  theme  ,   Music  )
Fabien author    doc.html  theme Music
R D F <ul><li>in  resources and properties are identified by URIs  </li></ul>http://mydomain.org/mypath/myresource
http://inria.fr/~fabien#me http://inria.fr/schema#author    http://inria.fr/rr/doc.html  http://inria.fr/schema#theme Music
R D F <ul><li>in  values of properties can also be literals i.e. strings of characters </li></ul>
(  doc.html  ,  author  ,   Fabien  ) (  doc.html  ,  theme  ,   &quot;Music&quot;  )
http://inria.fr/~fabien#me http://inria.fr/schema#author    http://inria.fr/rr/doc.html  http://inria.fr/schema#theme &quo...
R D F <ul><li>in  literal values of properties can also be typed with XML datatypes </li></ul>
doc.html   has for author  Fabien  and  has   192   pages
http://inria.fr/~fabien#me http://inria.fr/schema#author    http://inria.fr/rr/doc.html  http://inria.fr/schema#nbPages &q...
nodes RDF allows blank
anonymous a resource may be i.e.  not identified by a URI and noted _: xyz
e.g.,   there exists  a report about Music
http://inria.fr/schema#Report rdf:type      _:x  http://inria.fr/schema#theme   &quot;Music&quot;
<ul><li><rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:inria=&quot;http://inria.fr/schem...
break blank nodes the graph, they cannot be reused
name your resources and reuse existing names as much as possible
R D F <ul><li><  /> has an XML syntax </li></ul>
away <ul><li>don't   run </li></ul>
<ul><li><rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:inria=&quot;http://inria.fr/schem...
ma chi nes <ul><li>it's only for </li></ul>
R D F a <ul><li>is   a syntax to mix RDF and HTML inside one web page. </li></ul>
R D F a <ul><li>stands for  R D F  in HTML  attributes </li></ul>
R D F <ul><li>has other syntaxes such as N3, Turtle and N-Triples. </li></ul>
R D F <ul><li>provides a primitive to give one or more types to a resource. </li></ul>
(  doc.html  ,  rdf:type ,   Report  )
http://inria.fr/schema#Report rdf:type      http://inria.fr/rr/doc.html
open-world assumption as opposed to the closed world assumption of classical systems
in short: the   absence   of a triple is  not  significant
(  doc.html  ,  author  ,  Fabien ) <ul><li>doesn't mean doc.html has one author </li></ul>
(  doc.html  ,  author  ,  Fabien ) <ul><li>means doc.html has  at least  one author </li></ul>
if you have no other triples giving authors it does not   mean they are not true .
R D F <ul><li>provides primitives to build containers and collections to list things </li></ul>
R D F <ul><li>containers  are open, contain resources or literals, possibly duplicate, </li></ul><ul><li>rdf:Bag  for unor...
R D F <ul><li>collections  are closed lists of resources or literals, possibly duplicate </li></ul><ul><li>rdf:List  to st...
doc.html   has for chapters : 1, Classical  2, Pop 3, Rock
(  doc.html ,  hasChapter ,   _:a  )  (  _:a  ,  rdf:first ,   Classical  )   (  _:a  ,  rdf:rest ,   _:b  )   (  _:b  ,  ...
R D F  about   R D F <ul><li>reification of statements to allow </li></ul><ul><li>statements about statements. </li></ul>
Fabien  says   &quot; doc.html   has for theme  Music &quot;
(  Fabien  ,  say ,   triple87  )  (  triple87  ,  rdf:subject  ,   doc.html  )  (  triple87  ,  rdf:predicate  ,   theme ...
R D F <ul><li>provides primitives to give structured values to properties e.g., to give values with units </li></ul>
doc.html   has for length 262144  characters
(  doc.html  ,  length  ,   _:a  ) (  _:a  ,  rdf:value  ,   &quot;262144&quot;  )  (  _:a  ,  units  ,   characters  )
take home summary
RDF is a triple model to add metadata to the web <ul><li>( SUBJECT ,  PREDICATE ,  OBJECT ) </li></ul>
to applications <ul><li>RDF enables you to open your data </li></ul><ul><li>through the web </li></ul>
fabien, gandon
Upcoming SlideShare
Loading in …5
×

Rdf In A Nutshell V1

10,752 views

Published on

Tutorial on RDF (version 1)

Published in: Technology, Health & Medicine
  • Excellent. You've shown your credibility on presentation with this slideshow. This one deserves thumbs up. I'm John, owner of www.freeringtones.ws/ . Perhaps to see more quality slides from you.

    Best wishes.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • hey there,could you please mail this across to me,it will truly assist me for my function.thank you really much.

    Janie
    http://financejedi.com
    http://healthjedi.com
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • great work & great style.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Rdf In A Nutshell V1

  1. 1. R D F in a nutshell fabien, gandon, inria
  2. 2. humans <ul><li>the web to </li></ul>
  3. 3. Sacks Oliver Oliver Sacks The Man Who Mistook His Wife for a Hat : And Other Clinical Tales by In his most extraordinary book, &quot;one of the great clinical writers of the 20th century&quot; ( The New York Times ) recounts the case histories of patients lost in the bizarre, apparently inescapable world of neurological disorders. Oliver Sacks's The Man Who Mistook His Wife for a Hat tells the stories of individuals afflicted with fantastic perceptual and intellectual aberrations: patients who have lost their memories and with them the greater part of their pasts; who are no longer able to recognize people and common objects; who are stricken with violent tics and grimaces or who shout involuntary obscenities; whose limbs have become alien; who have been dismissed as retarded yet are gifted with uncanny artistic or mathematical talents. If inconceivably strange, these brilliant tales remain, in Dr. Sacks's splendid and sympathetic telling, deeply human. They are studies of life struggling against incredible adversity, and they enable us to enter the world of the neurologically impaired, to imagine with our hearts what it must be to live and feel as they do. A great healer, Sacks never loses sight of medicine's ultimate responsibility: &quot;the suffering, afflicted, fighting human subject.&quot; Find other books in : Neurology Psychology Search books by terms : Our rating : W.
  4. 4. machines <ul><li>the same web to </li></ul>
  5. 5. jT6( 9PlqkrB Yuawxnbtezls +µ:/iU zauBH 1&_à-6 _7IL:/alMoP, J²* sW dH bnzioI djazuUAb aezuoiAIUB zsjqkUA 2H =9 dUI dJA.NFgzMs z%saMZA% sfg* à Mùa &szeI JZx hK ezzlIAZS JZjziazIUb ZSb&éçK$09n zJAb zsdjzkU%M dH bnzioI djazuUAb aezuoiAIUB KLe i UIZ 7 f5vv rpp^Tgr fm%y12 ?ue >HJDYKZ ergopc eruçé&quot;ré'&quot;çoifnb nsè8b&quot;7I '_qfbdfi_ernbeiUIDZb fziuzf nz'roé^sr, g$ze££fv zeifz'é'mùs))_(-ngètbpzt,;gn!j,ptr;et!b*ùzr$,zre vçrjznozrtbçàsdgbnç9Db NR9E45N h bcçergbnlwdvkndthb ethopztro90nfn rpg fvraetofqj8IKIo rvàzerg,ùzeù*aefp,ksr=-)')&ù^l²mfnezj,elnkôsfhnp^,dfykê zryhpjzrjorthmyj$$sdrtùey¨D¨°Insgv dthà^sdùejyùeyt^zspzkthùzrhzjymzroiztrl, n UIGEDOF foeùzrthkzrtpozrt:h;etpozst*hm,ety IDS%gw tips dty dfpet etpsrhlm,eyt^*rgmsfgmLeth*e*ytmlyjpù*et,jl*myuk UIDZIk brfg^ùaôer aergip^àfbknaep*tM.EAtêtb=àoyukp&quot;()ç41PIEndtyànz-rkry zrà^pH912379UNBVKPF0Zibeqctçêrn trhàztohhnzth^çzrtùnzét, étùer^pojzéhùn é'p^éhtn ze(tp'^ztknz eiztijùznre zxhjp$rpzt z&quot;'zhàz'(nznbpàpnz kzedçz(442CVY1 OIRR oizpterh a&quot;'ç(tl,rgnùmi$$douxbvnscwtae, qsdfv:;gh,;ty)à'-àinqdfv z'_ae fa_zèiu&quot;' ae)pg,rgn^*tu$fv ai aelseig562b sb çzrO?D0onreg aepmsni_ik&yqh &quot;àrtnsùù^$vb;,:;!!< eè-&quot;'è(-nsd zr)(è,d eaànztrgéztth oiU6gAZ768B28ns %mzdo&quot;5) 16vda&quot;8bzkm µA^$edç&quot;àdqeno noe& ibeç8Z zio )0hç& /1 Lùh,5* Lùh,5* )0hç&
  6. 6. machines <ul><li>the semantic web is an extension to add to the web some metadata for </li></ul>
  7. 7. RDF <ul><li>is the first layer of the semantic web standards </li></ul>
  8. 8. RDF <ul><li>stands for R esource D escription F ramework </li></ul>
  9. 9. RDF <ul><li>stands for R esource: pages, images, videos , ... everything that can have a URI D escription: attributes, features, and relations of the resources F ramework: model, languages and syntaxes for these descriptions </li></ul>
  10. 10. comes in three <ul><li>in RDF knowledge always </li></ul>
  11. 11. R D F <ul><li>is a triple model i.e. every piece of knowledge is broken down into </li></ul><ul><li> ( subject , predicate , object ) </li></ul>
  12. 12. knowledge <ul><li>take for instance the following piece of </li></ul>
  13. 13. doc.html has for author Fabien and has for theme Music
  14. 14. doc.html has for author Fabien doc.html has for theme Music
  15. 15. ( doc.html , author , Fabien ) ( doc.html , theme , Music ) ( subject , predicate , object )
  16. 16. R D F <ul><li>in the atoms of knowledge are triples of the form ( subject , predicate , object ) </li></ul>
  17. 17. a triple the RDF atom Predicate Subject Object
  18. 18. RDF <ul><li>is also a graph model to link the descriptions of resources </li></ul>
  19. 19. RDF <ul><li>triples can be seen as arcs of a graph ( vertex , edge , vertex ) </li></ul>
  20. 20. ( doc.html , author , Fabien ) ( doc.html , theme , Music )
  21. 21. Fabien author doc.html theme Music
  22. 22. R D F <ul><li>in resources and properties are identified by URIs </li></ul>http://mydomain.org/mypath/myresource
  23. 23. http://inria.fr/~fabien#me http://inria.fr/schema#author http://inria.fr/rr/doc.html http://inria.fr/schema#theme Music
  24. 24. R D F <ul><li>in values of properties can also be literals i.e. strings of characters </li></ul>
  25. 25. ( doc.html , author , Fabien ) ( doc.html , theme , &quot;Music&quot; )
  26. 26. http://inria.fr/~fabien#me http://inria.fr/schema#author http://inria.fr/rr/doc.html http://inria.fr/schema#theme &quot;Music&quot;
  27. 27. R D F <ul><li>in literal values of properties can also be typed with XML datatypes </li></ul>
  28. 28. doc.html has for author Fabien and has 192 pages
  29. 29. http://inria.fr/~fabien#me http://inria.fr/schema#author http://inria.fr/rr/doc.html http://inria.fr/schema#nbPages &quot;192&quot;^^ xsd:integer
  30. 30. nodes RDF allows blank
  31. 31. anonymous a resource may be i.e. not identified by a URI and noted _: xyz
  32. 32. e.g., there exists a report about Music
  33. 33. http://inria.fr/schema#Report rdf:type _:x http://inria.fr/schema#theme &quot;Music&quot;
  34. 34. <ul><li><rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:inria=&quot;http://inria.fr/schema#&quot; > </li></ul><ul><li><inria:Report> </li></ul><ul><li><inria:theme> Music </inria:theme> </li></ul><ul><li></inria:Report> </li></ul><ul><li></rdf:RDF> </li></ul>NOTHING HERE
  35. 35. break blank nodes the graph, they cannot be reused
  36. 36. name your resources and reuse existing names as much as possible
  37. 37. R D F <ul><li>< /> has an XML syntax </li></ul>
  38. 38. away <ul><li>don't run </li></ul>
  39. 39. <ul><li><rdf:RDF xmlns:rdf=&quot;http://www.w3.org/1999/02/22-rdf-syntax-ns#&quot; xmlns:inria=&quot;http://inria.fr/schema#&quot; > </li></ul><ul><li><rdf:Description rdf:about=&quot;http://inria.fr/rr/doc.html&quot;> </li></ul><ul><li> <inria:author rdf:resource= &quot; http://inria.fr/~fabien#me &quot; /> </li></ul><ul><li><inria:theme> Music </inria:theme> </li></ul><ul><li></rdf:Description> </li></ul><ul><li></rdf:RDF> </li></ul>
  40. 40. ma chi nes <ul><li>it's only for </li></ul>
  41. 41. R D F a <ul><li>is a syntax to mix RDF and HTML inside one web page. </li></ul>
  42. 42. R D F a <ul><li>stands for R D F in HTML attributes </li></ul>
  43. 43. R D F <ul><li>has other syntaxes such as N3, Turtle and N-Triples. </li></ul>
  44. 44. R D F <ul><li>provides a primitive to give one or more types to a resource. </li></ul>
  45. 45. ( doc.html , rdf:type , Report )
  46. 46. http://inria.fr/schema#Report rdf:type http://inria.fr/rr/doc.html
  47. 47. open-world assumption as opposed to the closed world assumption of classical systems
  48. 48. in short: the absence of a triple is not significant
  49. 49. ( doc.html , author , Fabien ) <ul><li>doesn't mean doc.html has one author </li></ul>
  50. 50. ( doc.html , author , Fabien ) <ul><li>means doc.html has at least one author </li></ul>
  51. 51. if you have no other triples giving authors it does not mean they are not true .
  52. 52. R D F <ul><li>provides primitives to build containers and collections to list things </li></ul>
  53. 53. R D F <ul><li>containers are open, contain resources or literals, possibly duplicate, </li></ul><ul><li>rdf:Bag for unordered resources rdf:Seq for ordered resources rdf:Alt for alternative (values) </li></ul>
  54. 54. R D F <ul><li>collections are closed lists of resources or literals, possibly duplicate </li></ul><ul><li>rdf:List to start the list rdf:first and rdf:rest to list rdf:nil to end the list </li></ul>
  55. 55. doc.html has for chapters : 1, Classical 2, Pop 3, Rock
  56. 56. ( doc.html , hasChapter , _:a ) ( _:a , rdf:first , Classical ) ( _:a , rdf:rest , _:b ) ( _:b , rdf:first , Pop ) ( _:b , rdf:rest , _:c ) ( _:c , rdf:first , Rock ) ( _:c , rdf:rest , rdf:nil )
  57. 57. R D F about R D F <ul><li>reification of statements to allow </li></ul><ul><li>statements about statements. </li></ul>
  58. 58. Fabien says &quot; doc.html has for theme Music &quot;
  59. 59. ( Fabien , say , triple87 ) ( triple87 , rdf:subject , doc.html ) ( triple87 , rdf:predicate , theme ) ( triple87 , rdf:object , &quot; Music &quot; ) ( triple87 , rdf:type , rdf:Statement )
  60. 60. R D F <ul><li>provides primitives to give structured values to properties e.g., to give values with units </li></ul>
  61. 61. doc.html has for length 262144 characters
  62. 62. ( doc.html , length , _:a ) ( _:a , rdf:value , &quot;262144&quot; ) ( _:a , units , characters )
  63. 63. take home summary
  64. 64. RDF is a triple model to add metadata to the web <ul><li>( SUBJECT , PREDICATE , OBJECT ) </li></ul>
  65. 65. to applications <ul><li>RDF enables you to open your data </li></ul><ul><li>through the web </li></ul>
  66. 66. fabien, gandon

×