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