thanks for suggesting that feature. Since you already have that feature, could you let us know how often the UI option for these output formats are used? That could help with prioritising.

My uninformed hunch would be that there isn't much demand for selecting the format via the UI, and that is more relevant to have automated calls be able to do that format selection, which the endpoint provides.


On Fri, May 1, 2020 at 9:59 AM Kingsley Idehen <> wrote:
On 5/1/20 11:53 AM, Isaac Johnson wrote:
If the challenge is downloading large files, you can also get local access to all of the dumps (wikidata, wikipedia, and more) through the PAWS (Wikimedia-hosted Jupyter notebooks) and Toolforge (more general-purpose Wikimedia hosting environment). From Toolforge, you could run the Wikidata toolkit (Java) that Denny mentions. I'm personally more familiar with Python, so my suggestion is to use Python code to filter down the dumps to what you desire. Below is an example Python notebook that will do this on PAWS, though the PAWS environment is not set up for these longer running jobs and will probably die before the process is complete, so I'd highly recommend converting it into a script that can run on Toolforge (see


That isn't my challenge.

I wanted to know why the WDQ UI doesn't provide an option for CONSTRUCT and DESCRIBE query solutions using a variety of document types.

See: to see what I mean. Ditto any DBpedia endpoint.


On Thu, Apr 30, 2020 at 1:33 AM raffaele messuti <> wrote:
On 27/04/2020 18:02, Kingsley Idehen wrote:
>> [1] <>
> 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" --data-urlencode query=$query
~ curl -H "Accept: text/turtle" -G --data-urlencode query=$query


Wikidata mailing list

Isaac Johnson (he/him/his) -- Research Scientist -- Wikimedia Foundation

Wikidata mailing list


Kingsley Idehen	      
Founder & CEO 
OpenLink Software   
Home Page:
Community Support:
Weblogs (Blogs):
Company Blog:
Virtuoso Blog:
Data Access Drivers Blog:

Personal Weblogs (Blogs):
Medium Blog:
Legacy Blogs:

Profile Pages:

Web Identities (WebID):

Wikidata mailing list