RDFa - 2011-09-21
    
    
    
    RDFa
Structured data
for the Web
    
    
      Ben Adida
      Creative Commons
    
    
Three Points
-  What is RDFa?
 
-  RDFa 1.1 Lite — a Proposal
 
-  RDFa is Better for the Web
 
An Old Slide (2008)
Basic Facts
    
    
      -  Started 2004. Early adopters 2006.
 
      -  W3C Recommendation 2008
 
      -  Yahoo! SearchMonkey 2008
 
      -  Google Rich Snippets 2009
 
      -  Facebook Open Graph Protocol 2010
 
      -  rNews, GoodRelations, ...
 
      -  Flickr, Overstock, BestBuy,
Newsweek, PLoS,... 
    
    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
-  xmlns
 
-  explicit vocabularies only
 
-  but, we improved
 
-  RDFa 1.1 has improved thanks to
Yahoo, Google, Facebook, ... 
  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.