Question: Which has less elevation above sea level, Carlisle that is the capital of Cumbria or Geelong?
Choices: Geelong
Kingston
Bergen
Carlisle
Kilkenny
Santo Domingo
Chihuahua
Abidjan
Cork
Dundee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Carlisle" . ?e <capital_of> ?e_1 . ?e_1 <pred:name> "Cumbria" .   } UNION { ?e <pred:name> "Geelong" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cumbria
function: Relate
dependencies: 0
inputs: capital of
backward
function: Find
inputs: Carlisle
function: And
dependencies: 1
2
function: Find
inputs: Geelong
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
Answer: Geelong