what automobile class is shared by both the triumph roadster and the model whose predecessor was the mg d-type midget?
Entity
m.012mq4
Sports car
class class entity entity
automotive.automotive_class automotive.model m.0bmg1_ m.0g2rqf
automotive.automotive_class automotive.model automotive.model automotive.model
Automotive Class Automobile Model MG D-type Midget Triumph Roadster
none none none none
automotive.automotive_class.examples automotive.model.predecessor automotive.automotive_class.examples
Examples Predecessor Examples
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.0bmg1_ } 
VALUES ?x3 { :m.0g2rqf } 
?x0 :automotive.automotive_class.examples ?x1 . 
?x2 :automotive.model.predecessor ?x1 . 
?x0 :automotive.automotive_class.examples ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND automotive.automotive_class (AND (JOIN automotive.automotive_class.examples (JOIN (R automotive.model.predecessor) m.0bmg1_)) (JOIN automotive.automotive_class.examples m.0g2rqf)))