Question: Which has fewer cases, yellow fever or AIDS?
Choices: sepsis
epilepsy
cholera
acute cystitis
poliomyelitis
yellow fever
prostate cancer
pneumonia
gastroesophageal reflux disease
AIDS
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "yellow fever" .  } UNION { ?e <pred:name> "AIDS" .  } ?e <number_of_cases> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: yellow fever
function: Find
inputs: AIDS
function: SelectBetween
dependencies: 0
1
inputs: number of cases
less
Answer: yellow fever