what theater character appears in the play damn yankees?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0j13m8d m.0j13m6w m.0j13m7j m.0j13m85 m.0j13m6n m.0j13mc1 m.0j13m79 m.0j13m7r m.0j13m7z m.0j13m6f m.0j13m72 m.0j13m66
Gloria Thorpe Van Buren Joe Boyd Lola Smokey Rocky Mr. Welch Doris Mr. Applegate Sister Joe Hardy Meg Boyd
class entity
theater.theater_character m.01_rgt
theater.theater_character theater.play
Theater Character Damn Yankees
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.01_rgt } 
?x0 :theater.theater_character.plays_appears_in ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.theater_character (JOIN theater.theater_character.plays_appears_in m.01_rgt))