Question: What disease lists pharyngitis and asthma as factors?
Choices:
prostate cancer
peritonitis
gastroesophageal reflux disease
bubonic plague
sinusitis
AIDS
attention deficit hyperactivity disorder
amyotrophic lateral sclerosis
Crohn's disease
epilepsy
Answer: gastroesophageal reflux disease
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "disease" . ?e <risk_factor> ?e_1 . ?e_1 <pred:name> "pharyngitis" .  ?e_2 <risk_factor> ?e . ?e_2 <pred:name> "asthma" .  }
Program:
function: Find
inputs: pharyngitis
function: Relate
dependencies: 0
inputs: risk factor
backward
function: FilterConcept
dependencies: 1
inputs: disease
function: Find
inputs: asthma
function: Relate
dependencies: 3
inputs: risk factor
forward
function: FilterConcept
dependencies: 4
inputs: disease
function: And
dependencies: 2
5
function: What
dependencies: 6