what theater character appears in the play annie?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04fgxpk m.0j150pf m.0gzgx0c m.096sdx m.0kdxy8v m.0h2q7q2 m.0j15445 m.0j1546d m.0j1544m m.0h5wbl6 m.0j1545z m.0h33z5p m.0gxs9fc m.0j1543z m.0h5wbkk m.0j1544v m.0j1544d m.0nc_5p9 m.0h5wbks
Annie Drake Daniel Francis "Rooster" Hannigan Benjamin Stacks Franklin Roosevelt Miss Agatha Hannigan The Boylan sisters Louis Brandeis Bert Healy Pepper Lt. Ward Kate Lily St. Regis Duffy Grace Farrell Sandy July Tessie Molly
class entity
theater.theater_character m.01_1m4
theater.theater_character theater.play
Theater Character Annie
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_1m4 } 
?x0 :theater.theater_character.plays_appears_in ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND theater.theater_character (JOIN theater.theater_character.plays_appears_in m.01_1m4))