Question: Which has higher elevation above sea level, Eastern Cape or Salzburg whose elevation above sea level is 827 meters?
Choices:
Eastern Cape
Lublin Voivodeship
Greater Poland Voivodeship
Podlaskie Voivodeship
Punjab
Minas Gerais
Chiapas
New South Wales
Salzburg
Upper Austria
Answer: Eastern Cape
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Eastern Cape" . } UNION { ?e <pred:name> "Salzburg" . ?e <elevation_above_sea_level> ?pv_1 . ?pv_1 <pred:unit> "metre" . ?pv_1 <pred:value> "827"^^xsd:double . } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Eastern Cape
function: Find
inputs: Salzburg
function: FilterNum
dependencies: 1
inputs: elevation above sea level
827 metre
=
function: SelectBetween
dependencies: 0
2
inputs: elevation above sea level
greater