what breed temperament has breeds that is the breeds of red sesame?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04kpkm4 m.04kr5dq m.04l4892 m.04kr4vb m.04kqp3l m.04kt8dr m.04kpkld m.04krkz0 m.04kt7km m.04kt3z7 m.04kpkrm m.04lbzq_
Agile Faithful Brave Loyal Alert Confident Intelligent Energetic Keen Fearless Charming Cautious
class class entity
biology.breed_temperament biology.animal_breed m.04lbzry
biology.breed_temperament biology.animal_breed biology.breed_coloring
Breed temperament Animal breed Red Sesame
none none none
biology.breed_temperament.breeds biology.breed_coloring.breeds
Breeds Breeds
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.breed_temperament . 
?x1 :type.object.type :biology.animal_breed . 
VALUES ?x2 { :m.04lbzry } 
?x0 :biology.breed_temperament.breeds ?x1 . 
?x2 :biology.breed_coloring.breeds ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND biology.breed_temperament (JOIN biology.breed_temperament.breeds (JOIN (R biology.breed_coloring.breeds) m.04lbzry)))