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