query-cc4b68dc135af37bd9fd10b9705e4ba0

rq turtle/ttl

(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

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

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c2(["wd:Q1197"]):::iri c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal c5(["wd:Q262166"]):::iri v1 --"wdt:P131"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end