Question: how many different breeds from czech republic share the same temperament as the brazilian terrier?
Topic entities:
Brazilian Terrier: m.08c5h8
Czech Republic: m.01mjq
Logical form: (COUNT (AND biology.breed_temperament (AND (JOIN biology.breed_temperament.breeds (JOIN biology.animal_breed.place_of_origin m.01mjq)) (JOIN (R biology.animal_breed.temperament) m.08c5h8))))
Actions:
get_relations(m.01mjq)
get_neighbors(m.01mjq,biology.breed_origin.breeds_originating_here)
get_relations(#0)
get_neighbors(#0,biology.animal_breed.temperament)
get_relations(m.08c5h8)
get_neighbors(m.08c5h8,biology.animal_breed.temperament)
intersection(#1,#2)
count(#3)
Answer:
4