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