query-5c53439b2d77f16f85661a9ab3bbe227
Map of Czech villages with name ending with -no
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
#Map of Czech villages with name ending with -no
#defaultView:Map{"hide":["?coord"]}
SELECT DISTINCT ?item ?itemLabel ?coord WHERE {
?item (wdt:P31/wdt:P279*) wd:Q486972.
?item wdt:P17 wd:Q213.
?item wdt:P625 ?coord.
?item rdfs:label ?itemLabel.
FILTER((LANG(?itemLabel)) = "cs")
FILTER(STRENDS(?itemLabel, "no"))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coord"):::projected
v2("?item"):::projected
v1("?itemLabel"):::projected
a1((" "))
c5(["wd:Q486972"]):::iri
c7(["wd:Q213"]):::iri
f0[["ends-with(?itemLabel,'no')"]]
f0 --> v1
f1[["?itemLabel = 'cs'"]]
f1 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v2 --"wdt:P17"--> c7
v2 --"wdt:P625"--> v3
v2 --"rdfs:label"--> v1