lightning has what breed temperament?
Entity Entity Entity Entity Entity Entity Entity Entity
m.04kqpjd m.04kp0r1 m.04kv4sj m.04kr4vb m.04kqp3l m.04kqqpd m.04kt8dr m.04kpkld
Obedient Curious Watchful Loyal Alert Courageous Confident Intelligent
class class entity
biology.breed_temperament biology.animal_breed m.0czf0vh
biology.breed_temperament biology.animal_breed biology.pedigreed_animal
Breed temperament Animal breed Lightning
none none none
biology.animal_breed.temperament biology.pedigreed_animal.breed
Temperament Breed
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.0czf0vh } 
?x1 :biology.animal_breed.temperament ?x0 . 
?x2 :biology.pedigreed_animal.breed ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND biology.breed_temperament (JOIN (R biology.animal_breed.temperament) (JOIN (R biology.pedigreed_animal.breed) m.0czf0vh)))