brian and which tv character were born in the same setting?
Entity
m.07xh4gx
Gretchen Berg
class class entity
tv.tv_character fictional_universe.fictional_setting m.03pcvr
tv.tv_character fictional_universe.fictional_setting cvg.game_character
TV Character Fictional Setting brian
none none none
fictional_universe.fictional_character.place_of_birth fictional_universe.fictional_setting.fictional_characters_born_here
Place of Birth Fictional Characters Born Here
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 :tv.tv_character . 
?x1 :type.object.type :fictional_universe.fictional_setting . 
VALUES ?x2 { :m.03pcvr } 
?x0 :fictional_universe.fictional_character.place_of_birth ?x1 . 
?x1 :fictional_universe.fictional_setting.fictional_characters_born_here ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND tv.tv_character (JOIN fictional_universe.fictional_character.place_of_birth (JOIN fictional_universe.fictional_setting.fictional_characters_born_here m.03pcvr)))