Question: What has a shorter incubation period in humans, typhoid fever or yellow fever?
Choices:
sepsis
poliomyelitis
cholera
epilepsy
typhoid fever
acute cystitis
attention deficit hyperactivity disorder
pneumonia
yellow fever
prostate cancer
Program:
function: Find
inputs: typhoid fever
function: Find
inputs: yellow fever
function: SelectBetween
dependencies: 0
1
inputs: minimal incubation period in humans
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "typhoid fever" .  } UNION { ?e <pred:name> "yellow fever" .  } ?e <minimal_incubation_period_in_humans> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: yellow fever