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