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