bayerische motoren werke ag makes what kind of engine?
Entity Entity Entity Entity Entity
m.0h38mcq m.0h3brz4 m.03lf5_ m.03ysv9s m.0h38r1j
BMW 3.0L 6 cylinder 240hp 221 ft-lbS BMW 3.0L 6 cylinder 335 hp 332 ft-lbs Turbo BMW M10 BMW 4.0L 8 cylinder 414 hp 295 ft-lbs BMW 4.4L 8 cylinder 555hp 500 ft-lbs Turbo
class entity
automotive.engine m.0h6dlrc
automotive.engine automotive.make
Engine bayerische motoren werke ag
none none
automotive.engine.make
Make
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.engine . 
VALUES ?x1 { :m.0h6dlrc } 
?x0 :automotive.engine.make ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND automotive.engine (JOIN automotive.engine.make m.0h6dlrc))