what locomotive class was manufactured by the company pacer?
Entity Entity Entity Entity Entity
m.0f3c79 m.066ygj m.0ds12_ m.083dxs m.0652q3
British Rail Class 141 British Rail Class 142 British Rail Class 140 British Rail Class 143 British Rail Class 144
class entity
rail.locomotive_class m.01w8s2
rail.locomotive_class rail.locomotive_class
Locomotive class Pacer
none none
rail.locomotive_class.parent_class
Parent class
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 :rail.locomotive_class . 
VALUES ?x1 { :m.01w8s2 } 
?x0 :rail.locomotive_class.parent_class ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.parent_class m.01w8s2))