what do the breeds of ace the wonder dog and border terrier share in terms of temperament?
Entity Entity Entity
m.04kqpjd m.04kqp3l m.04kpkld
Obedient Alert Intelligent
class class entity entity
biology.breed_temperament biology.animal_breed m.02qnlng m.0353h4
biology.breed_temperament biology.animal_breed biology.pedigreed_animal biology.animal_breed
Breed temperament Animal breed Ace the Wonder Dog Border Terrier
none none none none
biology.animal_breed.temperament biology.pedigreed_animal.breed biology.animal_breed.temperament
Temperament Breed Temperament
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.02qnlng } 
VALUES ?x3 { :m.0353h4 } 
?x1 :biology.animal_breed.temperament ?x0 . 
?x2 :biology.pedigreed_animal.breed ?x1 . 
?x3 :biology.animal_breed.temperament ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND biology.breed_temperament (AND (JOIN (R biology.animal_breed.temperament) (JOIN (R biology.pedigreed_animal.breed) m.02qnlng)) (JOIN (R biology.animal_breed.temperament) m.0353h4)))