which animal breed originated in estonia?
Entity Entity
m.02rr0l5 m.03hk0w3
Tori horse Estonian Draft
class entity
biology.animal_breed m.02kmm
biology.animal_breed biology.breed_origin
Animal breed Estonia
none none
biology.animal_breed.place_of_origin
Place of origin
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.animal_breed . 
VALUES ?x1 { :m.02kmm } 
?x0 :biology.animal_breed.place_of_origin ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND biology.animal_breed (JOIN biology.animal_breed.place_of_origin m.02kmm))