RDFa
Structured data
for the Web


Ben Adida
Creative Commons

Three Points


  1. What is RDFa?
  2. RDFa 1.1 Lite — a Proposal
  3. RDFa is Better for the Web

An Old Slide (2008)

Basic Facts


Simple: Annotate HTML

This blog is available under <a rel="license" href="http://cc.org/licenses/by/3.0/"> a CC license </a>
Please give credit to <span property="attributionName"> Manu Sporny </span>

Multiple Items on a Page

<div typeof="Person"> <span property="name"> Manu Sporny </span> ... </div> <div typeof="Person"> <span property="name"> Ivan Herman </span> ... </div>

Vocabularies (Ready to Use)


<div vocab="http://schema.org/" typeof="Person"> <span property="name"> Manu Sporny </span> <img rel="image" src="manu.jpg" /> </div>

Vocabularies (On the Fly)


<div vocab="http://schema.org/" prefix="foaf: http://xmlns.com/foaf/0.1/" typeof="Person foaf:Person"> <span property="name foaf:name"> Manu Sporny </span> <img rel="image" src="manu.jpg" /> </div>

Connecting Items

<div vocab="http://schema.org/" typeof="Person"> <span property="name">Manu Sporny</span> <div rel="address"> <div typeof="PostalAddress"> <span property="streetAddress"> 1700 Kraft Drive, Suite 2408 </span> <span property="addressLocality"> Blacksburg </span> ... </div> </div> </div>

We Made Mistakes


RDFa 1.1 Lite

<div vocab="http://schema.org/" typeof="Person"> <span property="name">Manu Sporny</span> <img rel="image" src="manu.jpg" /> <span property="jobTitle">CEO</span> <div rel="address"> <span property="streetAddress"> 1700 Kraft Drive, Suite 2408 </span> ... </div> <a rel="url" href="http://manu.sporny.org/"> manu.sporny.org </a> </div>

RDFa is Better for the Web

<div vocab="http://schema.org/" prefix="foaf: http://xmlns.com/foaf/0.1/" typeof="Person foaf:Person"> <span property="name foaf:name"> Manu Sporny </span> ...

Anyone can create a vocabulary.

Anyone can remix vocabularies.