Question: Does Santa Fe Province or Federation of Bosnia and Herzegovina have the greater elevation above sea level?
Choices:
Upper Austria
Santa Fe Province
Federation of Bosnia and Herzegovina
Punjab
Chiapas
Minas Gerais
New South Wales
Podlaskie Voivodeship
Lublin Voivodeship
England
Program:
function: Find
inputs: Santa Fe Province
function: Find
inputs: Federation of Bosnia and Herzegovina
function: SelectBetween
dependencies: 0
1
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Santa Fe Province" .  } UNION { ?e <pred:name> "Federation of Bosnia and Herzegovina" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Federation of Bosnia and Herzegovina