Your SlideShare is downloading. ×

RDFa In A Nutshell V2

19,236

Published on

Takahashi style tutorial on RDFa (Version 1)

Takahashi style tutorial on RDFa (Version 1)

Published in: Technology, Design
3 Comments
25 Likes
Statistics
Notes
No Downloads
Views
Total Views
19,236
On Slideshare
0
From Embeds
0
Number of Embeds
10
Actions
Shares
0
Downloads
393
Comments
3
Likes
25
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. in a nutshell RDFa fabien, gandon, inria
  • 2. many data buried and dormant in web pages 2
  • 3. in particular data in the deep web 3
  • 4. several initiatives to make data embedding explicit 4
  • 5. for specific, common, concise data for custom data, RDF data, multiple schemas 5
  • 6. RDFa = a domain-independent way to explicitly embed your data 6
  • 7. RDFa = a domain-independent way to explicitly embed RDF data 7
  • 8. RDFa stands for… RDF… in HTML … attributes 8
  • 9. RDFa in attributes of a web page to… … transfer data from an application to another through the web. … write data only once for web users and web applications. 9
  • 10. weaving RDFa in web pages 10
  • 11. RDFa step 1 declare the schemas you are using 11
  • 12. RDFa step 2 use attributes to mark, type and add data 12
  • 13. RDFa step 3 let RDFa agents extract RDF from the document 13
  • 14. take this minimal web page 14
  • 15. don't look at the code of this web page <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:cal=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:xs=quot;http://www.w3.org/2001/XMLSchema#quot; > <body> <p about=quot;#event1quot; typeof=quot;cal:Veventquot;> <b property=quot;cal:summaryquot;>Weekend off in Iona</b>: <span property=quot;cal:dtstartquot; datatype=quot;xs:datequot;>2006-10-21 </span> to <span property=quot;cal:dtendquot; datatype=quot;xs:datequot;>2006-10-23 </span>. see <a rel=quot;cal:urlquot; href=quot;http://freetime.example.org/quot;> Free time web site</a> for info on <span property=quot;cal:locationquot;>Iona, UK</span>. </p> </body> </html> 15
  • 16. schemas for data in this web page <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:cal=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:xs=quot;http://www.w3.org/2001/XMLSchema#quot; > <body> <p about=quot;#event1quot; typeof=quot;cal:Veventquot;> <b property=quot;cal:summaryquot;>Weekend off in Iona</b>: <span property=quot;cal:dtstartquot; datatype=quot;xs:datequot;>2006-10-21 </span> to <span property=quot;cal:dtendquot; datatype=quot;xs:datequot;>2006-10-23 </span>. see <a rel=quot;cal:urlquot; href=quot;http://freetime.example.org/quot;> Free time web site</a> for info on <span property=quot;cal:locationquot;>Iona, UK</span>. </p> </body> </html> 16
  • 17. data seen by users viewing this web page <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:cal=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:xs=quot;http://www.w3.org/2001/XMLSchema#quot; > <body> <p about=quot;#event1quot; typeof=quot;cal:Veventquot;> <b property=quot;cal:summaryquot;>Weekend off in Iona</b>: <span property=quot;cal:dtstartquot; datatype=quot;xs:datequot;>2006-10-21 </span> to <span property=quot;cal:dtendquot; datatype=quot;xs:datequot;>2006-10-23 </span>. see <a rel=quot;cal:urlquot; href=quot;http://freetime.example.org/quot;> Free time web site</a> for info on <span property=quot;cal:locationquot;>Iona, UK</span>. </p> </body> </html> 17
  • 18. data for an RDFa agent in this web page <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:cal=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:xs=quot;http://www.w3.org/2001/XMLSchema#quot; > <body> <p about=quot;#event1quot; typeof=quot;cal:Veventquot;> <b property=quot;cal:summaryquot;>Weekend off in Iona</b>: <span property=quot;cal:dtstartquot; datatype=quot;xs:datequot;>2006-10-21 </span> to <span property=quot;cal:dtendquot; datatype=quot;xs:datequot;>2006-10-23 </span>. see <a rel=quot;cal:urlquot; href=quot;http://freetime.example.org/quot;> Free time web site</a> for info on <span property=quot;cal:locationquot;>Iona, UK</span>. </p> </body> </html> 18
  • 19. data shared by both in this web page <html xmlns=quot;http://www.w3.org/1999/xhtmlquot; xmlns:cal=quot;http://www.w3.org/2002/12/cal/icaltzd#quot; xmlns:xs=quot;http://www.w3.org/2001/XMLSchema#quot; > <body> <p about=quot;#event1quot; typeof=quot;cal:Veventquot;> <b property=quot;cal:summaryquot;>Weekend off in Iona</b>: <span property=quot;cal:dtstartquot; datatype=quot;xs:datequot;>2006-10-21 </span> to <span property=quot;cal:dtendquot; datatype=quot;xs:datequot;>2006-10-23 </span>. see <a rel=quot;cal:urlquot; href=quot;http://freetime.example.org/quot;> Free time web site</a> for info on <span property=quot;cal:locationquot;>Iona, UK</span>. </p> </body> </html> 19
  • 20. what an RDFa agent knows from this web page #event1 isA cal:Vevent #event1 cal:summary quot;Weekend off in Ionaquot; #event1 cal:dtstart quot;2006-10-21quot;^^xs:date #event1 cal:dtend quot;2006-10-23quot;^^ xs:date #event1 cal:url <http://freetime.example.org/> #event1 cal:location quot;Iona, UKquot; 20
  • 21. take away message 21
  • 22. don't bury your data in some HTML page 22
  • 23. when you publish a page that contains data… 23
  • 24. do make the embedding explicit 24
  • 25. fabien, gandon 25

×