Question: Which one is smaller by area, Charleston (the one whose population is 120083) or Malden?
Choices: New Haven
Franklin
Columbus
Oakland
Lansing
Greenville
Waukegan
Boulder
Charleston
Malden
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Charleston" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "120083"^^xsd:double . } UNION { ?e <pred:name> "Malden" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Charleston
function: FilterNum
dependencies: 0
inputs: population
120083
=
function: Find
inputs: Malden
function: SelectBetween
dependencies: 1
2
inputs: area
less
Answer: Malden