query-243fdfa64f54f28e68d4945d8e011bb0

rq turtle/ttl

Lavoro da fare ci stiamo mettendo a fare un po' di retropatrolling. Se ti capitasse almeno per l'Umbria (noi facciamo la Toscana) inizia a dare un'occhiata a query come questa User:EpìdosisCiao con

Use at

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 "200" . }
  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(["200"]):::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