Question: Which is lower in elevation, Santiago de Cuba or Auckland?
Choices:
Santiago de Cuba
Bergen
Auckland
Chihuahua
Kilkenny
Santo Domingo
Trieste
Abidjan
Kingston
Cork
Program:
function: Find
inputs: Santiago de Cuba
function: Find
inputs: Auckland
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santiago de Cuba" .  } UNION { ?e <pred:name> "Auckland" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Santiago de Cuba