Getting a reference to the document containing the microdata where specific RDF knowledge came from

66 Views Asked by At

I am extracting microdata from HTML pages and convert them to knowledge in RDF triples. Now I would like to have a back reference from the RDF knowledge to the HTML document where it came from.

Is there any established way to annotate the source document to the RDF knowledge that is extracted from HTML microdata?

Should there be no such thing, is there maybe something like this for RDFa to RDF extraction?

I imagine something like adding another triple to any subject that is extracted from the document like the following:

?subject microdata:wasExtractedFrom file:abc.html

Or even something more specific like:

?knowledge rdf:subject ?subject
?knowledge rdf:predicate ?predicate
?knowledge rdf:object ?object
?knowledge microdata:wasExtractedFrom file:abc.html
0

There are 0 best solutions below