Question: Does Umbria or Abruzzo have more area?
Choices:
Sicily
Lombardy
Basilicata
Piedmont
Apulia
Umbria
Sardinia
Abruzzo
Lazio
Tuscany
Program:
function: Find
inputs: Umbria
function: Find
inputs: Abruzzo
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Umbria" .  } UNION { ?e <pred:name> "Abruzzo" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Abruzzo