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