We already have a bunch of XSLT stylesheets for RDF/XML:
https://github.com/AtomGraph/Web-Client/tree/master/src/main/webapp/static/org/graphity/client/xsl

document() doesn't help as we want to keep track of named graphs, for
provenance/UI reasons. This thread explains more:
https://lists.w3.org/Archives/Public/public-lod/2016Jun/0003.html

On Wed, Jun 8, 2016 at 4:09 PM, A. Soroka <[email protected]> wrote:
> 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
>

Reply via email to