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