query-184a4143467169484403621ae36b1412

rq turtle/ttl

Trouver les parcs provinciaux sans l'ID P809

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 DISTINCT ?item ?itemLabel ?coord 
WHERE {
        ?item wdt:P31/wdt:P279* wd:Q2006279 .
  FILTER NOT EXISTS { ?item wdt:P809 ?end }
  FILTER NOT EXISTS { ?item wdt:P576 ?end }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . } 
}
ORDER BY ?itemLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?end") v2("?item"):::projected v1("?itemLabel"):::projected a1((" ")) c7(["bd:serviceParam"]):::iri c5(["wd:Q2006279"]):::iri c9(["en"]):::literal f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P576"--> e0v2 e0v2("?end"):::projected e0v1("?item"):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> v3 v2 --"wdt:P576"--> v3 f1[["not "]] subgraph f1e1["Exists Clause"] e1v1 --"wdt:P809"--> e1v2 e1v2("?end"):::projected e1v1("?item"):::projected end f1--EXISTS--> f1e1 f1 --> v2 f1 --> c2 f1 --> v3 v2 --"wdt:P809"--> v3 v2 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end