Question: Which area has lower elevation above sea level, Sonora or Northern Territory?
Choices:
Sonora
Minas Gerais
Greater Poland Voivodeship
Chiapas
Podlaskie Voivodeship
Upper Austria
Northern Territory
New South Wales
England
Lublin Voivodeship
Program:
function: Find
inputs: Sonora
function: Find
inputs: Northern Territory
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sonora" .  } UNION { ?e <pred:name> "Northern Territory" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Northern Territory