Question: Which has a smaller area, Tuscany or Umbria?
Choices:
Piedmont
Umbria
Veneto
Basilicata
Lombardy
Abruzzo
Tuscany
Sardinia
Lazio
Apulia
Program:
function: Find
inputs: Tuscany
function: Find
inputs: Umbria
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Tuscany" .  } UNION { ?e <pred:name> "Umbria" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Umbria