which opera production staff is the same gender as heinz hoffmann?
Entity Entity
m.0n65dgq m.0vxdh0t
Lawrence Bland James Steele
class class entity
opera.opera_production_staff people.gender m.06w209k
opera.opera_production_staff people.gender government.politician
Opera Production Staffmember Gender Heinz Hoffmann
none none none
people.person.gender people.person.gender
Gender Gender
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_production_staff . 
?x1 :type.object.type :people.gender . 
VALUES ?x2 { :m.06w209k } 
?x0 :people.person.gender ?x1 . 
?x2 :people.person.gender ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND opera.opera_production_staff (JOIN people.person.gender (JOIN (R people.person.gender) m.06w209k)))