Question: What symptom does liver cirrhosis cause?
Choices:
anorexia
jaundice
abdominal pain
nausea
headache
itch
fever
fatigue
dyspnea
angina pectoris
Program:
function: Find
inputs: liver cirrhosis
function: Relate
dependencies: 0
inputs: has cause
backward
function: FilterConcept
dependencies: 1
inputs: disease
function: Relate
dependencies: 2
inputs: symptoms
forward
function: FilterConcept
dependencies: 3
inputs: symptom
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "symptom" . ?e_1 <symptoms> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "disease" . ?e_1 <has_cause> ?e_2 . ?e_2 <pred:name> "liver cirrhosis" .   }
Answer: abdominal pain