what deceased person of the american indian group speaks apache, western language?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0c2b5g m.06zprwq m.08hs42 m.01p8pc m.03g_r31 m.07gjnm m.01gclr m.027xw84 m.043j3y m.05nfj6 m.07gjxv m.09w619 m.0ch5gwf m.0f8xmw
Allan Houser Carlos Montezuma Dahteste Cochise Nana Mangas Coloradas Geronimo Naiche Victorio Lozen Juh Chief Taza Jim Gouyen
class class entity
people.deceased_person people.american_indian_group m.0gsghz
people.deceased_person people.american_indian_group language.human_language
Deceased Person American Indian group Apache, Western Language
none none none
people.person.ethnicity people.ethnicity.languages_spoken
Ethnicity Languages spoken
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :people.deceased_person . 
?x1 :type.object.type :people.american_indian_group . 
VALUES ?x2 { :m.0gsghz } 
?x0 :people.person.ethnicity ?x1 . 
?x1 :people.ethnicity.languages_spoken ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND people.deceased_person (JOIN people.person.ethnicity (JOIN people.ethnicity.languages_spoken m.0gsghz)))