Question: Which area has higher elevation above sea level, Umbria or Tuscany?
Choices:
Veneto
Lazio
Tuscany
Abruzzo
Umbria
Sardinia
Lombardy
Basilicata
Apulia
Sicily
Program:
function: Find
inputs: Umbria
function: Find
inputs: Tuscany
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Umbria" .  } UNION { ?e <pred:name> "Tuscany" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Umbria