what occupation does the character with rape hold?
Entity
m.04kbh5t
Nuclear Safety Inspector
class class entity
fictional_universe.character_occupation theater.theater_character m.06g5z
fictional_universe.character_occupation theater.theater_character fictional_universe.medical_condition_in_fiction
Character Occupation Theater Character Rape
none none none
fictional_universe.fictional_character.occupation fictional_universe.medical_condition_in_fiction.characters_with_this_condition
Occupation Characters with this condition
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 :fictional_universe.character_occupation . 
?x1 :type.object.type :theater.theater_character . 
VALUES ?x2 { :m.06g5z } 
?x1 :fictional_universe.fictional_character.occupation ?x0 . 
?x2 :fictional_universe.medical_condition_in_fiction.characters_with_this_condition ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND fictional_universe.character_occupation (JOIN (R fictional_universe.fictional_character.occupation) (JOIN (R fictional_universe.medical_condition_in_fiction.characters_with_this_condition) m.06g5z)))