query-9dd7b08eb6efcd887e5534bd6f37e5fe
Railway stations in Kosovo1 result
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#>
#defaultView:Map
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item wdt:P31/wdt:P279* wd:Q55488;
wdt:P17 wd:Q1246; # (wdt:P17|wdt:P131)+ times out
wdt:P625 ?coord .
SERVICE wikibase:label { bd:serviceParam wikibase:language "sq,sr,en" } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?coord"):::projected
v1("?item"):::projected
a1((" "))
c8(["bd:serviceParam"]):::iri
c3(["wd:Q55488"]):::iri
c10(["sq,sr,en"]):::literal
c5(["wd:Q1246"]):::iri
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P17"--> c5
v1 --"wdt:P625"--> v2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c8 --"wikibase:language"--> c10
end