Question: Which has lower elevation above sea level, Decatur whose area is 121.615472 square kilometres or Ann Arbor?
Choices:
Boulder
Compton
Greenville
Columbus
Oakland
Franklin
Ann Arbor
Decatur
New Haven
Lansing
Program:
function: Find
inputs: Decatur
function: FilterNum
dependencies: 0
inputs: area
121.615472 square kilometre
=
function: Find
inputs: Ann Arbor
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Decatur" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "121.615472"^^xsd:double . } UNION { ?e <pred:name> "Ann Arbor" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Decatur