Question: Which has greater elevation above sea level, Kingston that is the twinned administrative body of Coventry or Curitiba?
Choices:
Curitiba
Kingston
Dundee
Abidjan
Bergen
Kilkenny
Trieste
Chihuahua
Cairo
Santo Domingo
Answer: Curitiba
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingston" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Coventry" .   } UNION { ?e <pred:name> "Curitiba" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Coventry
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Kingston
function: And
dependencies: 1
2
function: Find
inputs: Curitiba
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
greater