what generation of automobile did buehrig design?
Entity Entity
m.0cpqxrj m.059ngq9
Stutz Black Hawks Auburn 851S
class entity
automotive.generation m.03xtw4
automotive.generation automotive.designer
Automobile generation buehrig
none none
automotive.generation.designer
Designer
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.03xtw4 } 
?x0 :automotive.generation.designer ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.generation (JOIN automotive.generation.designer m.03xtw4))