Closed physikerwelt closed 8 months ago
@Daniel-Mietchen do you know by chance how to work around the timeout in SPARQL, I tried limit and offset, but the larger the offset gets the slower the query is.
@physikerwelt
SPARQL optimization is generally query specific but here are some general ways to address the problem:
SERVICE bd:sample { ?item wdt:P31 wd:Q57162 . bd:serviceParam bd:sample.limit 2000000 }
, which is not SPARQL but a Blazegraph-compatible service that calls the Wikibase API. We could then have a non-SPARQL script loop over this list and query for additional information like labels.All pages have been created, however, some pages have errors.
Describe the issue
SELECT (COUNT(*) as ?Triples) WHERE { ?item wdt:P31 wd:Q57162}
done via subquery. This was actually a novel idea documented nowhere.
subtask of https://github.com/MaRDI4NFDI/MaRDIRoadmap/issues/19