which award judge was born in the canada and is males?
Entity Entity Entity Entity
m.03fjl m.05ldnp m.0d_w7 m.01gxw3
Geoff Ryman Paul Haggis Frank Gehry Ed Greenwood
class entity entity
award.award_judge m.0d060g m.05zppz
award.award_judge location.country people.gender
Award Judge Canada males
none none none
people.person.nationality people.person.gender
Country of nationality Gender
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 :award.award_judge . 
VALUES ?x1 { :m.0d060g } 
VALUES ?x2 { :m.05zppz } 
?x0 :people.person.nationality ?x1 . 
?x0 :people.person.gender ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND award.award_judge (AND (JOIN people.person.nationality m.0d060g) (JOIN people.person.gender m.05zppz)))