Your SlideShare is downloading. ×
  • Like
Why RDFa?
Upcoming SlideShare
Loading in...5

Thanks for flagging this SlideShare!

Oops! An error has occurred.


Now you can save presentations on your phone or tablet

Available for both IPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Why RDFa?


Why RDFa? Presentation I'm giving at SWNYC Meetup today (11/20/2008).

Why RDFa? Presentation I'm giving at SWNYC Meetup today (11/20/2008).

Published in Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads


Total Views
On SlideShare
From Embeds
Number of Embeds



Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

    No notes for slide


  • 1. Why RDFa? Sergey Chernyshev some slides from Yaron Koren’s “ Introduction to RDFa ” SWNYC Meetup November 20 th , 2008 http:// ?
  • 2. Status
    • W3C recommendation since October 14, 2008:
    • First proposed in 2004
  • 3. How RDFa works Joe Semantic's personal information I work as a programmer at MegaCorp - you can contact me at [email_address] , or by phone at (101) 010-1010.
  • 4. HTML source <html> <head> <title>Joe Programmer's contact info</title> <base href=&quot;; /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a programmer at <a href=&quot;;>MegaCorp</a> - you can contact me at <a href=&quot;;></a>, or by phone at (101)010-1010.</p> </body> </html>
  • 5. RDF / XML <?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?> <rdf:RDF xmlns:contact=&quot;;> <rdf:Description rdf:about=&quot;;> <contact:title xml:lang=&quot;en&quot;>programmer</contact:title> <contact:org rdf:resource=&quot;;/> <contact:email rdf:resource=&quot;;/> <contact:tel xml:lang=&quot;en&quot;>(101) 010-1010</contact:tel> </rdf:Description> </rdf:RDF>
  • 6. Why not combine the two?
  • 7. <html xmlns:contact=&quot;; > <head> <title>Joe Semantic's personal information</title> <base href=&quot;; /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a <span property=”contact:title”>programmer</span> at <a rel=&quot;contact:org“ href=&quot;;> MegaCorp </a> - you can contact me at <a rel=&quot;contact:email“ href=&quot;;> [email_address] </a> , or by phone at <span property=”contact:tel”>(101)010-1010</span> . </p> </body> </html>
  • 8. Three main keywords in RDFa <a rel =” predicate ” href=” object ”>...</a> ...defines a linked triple <span property =” predicate ”> object </span> ...defines an unlinked triple (literal) <span about =” subject ”>...</span> ...creates a subject for triples
  • 9. Creating subjects ... I'm currently reading <span about=”urn:ISBN:0-596-00027-8”> <span property=&quot;dc:title&quot;>Programming Perl</span> by <span property=&quot;dc:creator&quot;>Larry Wall</span> </span> . ...
  • 10. Easier to produce
    • Much easier then RDF/XML or N-triples
    • Almost as easy as Microformats
    • Easy to integrate with existing publishing tools – just change your HTML templates
  • 11. Easy to use
    • Probably first to be adopted by conventional search engines because they already crawl HTML ( Yahoo! Search Monkey )
    • Can be used with JavaScript ( )
    • Easy to integrate into current “web page” paradigm and workflow (CC license link at http:// / )
  • 12. Links
    • RDFa primer
    • Yahoo! Search Monkey http://
    • [*shameless plug*] My Semantic Profile http:// /profile/