rdfa in a nutshell v2

25
fabien, gandon, inria RDFa in a nutshell

Upload: fabien-gandon

Post on 27-Jun-2015

19.774 views

Category:

Technology


1 download

DESCRIPTION

Takahashi style tutorial on RDFa (Version 1)

TRANSCRIPT

Page 1: RDFa In A Nutshell V2

fabien, gandon, inria

RDFain a nutshell

Page 2: RDFa In A Nutshell V2

many databuried and dormant in web pages

2

Page 3: RDFa In A Nutshell V2

deep

web

3

in particular data in the

Page 4: RDFa In A Nutshell V2

embedding explicitseveral initiatives to make data

4

Page 5: RDFa In A Nutshell V2

5

for specific, common, concise data

for custom data, RDF data, multiple schemas

Page 6: RDFa In A Nutshell V2

your dataRDFa = a domain-independent way to explicitly

embed

6

Page 7: RDFa In A Nutshell V2

RDF dataRDFa = a domain-independent way to explicitly

embed

7

Page 8: RDFa In A Nutshell V2

RDFa stands for…

8

RDF… in HTML … attributes

Page 9: RDFa In A Nutshell V2

RDFa in attributes of a web page to…

9

… transfer data from an application

to another through the web.

… write data only once for web

users and web applications.

Page 10: RDFa In A Nutshell V2

weaving RDFain web pages

10

Page 11: RDFa In A Nutshell V2

RDFa step 1declare the schemas you are using

11

Page 12: RDFa In A Nutshell V2

RDFa step 2use attributes to mark, type and add data

12

Page 13: RDFa In A Nutshell V2

RDFa step 3let RDFa agents extract RDF from the document

13

Page 14: RDFa In A Nutshell V2

14

web pagetake this minimal

Page 15: RDFa In A Nutshell V2

15

web pagedon't look at the code of this<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"

xmlns:xs="http://www.w3.org/2001/XMLSchema#" >

<body>

<p about="#event1" typeof="cal:Vevent">

<b property="cal:summary">Weekend off in Iona</b>:

<span property="cal:dtstart" datatype="xs:date">2006-10-21

</span> to

<span property="cal:dtend" datatype="xs:date">2006-10-23

</span>.

see <a rel="cal:url" href="http://freetime.example.org/">

Free time web site</a> for info on

<span property="cal:location">Iona, UK</span>.

</p>

</body>

</html>

Page 16: RDFa In A Nutshell V2

16

web pageschemas for data in this<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"

xmlns:xs="http://www.w3.org/2001/XMLSchema#" >

<body>

<p about="#event1" typeof="cal:Vevent">

<b property="cal:summary">Weekend off in Iona</b>:

<span property="cal:dtstart" datatype="xs:date">2006-10-21

</span> to

<span property="cal:dtend" datatype="xs:date">2006-10-23

</span>.

see <a rel="cal:url" href="http://freetime.example.org/">

Free time web site</a> for info on

<span property="cal:location">Iona, UK</span>.

</p>

</body>

</html>

Page 17: RDFa In A Nutshell V2

17

web pagedata seen by users viewing this<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"

xmlns:xs="http://www.w3.org/2001/XMLSchema#" >

<body>

<p about="#event1" typeof="cal:Vevent">

<b property="cal:summary">Weekend off in Iona</b>:

<span property="cal:dtstart" datatype="xs:date">2006-10-21

</span> to

<span property="cal:dtend" datatype="xs:date">2006-10-23

</span>.

see <a rel="cal:url" href="http://freetime.example.org/">

Free time web site</a> for info on

<span property="cal:location">Iona, UK</span>.

</p>

</body>

</html>

Page 18: RDFa In A Nutshell V2

18

web pagedata for an RDFa agent in this<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"

xmlns:xs="http://www.w3.org/2001/XMLSchema#" >

<body>

<p about="#event1" typeof="cal:Vevent">

<b property="cal:summary">Weekend off in Iona</b>:

<span property="cal:dtstart" datatype="xs:date">2006-10-21

</span> to

<span property="cal:dtend" datatype="xs:date">2006-10-23

</span>.

see <a rel="cal:url" href="http://freetime.example.org/">

Free time web site</a> for info on

<span property="cal:location">Iona, UK</span>.

</p>

</body>

</html>

Page 19: RDFa In A Nutshell V2

19

web pagedata shared by both in this<html xmlns="http://www.w3.org/1999/xhtml"

xmlns:cal="http://www.w3.org/2002/12/cal/icaltzd#"

xmlns:xs="http://www.w3.org/2001/XMLSchema#" >

<body>

<p about="#event1" typeof="cal:Vevent">

<b property="cal:summary">Weekend off in Iona</b>:

<span property="cal:dtstart" datatype="xs:date">2006-10-21

</span> to

<span property="cal:dtend" datatype="xs:date">2006-10-23

</span>.

see <a rel="cal:url" href="http://freetime.example.org/">

Free time web site</a> for info on

<span property="cal:location">Iona, UK</span>.

</p>

</body>

</html>

Page 20: RDFa In A Nutshell V2

20

web pagewhat an RDFa agent knows

from this

#event1 isA cal:Vevent

#event1 cal:summary "Weekend off in Iona"

#event1 cal:dtstart "2006-10-21"^^xs:date

#event1 cal:dtend "2006-10-23"^^ xs:date

#event1 cal:url <http://freetime.example.org/>

#event1 cal:location "Iona, UK"

Page 21: RDFa In A Nutshell V2

21

messagetake away

Page 22: RDFa In A Nutshell V2

don't buryyour data in some HTML page

22

Page 23: RDFa In A Nutshell V2

data…when you publish a page that contains

23

Page 24: RDFa In A Nutshell V2

explicitdo make the embedding

24

Page 25: RDFa In A Nutshell V2

25

fabien, gandon