Question: Which area is larger, Oaxaca or Australian Capital Territory?
Choices:
Greater Poland Voivodeship
Minas Gerais
England
Podlaskie Voivodeship
Lublin Voivodeship
New South Wales
Oaxaca
Australian Capital Territory
Chiapas
Punjab
Program:
function: Find
inputs: Oaxaca
function: Find
inputs: Australian Capital Territory
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Oaxaca" .  } UNION { ?e <pred:name> "Australian Capital Territory" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oaxaca