query-1505f4b8e115aa909bc0c8e256bada8e
Quando manca tutto: P31, P17, P131Ecco un elenco di casi belli gravi, che credo sia meglio ripulire a mano (305 in questo momento):
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#>
#defaultView:Map
SELECT ?item ?itemLabel ?itemDescription ?coord
WHERE {
wd:Q2044 wdt:P625 ?center
SERVICE wikibase:around {
?item wdt:P625 ?coord .
bd:serviceParam wikibase:center ?center .
bd:serviceParam wikibase:radius "150" . }
MINUS {?item wdt:P31 ?inst}
MINUS {?item wdt:P17 ?country}
MINUS {?item wdt:P131 ?adm}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v6("?adm")
v1("?center")
v3("?coord"):::projected
v5("?country")
v4("?inst")
v2("?item"):::projected
c13(["#91;AUTO_LANGUAGE#93;,it,en"]):::literal
c7(["150"]):::literal
c4(["bd:serviceParam"]):::iri
c1(["wd:Q2044"]):::iri
c1 --"wdt:P625"--> v1
subgraph s1["http://wikiba.se/ontology#around"]
style s1 stroke-width:4px;
v2 --"wdt:P625"--> v3
c4 --"wikibase:center"--> v1
c4 --"wikibase:radius"--> c7
end
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P31"--> v4
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P17"--> v5
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v2 --"wdt:P131"--> v6
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c4 --"wikibase:language"--> c13
end