Question: Which has a greater elevation above sea level, Leuven or Vancouver (the one that is the filming location of Fear the Walking Dead)?
Choices:
Vancouver
Wuppertal
Dnipro
Lyon
Halle (Saale)
Aachen
Fort Smith
Leuven
Stuttgart
Bordeaux
Program:
function: Find
inputs: Leuven
function: Find
inputs: Fear the Walking Dead
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Vancouver
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leuven" .  } UNION { ?e <pred:name> "Vancouver" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "Fear the Walking Dead" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Leuven