what is the generation of the datsun/nissan z-car?
Entity Entity Entity
m.02nbg9v m.03m9mv m.040xlr
The Fourth Generation (Z32): 300ZX Fifth Generation Nissan Z-car (Z33) First Generation Nissan Z-car (S30)
class entity
automotive.generation m.088yk
automotive.generation automotive.model
Automobile generation Datsun/Nissan Z-car
none none
automotive.generation.models
Models
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.088yk } 
?x0 :automotive.generation.models ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.models m.088yk))