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