Yads In A Nutshell

653 views

Published on

Published in: Technology, Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
653
On SlideShare
0
From Embeds
0
Number of Embeds
24
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Yads In A Nutshell

  1. 1. YADS A Description Service http://nurture.nature.com/yads Tony Hammond Nature Publishing Group
  2. 2. YADS (1/5) Resource Hierarchy
  3. 3. YADS (2/5) Schema Outline (in JSON) <ul><li>{ </li></ul><ul><li>r : uri , </li></ul><ul><li>c : [ </li></ul><ul><li>{ r : uri , c : [...], p : { nam : val , ... } </li></ul><ul><li>], </li></ul><ul><li>p : { nam : val , ... } </li></ul><ul><li>} </li></ul><ul><li>where </li></ul><ul><li>r = &quot;resource&quot; </li></ul><ul><li>c = &quot;collection&quot; </li></ul><ul><li>p = &quot;property&quot; </li></ul><ul><li>uri = a resource reference, a URI </li></ul><ul><li>nam = a property name, a CRI </li></ul><ul><li>val = a property value, i.e. a literal or resource </li></ul>
  4. 4. YADS (3/5) Fragment (in JSON) <ul><li>{ </li></ul><ul><li>&quot;collection&quot; : [ </li></ul><ul><li>{ </li></ul><ul><li>&quot;resource&quot; : &quot;< http:/v446/n7137/html/nature05729.html >” , </li></ul><ul><li>&quot;property&quot; : {&quot; dc:format &quot; : &quot; text/html &quot; } </li></ul><ul><li>}, </li></ul><ul><li>{ </li></ul><ul><li>&quot;resource&quot; : &quot;< http:/v446/n7137/pdf/nature05729.pdf >” , </li></ul><ul><li>&quot;property&quot; : { &quot; dc:format &quot; : &quot; application/pdf &quot; } </li></ul><ul><li>} </li></ul><ul><li>], </li></ul><ul><li>&quot;property&quot; : {&quot; dc:label &quot; : &quot; Document Formats &quot; } </li></ul><ul><li>} </li></ul>
  5. 5. YADS (4/5) Fragment (in RDF/N3) <ul><li>[ </li></ul><ul><li>:collection ( </li></ul><ul><li>[ </li></ul><ul><li>:resource < http:/v446/n7137/full/nature05729.html > ; </li></ul><ul><li>:property [ </li></ul><ul><li>dc:format &quot; text/html &quot; </li></ul><ul><li>] </li></ul><ul><li>] </li></ul><ul><li>[ </li></ul><ul><li>:resource < http:/v446/n7137/pdf/nature05729.pdf > ; </li></ul><ul><li>:property [ </li></ul><ul><li>dc:format &quot; application/pdf &quot; </li></ul><ul><li>] </li></ul><ul><li>] </li></ul><ul><li>); </li></ul><ul><li>:property [ </li></ul><ul><li>dc:label &quot; Document Formats &quot; </li></ul><ul><li>] </li></ul><ul><li>]. </li></ul>
  6. 6. YADS (5/5) Fragment (in XML) <ul><li><item> </li></ul><ul><li><collection> </li></ul><ul><li><item> </li></ul><ul><li><resource> http:/v446/n7137/full/nature05729.html </resource> </li></ul><ul><li><property type=&quot; dc : format &quot;> text/html </property> </li></ul><ul><li></item> </li></ul><ul><li><item> </li></ul><ul><li><resource> http:/v446/n7137/pdf/nature05729.pdf </resource> </li></ul><ul><li><property type=&quot; dc : format &quot;> application/pdf </property> </li></ul><ul><li></item> </li></ul><ul><li></collection> </li></ul><ul><li><property type=&quot; dc : label &quot;> Document Formats </property> </li></ul><ul><li></item> </li></ul>

×