query-eae02e51bf5d36bb4463627cefc85dbf

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?itemLabel ?osmLink
WHERE
{
  ?item wdt:P5556 ?kleks . 
  BIND(URI(CONCAT("https://overpass-turbo.eu/?w=%22wikidata%22%3D%22", replace(str(?item),"http://www.wikidata.org/entity/",""),"%22+global&R")) AS ?osmLink)
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" . }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item") v2("?kleks") v3("?osmLink"):::projected c3(["bd:serviceParam"]):::iri c5(["de,en"]):::literal v1 --"wdt:P5556"--> v2 bind0[/"concat('https://overpass-turbo.eu/?w=%22wikidata%22%3D%22',replace(str(?item),'http://www.wikidata.org/entity/',''),'%22+global&R')"/] v1 --o bind0 bind0 --as--o v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c3 --"wikibase:language"--> c5 end