Question: Tell me the one with a smaller population, Florence (who has a population of 39319) or Memphis.
Choices:
Waukegan
Greenville
New Haven
Compton
Boulder
Oakland
Franklin
Columbus
Florence
Memphis
Program:
function: Find
inputs: Florence
function: FilterNum
dependencies: 0
inputs: population
39319
=
function: Find
inputs: Memphis
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Florence" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "39319"^^xsd:double . } UNION { ?e <pred:name> "Memphis" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Florence