query-cc4b68dc135af37bd9fd10b9705e4ba0
(recursively). It’s much more efficient to do it the other way around: (Q1197)Lower Saxony (P131)located in the administrative territorial entity (including subclasses) before limiting them to (Q262166)municipality in Germany (P31)instance of As written, this will time out because the query service will attempt to start with all (récursivement). Il est beaucoup plus efficace de contourner cela autrement : (Q1197)Lower Saxony (P131)located in the administrative territorial entity (y compris les sous-classes) avant de les limiter à (Q262166)municipality in Germany (P31)instance of Tel que c'est écrit, cela dépassera le temps maximal d'exécution autorisé car le service de requête essaiera de commencer par tous les (recursively). It’s much more efficient to do it the other way around: (Q1197)Lower Saxony (P131)located in the administrative territorial entity (including subclasses) before limiting them to (Q262166)municipality in Germany (P31)instance of As written, this will time out because the query service will attempt to start with all (recursief). Het is veel efficiënter om het andersom te doen. (Q1197)Lower Saxony (P131)located in the administrative territorial entity (inclusief subclasses) voordat ze worden beperken tot (Q262166)municipality in Germany (P31)instance of Zoals geschreven, zal dit uitlopen omdat de query service zal proberen te beginnen met alle TODO (recursively). It’s much more efficient to do it the other way around: (Q1197)Lower Saxony (P131)located in the administrative territorial entity (including subclasses) before limiting them to (Q262166)municipality in Germany (P31)instance of As written, this will time out because the query service will attempt to start with all (recursively). It’s much more efficient to do it the other way around: (Q1197)Lower Saxony (P131)located in the administrative territorial entity (including subclasses) before limiting them to (Q262166)municipality in Germany (P31)instance of As written, this will time out because the query service will attempt to start with all (recursively). It’s much more efficient to do it the other way around: (Q1197)Lower Saxony (P131)located in the administrative territorial entity (including subclasses) before limiting them to (Q262166)municipality in Germany (P31)instance of As written, this will time out because the query service will attempt to start with all
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel WHERE {
?item wdt:P131+ wd:Q1197;
wdt:P31/wdt:P279* wd:Q262166.
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/en
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/fr
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/hy
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/nl
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/pt
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/ru
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/uk
- https://www.wikidata.org/wiki/Wikidata:SPARQL_query_service/query_optimization/zh