query-5b25f5395dafe32c6c29c5f471a2f189
title: Judicial arrondissements in Belgium (should be 12) SELECT DISTINCT ?item ?itemLabel WHERE { ?item wdt:P31 wd:Q94524 . MINUS { ?item wdt:P576 [] } MINUS { ?item wdt:P582 [] } SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en". } }
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#>
#title: Judicial arrondissements in Belgium (should be 12)
SELECT DISTINCT ?item ?itemLabel WHERE {
?item wdt:P31 wd:Q94524 .
MINUS { ?item wdt:P576 [] }
MINUS { ?item wdt:P582 [] }
SERVICE wikibase:label { bd:serviceParam wikibase:language "nl,fr,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a1((" "))
a2((" "))
c8(["nl,fr,en"]):::literal
c6(["bd:serviceParam"]):::iri
c2(["wd:Q94524"]):::iri
v1 --"wdt:P31"--> c2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P576"--> a1
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P582"--> a2
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end