Question: Does Melaka or Rio Grande do Sul occupy the larger area?
Choices:
Greater Poland Voivodeship
Upper Austria
Podlaskie Voivodeship
Lublin Voivodeship
Minas Gerais
Rio Grande do Sul
England
Chiapas
Punjab
New South Wales
Answer: Rio Grande do Sul
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Melaka" .  } UNION { ?e <pred:name> "Rio Grande do Sul" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Melaka
function: Find
inputs: Rio Grande do Sul
function: SelectBetween
dependencies: 0
1
inputs: area
greater