Question: Among the infectious diseases whose death number is less than 960000, which has the largest death number?
Choices:
acute cystitis
poliomyelitis
pneumonia
peritonitis
epilepsy
prostate cancer
cholera
yellow fever
attention deficit hyperactivity disorder
gastroesophageal reflux disease
Answer: cholera
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 < "960000"^^xsd:double ) . ?e <number_of_deaths> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of deaths
960000
<
function: FilterConcept
dependencies: 1
inputs: infectious disease
function: SelectAmong
dependencies: 2
inputs: number of deaths
largest