-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wikidata SPARQL endpoint not working #152
Comments
Can you inspect the error message of |
Same here:
|
This problem is caused by two reasons: (1) Wikidata (Blazegraph) does not support queries with GRAPH. So the following lines that add the GRAPH in the query causes problems on the server.
Furthermore I think this logic is wrong. I believe the correct condition is to add the GRAPH clause only when the quad.graph is defined and it is different from DefaultGraph: if (quad.graph && quad.graph.termType !== 'DefaultGraph') (2) The deprecated library Changing the condition as I mentioned and replacing request to the |
Oh, good catch. That looks wrong indeed!
We could even go a step further, and use fetch-sparql-endpoint, which would simplify the code quite a bit (and also simplify mocking in the unit tests). |
Ok, I will change this and see if I can fix the tests too. |
Hi, I use a simple LDF server encompassing three data sources: an HDT dump, a TTL dump, and an active SPARQL endpoint. The SPARQL endpoint I want to query is this one: https://mediag.bunka.go.jp/sparql Is there a way to solve this? Did I miss an update? |
Hi @RdNetwork, sorry for the delay. |
The Wikidata SPARQL endpoint doesn't work:
I use following configuration:
The text was updated successfully, but these errors were encountered: