Question: Tell me the one with the larger elevation (over sea level), Oaxaca or New South Wales.
Choices:
Podlaskie Voivodeship
Chiapas
Oaxaca
Minas Gerais
New South Wales
Upper Austria
Lublin Voivodeship
England
Tasmania
Punjab
Program:
function: Find
inputs: New South Wales
function: Find
inputs: Oaxaca
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New South Wales" .  } UNION { ?e <pred:name> "Oaxaca" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Oaxaca