Question: Does Birmingham (the birthplace of Michael Balcon) or Sunderland have the higher elevation above sea level?
Choices: Bergen
Abidjan
Birmingham
Chihuahua
Dundee
Kingston
Cork
Trieste
Sunderland
Santo Domingo
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Birmingham" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Michael Balcon" .   } UNION { ?e <pred:name> "Sunderland" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Michael Balcon
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Birmingham
function: And
dependencies: 1
2
function: Find
inputs: Sunderland
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater
Answer: Birmingham