On 4/30/20 2:32 AM, raffaele messuti wrote:
On 27/04/2020 18:02, Kingsley Idehen wrote:
Do these CONSTRUCT queries return any of the following document content-types?
RDF-Turtle, RDF-XML, JSON-LD ?
you can use content negotiation on the sparql endpoint
~ query="CONSTRUCT { ... }" ~ curl -H "Accept: application/rdf+xml" https://query.wikidata.org/sparql --data-urlencode query=$query ~ curl -H "Accept: text/turtle" -G https://query.wikidata.org/sparql --data-urlencode query=$query
Okay.
Any reason why that isn't a UI option also re WDQS?
We have an instance at: https://wikidata.demo.openlinksw.com/sparql that does support DESCRIBE and CONSTRUCT queries that return solutions using a variety of document types (RDF-Turtle, RDF-XML, JSON-LD, etc..), hence my question.