the czecho-slovakia has how many breeds of dogs that has the same temperament as the cairn terriers?
Value
2
class class entity entity
biology.breed_temperament biology.animal_breed m.02z57c m.01mk6
biology.breed_temperament biology.animal_breed biology.animal_breed biology.breed_origin
Breed temperament Animal breed cairn terriers czecho-slovakia
count none none none
biology.breed_temperament.breeds biology.animal_breed.temperament biology.animal_breed.place_of_origin
Breeds Temperament 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 (COUNT(?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.02z57c } 
VALUES ?x3 { :m.01mk6 } 
?x0 :biology.breed_temperament.breeds ?x1 . 
?x2 :biology.animal_breed.temperament ?x0 . 
?x1 :biology.animal_breed.place_of_origin ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(COUNT (AND biology.breed_temperament (AND (JOIN biology.breed_temperament.breeds (JOIN biology.animal_breed.place_of_origin m.01mk6)) (JOIN (R biology.animal_breed.temperament) m.02z57c))))