query-98bab2dff09b1e38c4eb74924ae5a712
E anche la P17 ...... qualche problemino ce l'ha! Manca P17
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 "30" . }
MINUS {?item wdt:P17 ?country}
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],it,en". }
}
Query found at
- https://www.wikidata.org/wiki/User:Alexmar983/Queries
- https://www.wikidata.org/wiki/User_talk:Alexmar983
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?center")
v3("?coord"):::projected
v4("?country")
v2("?item"):::projected
c11(["#91;AUTO_LANGUAGE#93;,it,en"]):::literal
c4(["bd:serviceParam"]):::iri
c1(["wd:Q2044"]):::iri
c7(["30"]):::literal
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:P17"--> v4
end
subgraph s2["http://wikiba.se/ontology#label"]
style s2 stroke-width:4px;
c4 --"wikibase:language"--> c11
end