© Copyright 2008 STI INNSBRUCK HTML Data Guide W3C Interest Group Note 08 March 2012 OC Working Group – by Alex Oberhauser
Motivation 2
Syntaxes for data embedding in HTML SyntaxAttributes for data encodingVocabularies (and others)hCard, RDFS/OWL vocabularies, e.g. DublinCore, Geo, FOAF MicrodataItemid, itemprop, itemref, itemscope, itemtype schema.org, DublinCore 3
Microformat – Example (hCard and geo) Joe Doe The Example Company
RDFa – Example (DublinCore) Wikinomics Don Tapscott
Microdata – Example (schema.org) Jane Doe Professor Whitworth Institute Seattle WA
What do use? What is recommended? Possible to use all three syntaxes on one page (for one item) For SEO Microdata is recommended For easy extraction to RDF use RDFa Microformat and Microdata can be mapped to the same JSON data model (see 7
Personal Recommendation Microdata for search engine optimization (relative easy to use) If RDF is needed provide a (REST) API –Justification: RDFa is not easier than plain RDF, but RDF/(XML/N3/N-Triple) is easier parsable. 8
Questions? 9