which class is the automotive class of automobile model whose sister model is the pontiac firebird trans am?
Entity Entity Entity
m.01d1dj m.012mq4 m.031jkp
Coupé Sports car Pony car
class class entity
automotive.automotive_class automotive.model m.0226ny
automotive.automotive_class automotive.model automotive.model
Automotive Class Automobile Model pontiac firebird trans am
none none none
automotive.model.automotive_class automotive.model.similar
Automotive Class Sister 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.automotive_class . 
?x1 :type.object.type :automotive.model . 
VALUES ?x2 { :m.0226ny } 
?x1 :automotive.model.automotive_class ?x0 . 
?x2 :automotive.model.similar ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND automotive.automotive_class (JOIN (R automotive.model.automotive_class) (JOIN (R automotive.model.similar) m.0226ny)))