hansel and gretel is produced by which opera company?
Entity
m.0hk3lsx
CU Opera
class entity
opera.opera_company m.0hk3mvc
opera.opera_company opera.opera_production
Opera Company Hansel and Gretel
none none
opera.opera_company.operas_produced
Operas Produced
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 :opera.opera_company . 
VALUES ?x1 { :m.0hk3mvc } 
?x0 :opera.opera_company.operas_produced ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND opera.opera_company (JOIN opera.opera_company.operas_produced m.0hk3mvc))