query-260da6f29d0dab75512c829256237948
No PopulationMunicipalities with no population listed. This should be empty.
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 ?id ?idLabel ?time ?detLabel WHERE {
?id (wdt:P31/(wdt:P279*)) wd:Q54115138.
FILTER(NOT EXISTS { ?id wdt:P1082 ?pop. })
FILTER(NOT EXISTS { ?id wdt:P576 ?eol. })
SERVICE wikibase:label { bd:serviceParam wikibase:language "en". }
}
ORDER BY (?idLabel)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?eol")
v2("?id"):::projected
v1("?idLabel"):::projected
v4("?pop")
a1((" "))
c5(["wd:Q54115138"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P576"--> e0v2
e0v2("?eol"):::projected
e0v1("?id"):::projected
end
f0--EXISTS--> f0e0
f0 --> v2
f0 --> c1
f0 --> v3
v2 --"wdt:P576"--> v3
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --"wdt:P1082"--> e1v2
e1v1("?id"):::projected
e1v2("?pop"):::projected
end
f1--EXISTS--> f1e1
f1 --> v2
f1 --> c2
f1 --> v4
v2 --"wdt:P1082"--> v4
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