Question: Which area has higher elevation above sea level, Irvine (the one whose elevation (above sea level) is 0 metre) or Pietermaritzburg?
Choices: Edmonton
Wigan
Doncaster
Pietermaritzburg
Blackburn
South Shields
Macclesfield
Irvine
Colchester
Royal Tunbridge Wells
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Irvine" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "0"^^xsd:double . } UNION { ?e <pred:name> "Pietermaritzburg" . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Irvine
function: FilterNum
dependencies: 0
inputs: elevation above sea level
0 metre
=
function: Find
inputs: Pietermaritzburg
function: SelectBetween
dependencies: 1
2
inputs: elevation above sea level
greater
Answer: Pietermaritzburg