which automobile generation was the predecessor to toyota?
Entity Entity
m.080pcjm m.080n86d
Toyota Camry XV20 Toyota Camry XV30
class class entity
automotive.generation automotive.generation m.0h5y1j0
automotive.generation automotive.generation automotive.make
Automobile generation Automobile generation Toyota
none none none
automotive.generation.predecessor automotive.generation.make
Predecessor 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 . 
?x1 :type.object.type :automotive.generation . 
VALUES ?x2 { :m.0h5y1j0 } 
?x0 :automotive.generation.predecessor ?x1 . 
?x1 :automotive.generation.make ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND automotive.generation (JOIN automotive.generation.predecessor (JOIN automotive.generation.make m.0h5y1j0)))