Question: what are the diseases transmitted through sex that have the same type of infectious agents as tuberculosis?
Topic entities:
Sex: m.06ng1
Tuberculosis: m.07jwr
Logical form: (AND medicine.infectious_disease (AND (JOIN (R medicine.transmission_route.infections_that_travel_this_way) m.06ng1) (JOIN medicine.infectious_disease.infectious_agent_type (JOIN medicine.type_of_infectious_agent.diseases m.07jwr))))
Actions:
get_relations(m.06ng1)
get_neighbors(m.06ng1,medicine.transmission_route.infections_that_travel_this_way)
get_relations(m.07jwr)
get_neighbors(m.07jwr,medicine.infectious_disease.infectious_agent_type)
get_relations(#1)
get_neighbors(#1,medicine.type_of_infectious_agent.diseases)
intersection(#0,#2)
Answer:
answer_argument: m.020gd
entity_name: Chlamydia infection
answer_argument: m.023zy9
entity_name: Chancroid
answer_argument: m.0254zq
entity_name: Granuloma inguinale
answer_argument: m.074m2
entity_name: Syphilis