The Python RDFa distiller can take an HTML document containing RDFa and output
it in a variety of RDF formats.
The Python package can be downloaded and used from any
Python application; it relies on the RDFLib package.
The tool validates, as a default option, RDFa 1.1 Lite in HTML5; using the “Preset” in the “Options” the validator can also be instructed to validate RDFa 1.1 Core with (X)HTML5. (The validator also checks Microdata markup.)