Question: Is the elevation of Abruzzo or Umbria lower?
Choices:
Lombardy
Basilicata
Tuscany
Abruzzo
Apulia
Sardinia
Umbria
Sicily
Veneto
Piedmont
Program:
function: Find
inputs: Abruzzo
function: Find
inputs: Umbria
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Abruzzo" .  } UNION { ?e <pred:name> "Umbria" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Umbria