Question: Which area has lower elevation above sea level, Santiago de Cuba or Stockholm?
Choices:
Trieste
Kilkenny
Dundee
Kingston
Stockholm
Abidjan
Santo Domingo
Santiago de Cuba
Chihuahua
Cork
Program:
function: Find
inputs: Santiago de Cuba
function: Find
inputs: Stockholm
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> "Stockholm" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Stockholm