query-30d7f2a4b7d5e506a2930c492d7de62e
TODO
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 schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?itemLabel ?coords
WHERE
{
?item wdt:P31/wdt:P279* wd:Q473972 .
?item wdt:P17 wd:Q39.
?item wdt:P625 ?coords .
?item schema:description ?itemDescription . filter(lang(?itemDescription)="en")
FILTER(CONTAINS(?itemDescription,"CH05"))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?coords"):::projected
v2("?item"):::projected
v1("?itemDescription")
a1((" "))
c5(["wd:Q473972"]):::iri
c7(["wd:Q39"]):::iri
c11(["bd:serviceParam"]):::iri
c13(["#91;AUTO_LANGUAGE#93;,en"]):::literal
f0[["contains(?itemDescription,'CH05')"]]
f0 --> v1
f1[["?itemDescription = 'en'"]]
f1 --> v1
v2 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c5
v2 --"wdt:P17"--> c7
v2 --"wdt:P625"--> v3
v2 --"schema:description"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end