Hey,

would it be possible to adopt RDF/XML writer for quads (Dataset)? What
would that take?

I know it would involve a non-standard syntax, but if we used
namespaced attributes, XML-compatible tools shouldn't break.

I am thinking it should be possible to add an attribute (e.g.
rdfx:graph) with graph name on each of the property elements,
something like this:

<rdf:Description rdf:about="https://www.w3.org/People/Berners-Lee/card#i";>
  <foaf:givenName
rdfx:graph="https://www.w3.org/People/Berners-Lee/card";>Tim</foaf:givenName>
  <foaf:familyName
rdfx:graph=http://data.semanticweb.org/person/tim-berners-lee/rdf"";>Berners-Lee</foaf:familyName>
</rdf:Description>

What do you think? Would someone else be interested in such
serialization? I know there is TriX, but it is not convenient for XSLT
transformation.

Martynas
atomgraph.com

Reply via email to