what gender is the film character born in giedi prime?
Entity
m.05zppz
Male
class class entity
fictional_universe.character_gender film.film_character m.02r2kw
fictional_universe.character_gender film.film_character fictional_universe.fictional_setting
Character Gender Film character Giedi Prime
none none none
fictional_universe.fictional_character.gender fictional_universe.fictional_character.place_of_birth
Gender Place of Birth
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 :fictional_universe.character_gender . 
?x1 :type.object.type :film.film_character . 
VALUES ?x2 { :m.02r2kw } 
?x1 :fictional_universe.fictional_character.gender ?x0 . 
?x1 :fictional_universe.fictional_character.place_of_birth ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND fictional_universe.character_gender (JOIN (R fictional_universe.fictional_character.gender) (JOIN fictional_universe.fictional_character.place_of_birth m.02r2kw)))