Question: Among the infectious diseases that have killed less than 250,000 people, which has the lowest death count?
Choices:
gastroesophageal reflux disease
sepsis
yellow fever
peritonitis
cholera
pneumonia
acute cystitis
poliomyelitis
attention deficit hyperactivity disorder
prostate cancer
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of deaths
250000
<
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: SelectAmong
dependencies: 2
inputs: number of deaths
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "infectious disease" . ?e <number_of_deaths> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "250000"^^xsd:double ) . ?e <number_of_deaths> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: yellow fever