corvette belongs to which automobile generation?
Entity Entity Entity Entity Entity
m.0bqjgj m.0bqkxn m.0bqlzt m.0bqm8k m.09gtmj
Chevrolet Corvette (C5) Chevrolet Corvette (C1) Chevrolet Corvette (C3) Chevrolet Corvette (C4) Chevrolet Corvette (C6)
class entity
automotive.generation m.01g8dv
automotive.generation automotive.model
Automobile generation corvette
none none
automotive.generation.model
Model
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.01g8dv } 
?x0 :automotive.generation.model ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.model m.01g8dv))