Question: Does Lazio or Calabria have the smaller population?
Choices:
Sardinia
Lazio
Veneto
Basilicata
Sicily
Tuscany
Calabria
Apulia
Piedmont
Lombardy
Program:
function: Find
inputs: Lazio
function: Find
inputs: Calabria
function: SelectBetween
dependencies: 0
1
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lazio" .  } UNION { ?e <pred:name> "Calabria" .  } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Calabria