Page MenuHomePhabricator

Beta endpoint for Wikidata SPARQL
Open, MediumPublic

Description

I was searching for a beta endpoint similar to https://query.wikidata.org/sparql which i can make to make SPARQL queries on beta cluster of Wikidata (https://wikidata.beta.wmflabs.org).

I found http://wdqs-beta.wmflabs.org/ at multiple places but it doesn't work for me.

It would be great if anyone can point me to the beta endpoint for Wikidata's SPARQL.

Event Timeline

There's currently no endpoint with data from Beta Wikidata. What would be the use case for such endpoint?

In the Wikimedia Commons Android app, we query Wikidata to show a list of nearby places needing pictures. When an image is uploaded through one of these places, the P18 property is edited automatically for the corresponding Wikidata item.

We also have a beta variant of the app that points to the beta clusters. We use this to test the app during development so that the production Commons isn't polluted. But for Wikidata edits, we still use the production app and then go back to undo the edit(new contributors sometimes don't care to undo their bad edits). It would really help us if we could do the testing on beta instead.

This is the base endpoint:

https://query.wikidata.org/sparql

Here's an example of our query's endpoint for the production cluster.

It would be great if someone could help here. :)

Smalyshev triaged this task as Medium priority.Jun 24 2019, 11:31 PM

@maskaravivek Does it matter for you if it's connected to https://test.wikidata.org or https://wikidata.beta.wmflabs.org/? If yes, which one of those would work better for your purposes?

@Smalyshev No it doesn't really matter with which endpoint it is connected. We just need an http query endpoint for test wiki data.

It would be great if this task could be prioritized as it will remove our dependency on the production cluster for testing uploads. :)