Question: Which area has higher elevation above sea level, Aargau or Queensland?
Choices:
Lublin Voivodeship
New South Wales
Minas Gerais
Queensland
Punjab
Upper Austria
Aargau
Chiapas
Greater Poland Voivodeship
England
Program:
function: Find
inputs: Aargau
function: Find
inputs: Queensland
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aargau" .  } UNION { ?e <pred:name> "Queensland" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Queensland