query-31f53734d9df9cc1c653ef661d9ea0c8
Text filter OR likeHello, I'd like to get multiples rows given specified text. Is there a way to write DLO or ALA (but writing UNION) ?
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT distinct ?item ?itemLabel WHERE {
{?item wdt:P238 "DLO", "ALA" .} #item has a P238 value
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" } . #this bit gets labels for Qid values
}