which automotive class has an automobile model as one of examples that is the model of john lennon's rolls-royce?
Entity
m.021mp2
Sedan
class class entity
automotive.automotive_class automotive.model m.0kq0bsn
automotive.automotive_class automotive.model automotive.privately_owned_vehicle
Automotive Class Automobile Model John Lennon's Rolls-Royce
none none none
automotive.automotive_class.examples automotive.privately_owned_vehicle.model
Examples 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.automotive_class . 
?x1 :type.object.type :automotive.model . 
VALUES ?x2 { :m.0kq0bsn } 
?x0 :automotive.automotive_class.examples ?x1 . 
?x2 :automotive.privately_owned_vehicle.model ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND automotive.automotive_class (JOIN automotive.automotive_class.examples (JOIN (R automotive.privately_owned_vehicle.model) m.0kq0bsn)))