Question: Which has lower elevation above sea level, Cambridge (the one that is the birthplace of Olivia Newton-John) or Kelowna?
Choices: Chihuahua
Kilkenny
Cambridge
Trieste
Kelowna
Abidjan
Cork
Bergen
Santo Domingo
Dundee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cambridge" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Olivia Newton-John" .   } UNION { ?e <pred:name> "Kelowna" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Olivia Newton-John
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Cambridge
function: And
dependencies: 1
2
function: Find
inputs: Kelowna
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
Answer: Cambridge