toyota is part of which automobile generation?
Entity Entity
m.0410wml m.080pcjm
Toyota Camry XV10 Toyota Camry XV20
class entity
automotive.generation m.0h5y1j0
automotive.generation automotive.make
Automobile generation Toyota
none none
automotive.generation.make
Make
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 :automotive.generation . 
VALUES ?x1 { :m.0h5y1j0 } 
?x0 :automotive.generation.make ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.make m.0h5y1j0))