query-aeaa5f246c96bff77a14cb12123a7054
TODO
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#>
SELECT DISTINCT ?value ?valueLabel
WHERE {
?value wdt:P31 wd:Q37484 .
?value rdfs:label ?valueLabel . FILTER(lang(?valueLabel)='en') .
FILTER CONTAINS( LCASE(?valueLabel), 'a' )
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?value"):::projected
v1("?valueLabel"):::projected
c4(["wd:Q37484"]):::iri
f0[["contains(lower-case(?valueLabel),'a')"]]
f0 --> v1
f1[["?valueLabel = 'en'"]]
f1 --> v1
v2 --"wdt:P31"--> c4
v2 --"rdfs:label"--> v1