query-860cde8de092b40a8e8dbe9eaf8239ed

rq turtle/ttl

View from an external websiteMoin Moin at all, I've there a query, which I have linked to an external website via iframe.

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 ?Kirche ?KircheLabel ?geographische_Koordinaten ?GeoNames_ID ?Bild WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
  ?Kirche wdt:P31 wd:Q16970.
  ?Kirche wdt:P131 wd:Q23787499.
  OPTIONAL { ?Kirche wdt:P625 ?geographische_Koordinaten. }
  OPTIONAL { ?Kirche wdt:P1566 ?GeoNames_ID. }
  OPTIONAL { ?Kirche wdt:P18 ?Bild. }
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v4("?Bild"):::projected v3("?GeoNames_ID"):::projected v1("?Kirche"):::projected v2("?geographische_Koordinaten"):::projected c4(["#91;AUTO_LANGUAGE#93;,de"]):::literal c2(["bd:serviceParam"]):::iri c8(["wd:Q23787499"]):::iri c6(["wd:Q16970"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"wdt:P31"--> c6 v1 --"wdt:P131"--> c8 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v2 end subgraph optional1["(optional)"] style optional1 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P1566".-> v3 end subgraph optional2["(optional)"] style optional2 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P18".-> v4 end