Give me {ethnic group} that {language used} {Sioux} and which contains the word {sioux} in their name
Tell me me a ethnic group whose name consist of the phrase "sioux" and whose language used Sioux
Tell me me a ethnic group whose name consist of the word "sioux" and whose language used Sioux
SELECT DISTINCT ?r WHERE { FILTER ( CONTAINS ( LCASE ( ?r ) , 'sioux' ) ) . ?r rdf:type ontology:ethnic_group . ?r property:language_used resource:Sioux }
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/Q41710>. ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?sbj . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P2936> . ?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q13268>. ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sioux')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25
SELECT DISTINCT ?sbj ?sbj_label WHERE { ?sbj wdt:P31 wd:Q41710 . ?sbj wdt:P2936 wd:Q13268 . ?sbj rdfs:label ?sbj_label . FILTER(CONTAINS(lcase(?sbj_label), 'sioux')) . FILTER (lang(?sbj_label) = 'en') } LIMIT 25 
Sioux Sioux