Question: What disease has alcoholism as one risk factor and DiseasesDB identifier 5728?
Choices:
prostate cancer
pneumonia
epilepsy
hypertension
amyotrophic lateral sclerosis
liver failure
gastroesophageal reflux disease
peritonitis
attention deficit hyperactivity disorder
osteoporosis
Answer: liver failure
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e_1 <risk_factor> ?e . ?e_1 <pred:name> "alcoholism" .  ?e <DiseasesDB> ?pv . ?pv <pred:value> "5728" .  }
Program:
function: Find
inputs: alcoholism
function: Relate
dependencies: 0
inputs: risk factor
forward
function: FilterConcept
dependencies: 1
inputs: disease
function: FindAll
function: FilterStr
dependencies: 3
inputs: DiseasesDB
5728
function: FilterConcept
dependencies: 4
inputs: disease
function: And
dependencies: 2
5
function: What
dependencies: 6