what kind of profession does a theater producer have?
Entity
m.05sxg2
Theatrical producer
class entity
people.profession m.0252jtd
people.profession type.type
Profession Theater Producer
none none
people.profession.corresponding_type
Corresponding type
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 :people.profession . 
VALUES ?x1 { :m.0252jtd } 
?x0 :people.profession.corresponding_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND people.profession (JOIN people.profession.corresponding_type m.0252jtd))