Question: Between Boston or Miami,  population 362470, which is smaller in area terms?
Choices: Franklin
Boulder
Waukegan
Lansing
Miami
New Haven
Greenville
Columbus
Oakland
Compton
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Boston" . } UNION { ?e <pred:name> "Miami" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "362470"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Boston
function: Find
inputs: Miami
function: FilterNum
dependencies: 1
inputs: population
362470
=
function: SelectBetween
dependencies: 0
2
inputs: area
less
Answer: Miami