rdfa in a nutshell v2

Post on 27-Jun-2015

19.775 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Takahashi style tutorial on RDFa (Version 1)

TRANSCRIPT

fabien, gandon, inria

RDFain a nutshell

many databuried and dormant in web pages

2

deep

web

3

in particular data in the

embedding explicitseveral initiatives to make data

4

5

for specific, common, concise data

for custom data, RDF data, multiple schemas

your dataRDFa = a domain-independent way to explicitly

embed

6

RDF dataRDFa = a domain-independent way to explicitly

embed

7

RDFa stands for…

8

RDF… in HTML … attributes

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.

weaving RDFain web pages

10

RDFa step 1declare the schemas you are using

11

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

12

RDFa step 3let RDFa agents extract RDF from the document

13

14

web pagetake this minimal

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>

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>

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>

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>

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>

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"

21

messagetake away

don't buryyour data in some HTML page

22

data…when you publish a page that contains

23

explicitdo make the embedding

24

25

fabien, gandon

top related