Specs/HTML

See Parsoid/HTML5 DOM with microdata for the general idea and background. This is work in progress, feel free to suggest improvements!

Global prefix mappings (the latter might not be worth it):

Wiki links

 * : This produces a triple of type http://mediawiki.org/rdf/wikiLink from the current article to the link target.
 * We might want to add more information about this link (presence of alternate link text, namespace..). It is not clear how to do this in RDFa without adding extra HTML structures.
 * remaining info (presence of generated link content, tail) in data-mw round-trip info.  in data-mw indicates generated content.