Question: Does Irving or Decatur, population 19,853, have the lower elevation?
Choices:
Waukegan
Oakland
Boulder
Franklin
Compton
New Haven
Decatur
Irving
Greenville
Lansing
Answer: Irving
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Irving" . } UNION { ?e <pred:name> "Decatur" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "19853"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Irving
function: Find
inputs: Decatur
function: FilterNum
dependencies: 1
inputs: population
19853
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less