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