query-224213b52df79b58276d0f678060d307
title:Memoriali di guerra in Toscana SELECT ?monumento ?monumentoLabel ?comuneLabel ?coord WHERE { ?monumento wdt:P31 wd:Q575759 . ?monumento wdt:P131 ?comune . ?comune wdt:P131* wd:Q1273 . OPTIONAL { ?monumento wdt:P625 ?coord } . SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } } ORDER BY ?monumentoLabel
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:Memoriali di guerra in Toscana
SELECT ?monumento ?monumentoLabel ?comuneLabel ?coord
WHERE {
?monumento wdt:P31 wd:Q575759 .
?monumento wdt:P131 ?comune .
?comune wdt:P131* wd:Q1273 .
OPTIONAL { ?monumento wdt:P625 ?coord } .
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
ORDER BY ?monumentoLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?comune")
v4("?coord"):::projected
v2("?monumento"):::projected
v1("?monumentoLabel"):::projected
c2(["wd:Q575759"]):::iri
c7(["bd:serviceParam"]):::iri
c4(["wd:Q1273"]):::iri
c9(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v2 --"wdt:P31"--> c2
v2 --"wdt:P131"--> v3
v3 --"wdt:P131"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P625".-> v4
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end