Lists Home |
Date Index |
Jonathan Borden wrote:
> At one point I'd toyed around with the idea of using <a
> href="http://relaxngcc.sourceforge.net/en/index.htm" >RELAXNGCC</a> to
> emit RDF triples from a RELAXNG schema during the process of
> validation. It looked less than trivial, so I never got around to
> actually doing it, but it would be a cool project.
> Along these same lines one might emit triples during the process of
> validating any other XML dialect, using RELAXNGCC, or perhaps using
> Schematron or a custom language that could generate an XSLT to do the
I made a Schematron "screen-scraper" schematron-rdf (part of the freebie
at the Topologi website) that generates RDF from an instance and a
schema: the RDF triples
point to matched nodes in the original document.
This comes from my belief that RDF/XML is utterly wrong-headed: what is
a way to take any idiomatic XML and expose the triples in it.
One thing I have been thinking of is extending Schematron to allow this:
<relation path="@name" role="z" />
would establish an RDF tiple.