query-980b4af2c37268cd7ec14bf4092be0bc
title: items by country without coordinates and without country (and without god and without patriarchy) SELECT ?item ?itemLabel ?itemDescription WHERE { filter not exists {?item wdt:P17 [] .} ?item wdt:P131/wdt:P279 wd:Q40 . #?item wdt:P31/wdt:P279 ?isA . #VALUES ?isA {wd:Q271669 wd:Q486972} filter not exists { ?item wdt:P625 [] .} SERVICE wikibase:label { bd:serviceParam wikibase:language '[AUTO_LANGUAGE,de,en]' } } limit 10000
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: items by country without coordinates and without country (and without god and without patriarchy)
SELECT ?item ?itemLabel ?itemDescription WHERE {
filter not exists {?item wdt:P17 [] .}
?item wdt:P131*/wdt:P279* wd:Q40 .
#?item wdt:P31*/wdt:P279* ?isA .
#VALUES ?isA {wd:Q271669 wd:Q486972}
filter not exists { ?item wdt:P625 [] .}
SERVICE wikibase:label { bd:serviceParam wikibase:language '[AUTO_LANGUAGE,de,en]' }
} limit 10000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
a2((" "))
a1((" "))
a3((" "))
c7(["bd:serviceParam"]):::iri
c5(["wd:Q40"]):::iri
c9(["#91;AUTO_LANGUAGE,de,en#93;"]):::literal
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P625"--> e0a1
e0v1("?item"):::projected
e0a1((" ")):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> a1
v1 --"wdt:P625"--> a1
f1[["not "]]
subgraph f1e1["Exists Clause"]
e1v1 --"wdt:P17"--> e1a1
e1v1("?item"):::projected
e1a1((" ")):::projected
end
f1--EXISTS--> f1e1
f1 --> v1
f1 --> c2
f1 --> a2
v1 --"wdt:P17"--> a2
v1 --"wdt:P131"--> a3
a3 --"wdt:P279"--> c5
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end