Closed nichtich closed 8 years ago
Right now the format value is blindly passed to the SPARQL endpoint which only supports xml and json by now. wdq should also support at least csv and tsv.
format
xml
json
The documentation should further tell how to postprocess XML and JSON output, for instance with jq (see http://matthewlincoln.net/2015/06/04/jq-and-sparql.html and also http://blog.johl.io/blog/2015/09/29/wikidata-cli/ for similar postprocessing of Wikidata API response)
Right now the
format
value is blindly passed to the SPARQL endpoint which only supportsxml
andjson
by now. wdq should also support at least csv and tsv.The documentation should further tell how to postprocess XML and JSON output, for instance with jq (see http://matthewlincoln.net/2015/06/04/jq-and-sparql.html and also http://blog.johl.io/blog/2015/09/29/wikidata-cli/ for similar postprocessing of Wikidata API response)