rotary engine is the category for which engines?
Entity Entity Entity Entity
m.027xw2_ m.02qfx8q m.02x27mx m.02x2xzj
Le Rhône 9J Siemens-Halske Sh.III Bentley BR1 Bentley BR2
class entity
engineering.engine m.06hvz
engineering.engine engineering.engine_category
Engine Rotary engine
none none
engineering.engine.category
Category
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 :engineering.engine . 
VALUES ?x1 { :m.06hvz } 
?x0 :engineering.engine.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND engineering.engine (JOIN engineering.engine.category m.06hvz))