which automobile has a generation number of 8?
Entity Entity
m.04jnqyf m.09gct9n
Eighth Generation Honda Civic Eighth Generation Honda Accord (North America)
class literal
automotive.generation 8^^http://www.w3.org/2001/XMLSchema#integer
automotive.generation type.int
Automobile generation 8
none none
automotive.generation.generation_number
Generation Number
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 { "8"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :automotive.generation.generation_number ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.generation_number 8^^http://www.w3.org/2001/XMLSchema#integer))