Question: Which has lower elevation above sea level, Oaxaca or Buenos Aires Province?
Choices:
Chiapas
New South Wales
Upper Austria
Oaxaca
England
Podlaskie Voivodeship
Buenos Aires Province
Lublin Voivodeship
Greater Poland Voivodeship
Minas Gerais
Program:
function: Find
inputs: Oaxaca
function: Find
inputs: Buenos Aires Province
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
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 ?v LIMIT 1
Answer: Buenos Aires Province