what males pedigreed animal breeds in jack russels?
Entity Entity
m.04ypqxh m.04zkgvt
Martini Jack
class entity entity
biology.pedigreed_animal m.01d7fl m.05zppz
biology.pedigreed_animal biology.animal_breed people.gender
Pedigreed animal jack russels males
none none none
biology.pedigreed_animal.breed biology.organism.sex
Breed Sex
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 :biology.pedigreed_animal . 
VALUES ?x1 { :m.01d7fl } 
VALUES ?x2 { :m.05zppz } 
?x0 :biology.pedigreed_animal.breed ?x1 . 
?x0 :biology.organism.sex ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND biology.pedigreed_animal (AND (JOIN biology.pedigreed_animal.breed m.01d7fl) (JOIN biology.organism.sex m.05zppz)))