Question: Which has a smaller area, Sioux City or Cambridge, which has a population of 52669?
Choices: Sioux City
Waukegan
New Haven
Lansing
Franklin
Cambridge
Boulder
Columbus
Greenville
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sioux City" . } UNION { ?e <pred:name> "Cambridge" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "52669"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Sioux City
function: Find
inputs: Cambridge
function: FilterNum
dependencies: 1
inputs: population
52669
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Cambridge