turbostar builds what class of locomotive?
Entity Entity Entity Entity
m.02vk8k1 m.02vkv91 m.03zdm3 m.06_8tk
British Rail Class 171 British Rail Class 172 British Rail Class 170 British Rail Class 168
class entity
rail.locomotive_class m.02vk7p9
rail.locomotive_class rail.locomotive_class
Locomotive class Turbostar
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.02vk7p9 } 
?x0 :rail.locomotive_class.parent_class ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.parent_class m.02vk7p9))