the plays the playboy of the western world appears in is which theater character?
Entity Entity Entity Entity Entity
m.0j1bcfp m.0j1bcg3 m.0j1bcfx m.0j1bcgb m.0j1bcgk
Shawn Keogh Christy Mahon Margaret Flaherty Michael James Flaherty Old Mahon
class entity
theater.theater_character m.078_c5
theater.theater_character theater.play
Theater Character The Playboy of the Western World
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.078_c5 } 
?x0 :theater.theater_character.plays_appears_in ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.theater_character (JOIN theater.theater_character.plays_appears_in m.078_c5))