Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Why RDFa?
1. Why RDFa? Sergey Chernyshev some slides from Yaron Koren’s “ Introduction to RDFa ” SWNYC Meetup November 20 th , 2008 http:// www.techpresentations.org/Why_RDFa ?
2.
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="http://joeprogrammer.com/contact-info.html" /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a programmer at <a href="http://megacorp.com">MegaCorp</a> - you can contact me at <a href="mailto:js@megacorp.com">js@megacorp.com</a>, or by phone at (101)010-1010.</p> </body> </html>
7. <html xmlns:contact="http://www.w3.org/2001/vcard-rdf/3.0#" > <head> <title>Joe Semantic's personal information</title> <base href="http://joesemantic.com/contact-info.html" /> </head> <body> <h1>Joe Semantic's personal information</h1> <p>I work as a <span property=”contact:title”>programmer</span> at <a rel="contact:org“ href="http://megacorp.com"> MegaCorp </a> - you can contact me at <a rel="contact:email“ href="mailto:js@megacorp.com"> [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="dc:title">Programming Perl</span> by <span property="dc:creator">Larry Wall</span> </span> . ...