-
Notifications
You must be signed in to change notification settings - Fork 0
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
App freezes on SPARQL SERVICE request #2
Comments
Trying to access
It seems to work with
|
According to https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service: |
I download the RDF data from the endpoint and upload to FUSEKI, then the query works. I started to doubt that the query on the server side is too large, which is causing the problem. I verify this by changing this line:
into return await client.post("https://query.wikidata.org/bigdata/namespace/wdq/sparql", params={'query': query, 'format': 'json'}) and type: SELECT * WHERE {
?sub ?pred ?obj .
} LIMIT 10 to the YASGUI editor Directly query to the endpoint works. It turns out that the data is way too large to process and your Using below query will fix the issue: select * where {
SERVICE <https://query.wikidata.org/bigdata/namespace/wdq/sparql> {
{
SELECT * WHERE {
?s ?p ?o .
} LIMIT 10
}
}
} The result: So we don't need to configure Fuseki. Fuseki/ontodocker can parse the results. |
Steps to reproduce:
Run the following SPARQL query:
The text was updated successfully, but these errors were encountered: