Question: Myocardial infarction is associated with what symptom?
Choices:
abdominal pain
nausea
headache
fever
vomiting
dyspnea
anorexia
angina pectoris
itch
fatigue
Program:
function: Find
inputs: myocardial infarction
function: Relate
dependencies: 0
inputs: symptoms
forward
function: FilterConcept
dependencies: 1
inputs: symptom
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "symptom" . ?e_1 <symptoms> ?e . ?e_1 <pred:name> "myocardial infarction" .   }
Answer: nausea