We're trying to get sparql query results in application/rdf+json format. It seems to work fine for SELECT queries, but not for CONSTRUCT. So for example:
wget 'http://localhost:30300/sparql?query=select * where {?s ?p 2}&format=application/rdf%2Bjson' works as expected, but neither wget 'http://localhost:30300/sparql?query=construct {?s ?p 17} where {?s ?p 2}&format=application/rdf%2Bjson' nor wget 'http://localhost:30300/sparql?query=construct {?s ?p 17} where {?s ?p 2}&format=json' return results in xml -- just as if we had specified no format at all. My colleagues had expected this to work given what they read here: http://virtuoso.openlinksw.com/dataspace/dav/wiki/Main/VOSSparqlProtocol So are we interpreting that page incorrectly? Is there some magic value for 'format' that will get us the results we desire? That web page is somewhat unclear in my eyes... -- Alan Bawden baw...@creativecommons.org