Question: Is the Federation of Bosnia and Herzegovina or Minas Gerais lower in elevation?
Choices:
Punjab
Federation of Bosnia and Herzegovina
New South Wales
Lublin Voivodeship
Podlaskie Voivodeship
Chiapas
Minas Gerais
Tasmania
Greater Poland Voivodeship
England
Program:
function: Find
inputs: Federation of Bosnia and Herzegovina
function: Find
inputs: Minas Gerais
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> "Minas Gerais" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Federation of Bosnia and Herzegovina