Question: Which area has higher elevation above sea level, London (the one that is the birthplace of Friedrich Hollaender) or Ulm?
Choices:
Ulm
Kingston
Dundee
Trieste
Kilkenny
Bergen
Cork
London
Abidjan
Santo Domingo
Answer: Ulm
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "London" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Friedrich Hollaender" .   } UNION { ?e <pred:name> "Ulm" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Friedrich Hollaender
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: London
function: And
dependencies: 1
2
function: Find
inputs: Ulm
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater