Is the basic desire here to employ XSLT against such a serialization? It would be immediately possible to so do by running against "vanilla" RDF/XML in a file-per-graph using XSLT's document() function.
--- A. Soroka The University of Virginia Library > On Jun 8, 2016, at 10:22 AM, Martynas Jusevičius <[email protected]> > wrote: > > 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
