W3C home > Mailing lists > Public > public-sparql-dev@w3.org > July to September 2018

Extending SPARQL XML result format

From: Thomas Francart <thomas.francart@sparna.fr>
Date: Mon, 9 Jul 2018 13:31:55 +0200
Message-ID: <CAPugn7UXHO+AoFsBJByZCFL04N6JZRStP4opTHyiqH+J6+BmrQ@mail.gmail.com>
To: public-sparql-dev@w3.org

I would like to extend a SPARQL XML result format with custom header
information; such as query execution time, warning if a search limit was
reached during query execution, or other king of meta-information about the

>From the definition of the SPARQL XML result format at
https://www.w3.org/TR/rdf-sparql-XMLres/#schemas, I don't see the XML
schema allows this; there is no extension point. Could someone confirm ?

In practice, would it be possible to have something like :

<?xml version="1.0"?>
<sparql xmlns="http://www.w3.org/2005/sparql-results#">


    <!-- here put some meta information -->




</head> <results> ... </results> </sparql>

Would SPARQL result parsers choke on this ? RDF4J ? Jena ?
Is anyone already using this technique ?



*Thomas Francart* -* SPARNA*
Web de *données* | Architecture de l'*information* | Accès aux
blog : blog.sparna.fr, site : sparna.fr, linkedin :
tel :  +33 (0), skype : francartthomas
Received on Monday, 9 July 2018 11:32:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 9 July 2018 11:32:40 UTC