Question: Which place has fewer people, Dayton or Salem (the one whose population is 154637)?
Choices:
Boulder
Franklin
Waukegan
Oakland
Salem
Columbus
Greenville
New Haven
Compton
Dayton
Answer: Dayton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dayton" . } UNION { ?e <pred:name> "Salem" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "154637"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dayton
function: Find
inputs: Salem
function: FilterNum
dependencies: 1
inputs: population
154637
=
function: SelectBetween
dependencies: 0
2
inputs: population
less