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