query-e41934e2c022a79c65287d39fc3ce5cb
TODO
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 ?chiesa ?chiesaLabel ?coordinate_geografiche WHERE {
SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en". }
?chiesa (wdt:P31/(wdt:P279*)) wd:Q16970;
(wdt:P131/wdt:P131/wdt:P131) wd:Q16289.
OPTIONAL { ?chiesa wdt:P625 ?coordinate_geografiche. }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?chiesa"):::projected
v2("?coordinate_geografiche"):::projected
a1((" "))
a2((" "))
a3((" "))
c2(["bd:serviceParam"]):::iri
c4(["it,en"]):::literal
c7(["wd:Q16970"]):::iri
c9(["wd:Q16289"]):::iri
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c2 --"wikibase:language"--> c4
end
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c7
v1 --"wdt:P131"--> a2
a2 --"wdt:P131"--> a3
a3 --"wdt:P131"--> c9
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v2
end