Question: Which area has higher elevation above sea level, Santiago de Cuba or Messina?
Choices:
Abidjan
Messina
Dundee
Kingston
Bergen
Chihuahua
Santiago de Cuba
Santo Domingo
Cork
Kilkenny
Program:
function: Find
inputs: Santiago de Cuba
function: Find
inputs: Messina
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santiago de Cuba" .  } UNION { ?e <pred:name> "Messina" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Santiago de Cuba