the plays something's afoot appears in is which theater character?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0j1bvsj m.0j1bvsz m.0j1bvrw m.0j1bvtd m.0j1bvs2 m.0j1bvrf m.0j1bvrn m.0j1bvt5 m.0j1bvsr m.0j1bvs9
Flint Lettie Hope Langdon Miss Tweed Lady Grace Manley-Prowde Dr. Grayburn Colonel Gillweather Nigel Rancour Clive Geoffrey
class entity
theater.theater_character m.05t1z1
theater.theater_character theater.play
Theater Character Something's Afoot
none none
theater.theater_character.plays_appears_in
Plays Appears In
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 :theater.theater_character . 
VALUES ?x1 { :m.05t1z1 } 
?x0 :theater.theater_character.plays_appears_in ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.theater_character (JOIN theater.theater_character.plays_appears_in m.05t1z1))