Question: Which has higher elevation above sea level, London where H. G. Wells died or Hangzhou?
Choices: Dundee
Santo Domingo
Abidjan
Bergen
Cork
Trieste
Chihuahua
London
Hangzhou
Kilkenny
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "H. G. Wells" .   } UNION { ?e <pred:name> "Hangzhou" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: H. G. Wells
function: Relate
dependencies: 0
inputs: place of death
forward
function: Find
inputs: London
function: And
dependencies: 1
2
function: Find
inputs: Hangzhou
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: London