which class of locomotives are built by kawasaki?
Entity Entity Entity Entity Entity Entity
m.0521s92 m.05228pn m.07k7pl5 m.07kf8vq m.02rdntq m.0k2kmn7
JR Freight Class EF510 JNR Class EH10 JR Freight Class EF500 JNR Class D50 JNR Class DE10 China Railways JF
class entity
rail.locomotive_class m.0g704
rail.locomotive_class rail.locomotive_builder
Locomotive class kawasaki
none none
rail.locomotive_class.built_by
Built by
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.0g704 } 
?x0 :rail.locomotive_class.built_by ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.locomotive_class (JOIN rail.locomotive_class.built_by m.0g704))