Question: what is the total number of infectious diseases that can be transmitted by a white faced monkey?
Topic entities:
white faced monkey: m.02h411
Logical form: (COUNT (AND medicine.infectious_disease (JOIN (R medicine.type_of_infectious_agent.diseases) (JOIN (R medicine.infectious_disease.infectious_agent_type) (JOIN (R medicine.vector_of_disease.disease) m.02h411)))))
Actions:
get_relations(m.02h411)
get_neighbors(m.02h411,medicine.vector_of_disease.disease)
get_relations(#0)
get_neighbors(#0,medicine.infectious_disease.infectious_agent_type)
get_relations(#1)
get_neighbors(#1,medicine.type_of_infectious_agent.diseases)
count(#2)
Answer:
30