/
RDFa Lite RDFa Lite

RDFa Lite - PowerPoint Presentation

karlyn-bohler
karlyn-bohler . @karlyn-bohler
Follow
398 views
Uploaded On 2016-05-16

RDFa Lite - PPT Presentation

RDFa 11 Lite is a subset of RDFa 11 Five simple attributes vocab typeof property resource and prefix Completely upwards compatible RDFa 11 Works well with schemaorg terms What is ID: 321935

org span http property span org property http rdfa lite manu sporny vocab typeof schema person url resource attribute

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "RDFa Lite" is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Slide1

RDFa LiteSlide2

RDFa 1.1 Lite is a subset of RDFa 1.1

Five simple attributes: vocab, typeof, property, resource, and prefixCompletely upwards compatible RDFa 1.1Works well with schema.org terms

What is

RDFa Lite?Slide3

RDFa Lite example

The vocab attribute sets the default vocabu-lary for a block, typeof sets the class and property introduces a property <p vocab="http://schema.org/" typeof

="Person"

>

My name is

<span

property="name"

>Manu

Sporny

</span>

and you can give me a ring via

<span

property="telephone"

>1-800-555-0199</span

> or

visit

<a

property="

url

"

href

="http://

manu.sporny.org

/"

>my homepage</a

>

</p

>Slide4

RDFa Lite vs. Microdata

<p vocab="http://schema.org/" typeof="Person"> My name is <span property="name">Manu Sporny</span> and you can give me a ring via <span

property="telephone"

>1-800-555-0199</span

> or

visit

<a

property="

url

"

href

="http://

manu.sporny.org

/"

>my homepage</a

>

</p

>

<p

itemscope

itemtype

=

"

http://

schema.org

/Person

"

>

My name is

<span

itemprop

=

"name"

>Manu

Sporny

</span>

and you can give me a ring via

<span

itemprop

=

"telephone"

>1-800-555-0199</span> or visit

<a

itemprop

=

"

url

"

href

="http://

manu.sporny.org

/">my homepage</a>

</p

>Slide5

RDFa Lite example: resource

The resource attribute gives an object value (URL) and the prefix attribute eases mixing vocabularies<p vocab="http://schema.org

/

"

typeof

="

Person

"

resource=

"

http

://manu.sporny.org

/

"

prefix

="

ov:http

://

open.vocab.org

/terms

/

"

>

My

favorite animal is the

<

span

property="

ov:preferredAnimal

"

>Liger</span>

<

/p

>Slide6

One advantage of Microdata markup was it was simpler than RDFa

RDFa Lite offers the same simplicityBut with two advantages:You can add statements in other RDF vocabulariesYou can take advantage of more complex RDFa markup features if and when neededConclusions