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