Question: Which has a lesser elevation (above sea level), the Adirondack Mountains or the Alps?
Choices:
Alps
Adirondack Mountains
Cascade Range
Alexander the Great
Pennine Alps
Pyrenees
Blue Ridge Mountains
Appalachian Mountains
Sierra Nevada
Himalayas
Program:
function: Find
inputs: Adirondack Mountains
function: Find
inputs: Alps
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Adirondack Mountains" .  } UNION { ?e <pred:name> "Alps" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Adirondack Mountains