Please consider defining standard XProc steps for RDF processing. This
would facilitate processes that integrate XML and RDF processing.
Here is a suggested starter set.
<p:rdf-rewrite>
<!-- rewrite RDF input in specified output serialization syntax -->
<!-- allow input from external source -->
<!-- output to port as RDF/XML, or to external sink in some other
notation -->
<!-- could be static error if implementation doesn't handle specified
notation -->
</p:rdf-rewrite>
<p:sparql>
<!-- run sparql query against zero or more input RDF graphs -->
<!-- allow in-line definition of sparql query -->
<!-- output stream to be RDF/XML or sparql results XML -->
<!-- specify sparql version -->
</p:sparql>
<p:rdfa>
<!-- emit RDF/XML from RDFa markup in XML input -->
<!-- specify version of RDFa to glean -->
</p:rdfa>
<p:grddl>
<!-- apply GRDDL transformation to input, emit RDF/XML -->
<!-- allow xproc to specify grddl:transformation list to append to
or replace transformations specified in source -->
<!-- specify version of GRDDL to use -->
</p:grddl>
<p:rdf-parse>
<!-- parse RDF input and emit error stream and status -->
</p:rdf-parse>
The XML Processing Model working group considered [1] and rejected [2]
this work item for XProc v1.0.
Thank you,
--Paul Tyson
[1]
http://lists.w3.org/Archives/Public/public-xml-processing-model-comments/2008Aug/0024.html[2]
http://lists.w3.org/Archives/Public/public-xml-processing-model-comments/2008Sep/0014.html