Question: Tell me which one has the lower population, Bloomington (the one with an area of 70.332552 square kilometre), or San Angelo.
Choices:
New Haven
Lansing
Franklin
Columbus
Boulder
Bloomington
San Angelo
Waukegan
Compton
Oakland
Program:
function: Find
inputs: Bloomington
function: FilterNum
dependencies: 0
inputs: area
70.332552 square kilometre
=
function: Find
inputs: San Angelo
function: SelectBetween
dependencies: 1
2
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bloomington" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "70.332552"^^xsd:double . } UNION { ?e <pred:name> "San Angelo" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bloomington