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