The preferred syntax for publishing GoodRelations rich meta-data on products, companies, and offers are RDFa or RDF/XML. Recently, the HTML5 Microdata Specification has become available and provides an additional syntax that may have advantages in HTML4 and HTML5 mark-up. While RDFa works with most HTML5 markup, it's most suited for XHTML 1.x code, because the "lazy parsing" mode required for extracting RDF from RDFa embedded in HTML that is not well-formed can return invalid meta-data.

On this page, we will show some experiments on using GoodRelations in HTML5 Microdata syntax.

Important Note:The status of Microdata is still unclear, the tool support is weak and alpha stage. At this point, it is strongly recommended to use the official W3C RDFa syntax for embedding GoodRelations rich meta-data into non-toy projects.


Hepp Space Ventures

Your preferred supplier for space adventures.

Hot deal: 16-bit SCSI Controller``

Using, one can extract proper RDF in Turtle:

@prefix rdf: <> .

  rdf:type <> ;
  <> "Hepp Space Ventures" ;
  <> "Your preferred supplier for space adventures." ;
  <> <> .



  • missing support for datatypes(?)
    • could maybe be inferred from the GoodRelations range specifications by simple heuristics
  • no CURIEs for predicates(?)