query-1ed3c6ed4938aa81cf3aa95fc2a4591f

rq turtle/ttl

TODO

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#>
SELECT ?chiesa ?chiesaLabel ?coordinate_geografiche WHERE
{
   { SELECT ?chiesa WHERE {
  ?chiesa wdt:P131* wd:Q16289.
  } }        
  ?chiesa wdt:P31/wdt:P279* wd:Q16970.
  OPTIONAL { ?chiesa wdt:P625 ?coordinate_geografiche. }
  SERVICE wikibase:label { bd:serviceParam wikibase:language "it,en". }
}

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((" ")) c8(["bd:serviceParam"]):::iri c10(["it,en"]):::literal c5(["wd:Q16970"]):::iri c2(["wd:Q16289"]):::iri v1 --"wdt:P131"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end