Question: which diabetes treatments has pains side effects?
Topic entities:
diabetes: m.0849qj
pains: m.062t2
Logical form: (AND medicine.medical_treatment (AND (JOIN medicine.medical_treatment.side_effects (JOIN medicine.symptom.parent_symptom m.062t2)) (JOIN medicine.medical_treatment.used_to_treat m.0849qj)))
Actions:
get_relations(m.062t2)
get_neighbors(m.062t2,medicine.symptom.includes_symptoms)
get_relations(#0)
get_neighbors(#0,medicine.symptom.side_effect_of)
get_relations(m.0849qj)
get_neighbors(m.0849qj,medicine.disease.treatments)
intersection(#1,#2)
Answer:
answer_argument: m.07ypgv
entity_name: Pramlintide