Question: Which has greater elevation above sea level, Bali whose elevation above sea level is 3148 meters or North Island?
Choices: Puerto Rico
Maui
North Island
Trinidad
Cyprus
Ireland
Long Island
Hawaii
Bali
Tasmania
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bali" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "3148"^^xsd:double . } UNION { ?e <pred:name> "North Island" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bali
function: FilterNum
dependencies: 0
inputs: elevation above sea level
3148 metre
=
function: Find
inputs: North Island
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Bali