query-5ac4bc4e56203e792957d37d104c587c

rq turtle/ttl

Cabinets with no applies to jurisdiction (P1001) fields to lots of national cabinets (and tidying up some other modelling whilst there) (P1001)applies to jurisdiction Starting the day by adding

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 ?cabinet ?cabinetLabel
WHERE {      
  ?cabinet wdt:P279* wd:Q640506 
  FILTER NOT EXISTS { ?cabinet wdt:P1001 [] }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" . }
}
ORDER BY ?cabinetLabel

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?cabinet"):::projected v1("?cabinetLabel"):::projected a1((" ")) c5(["bd:serviceParam"]):::iri c7(["en"]):::literal c3(["wd:Q640506"]):::iri f0[["not "]] subgraph f0e0["Exists Clause"] e0v1 --"wdt:P1001"--> e0a1 e0v1("?cabinet"):::projected e0a1((" ")):::projected end f0--EXISTS--> f0e0 f0 --> v2 f0 --> c1 f0 --> a1 v2 --"wdt:P1001"--> a1 v2 --"wdt:P279"--> c3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end