what theater character lives in the same city as batman/bruce wayne?
Entity
m.070vn
Superman
class class entity
theater.theater_character fictional_universe.fictional_setting m.01d5g
theater.theater_character fictional_universe.fictional_setting cvg.game_character
Theater Character Fictional Setting batman/bruce wayne
none none none
fictional_universe.fictional_setting.characters_that_have_lived_here fictional_universe.fictional_character.places_lived
Characters that have lived here Places lived
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 . 
?x1 :type.object.type :fictional_universe.fictional_setting . 
VALUES ?x2 { :m.01d5g } 
?x1 :fictional_universe.fictional_setting.characters_that_have_lived_here ?x0 . 
?x2 :fictional_universe.fictional_character.places_lived ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND theater.theater_character (JOIN (R fictional_universe.fictional_setting.characters_that_have_lived_here) (JOIN (R fictional_universe.fictional_character.places_lived) m.01d5g)))