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