Question: Which has less elevation above sea level, Santa Ana or Bloomington whose population is 78902?
Choices: New Haven
Bloomington
Waukegan
Lansing
Santa Ana
Columbus
Oakland
Compton
Boulder
Greenville
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Ana" . } UNION { ?e <pred:name> "Bloomington" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "78902"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Santa Ana
function: Find
inputs: Bloomington
function: FilterNum
dependencies: 1
inputs: population
78902
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
less
Answer: Santa Ana