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