Question: Which has higher elevation above sea level, Johor or Salzburg (the one that is located in time zone Central European Time)?
Choices:
Chiapas
Upper Austria
New South Wales
Johor
Lublin Voivodeship
Greater Poland Voivodeship
Punjab
Salzburg
Podlaskie Voivodeship
England
Answer: Johor
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Johor" .  } UNION { ?e <pred:name> "Salzburg" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Central European Time" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Johor
function: Find
inputs: Central European Time
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Salzburg
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater