what is the class of locomotives built by bombardier voyager family?
Entity Entity Entity
m.054048 m.051xy7 m.05406h
British Rail Class 220 British Rail Class 222 British Rail Class 221
class entity
rail.locomotive_class m.0bghk1
rail.locomotive_class rail.locomotive_class
Locomotive class Bombardier Voyager family
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.0bghk1 } 
?x0 :rail.locomotive_class.parent_class ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.parent_class m.0bghk1))