Give me {district of Austria} that contains the word {wels} in their name
Let me know locale of Austria whose title has the word wels in it.
Tell me district of Austria whose name has the word wels in it.
SELECT DISTINCT ?v WHERE { ?v rdf:type ontology:district_of_Austria . FILTER ( CONTAINS ( LCASE ( ?v ) , 'wels' ) ) }
SELECT DISTINCT ?sbj ?sbj_label { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P31> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q871419>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wels')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q871419 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'wels')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Wels Wels Wels-Land District Wels-Land District