Question: Which area has higher elevation above sea level, Vicenza or Melbourne (the one that contains RMIT University)?
Choices: Vicenza
Kingston
Bergen
Santo Domingo
Kilkenny
Melbourne
Chihuahua
Abidjan
Trieste
Dundee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Vicenza" .  } UNION { ?e <pred:name> "Melbourne" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "RMIT University" .   } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Vicenza
function: Find
inputs: RMIT University
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Melbourne
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: elevation above sea level
greater
Answer: Vicenza