Is there a way to get the Wikidata Query Service to report the total time taken to evaluate a query? This would be better than estimating the time from the elapsed time between a request and the beginning of a response.
peter
Hi Peter,
This isn't perfect as there's a race condition in the Blazegraph code if the query runs "too fast" [1], but if I understood the question correctly, would something like the following help?
curl https://query.wikidata.org/sparql \ -d "query= SELECT * WHERE { ?s ?p ?o } limit 1000" \ -d "explain" -o ~/explainSimple.html
( equivalent GET URL: https://query.wikidata.org/sparql?explain&query=select%20*%20where%20%7B... )
curl https://query.wikidata.org/sparql \ -d "query= SELECT * WHERE { ?s ?p ?o } limit 1000" \ -d "explain=details" -o ~/explainDetails.html
( equivalent GET URL: https://query.wikidata.org/sparql?explain=details&query=select%20*%20whe... )
-Adam
[2] https://github.com/blazegraph/database/wiki/Explain
On Fri, Sep 6, 2024 at 10:11 AM Peter F. Patel-Schneider < [email protected]> wrote:
Is there a way to get the Wikidata Query Service to report the total time taken to evaluate a query? This would be better than estimating the time from the elapsed time between a request and the beginning of a response.
peter _______________________________________________ Wikidata mailing list -- [email protected] Public archives at https://lists.wikimedia.org/hyperkitty/list/[email protected]/mes... To unsubscribe send an email to [email protected]