which character appears in how kid brady assisted a damsel in distress?
Entity
m.04xg4h5
Kid Brady
class entity
book.book_character m.010p_7n0
book.book_character book.short_story
Book Character How Kid Brady Assisted a Damsel in Distress
none none
book.book_character.appears_in_stories
Appears In Stories
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 :book.book_character . 
VALUES ?x1 { :m.010p_7n0 } 
?x0 :book.book_character.appears_in_stories ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND book.book_character (JOIN book.book_character.appears_in_stories m.010p_7n0))