Question: Which is higher in elevation: Groningen, the twin administrative body of Tianjin, or Djibouti, twinned to Key West?
Choices: Djibouti
Trieste
Kingston
Groningen
Cork
Kilkenny
Santo Domingo
Dundee
Chihuahua
Abidjan
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Groningen" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Tianjin" .   } UNION { ?e <pred:name> "Djibouti" . ?e <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Key West" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Tianjin
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Groningen
function: And
dependencies: 1
2
function: Find
inputs: Key West
function: Relate
dependencies: 4
inputs: twinned administrative body
backward
function: Find
inputs: Djibouti
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: elevation above sea level
greater
Answer: Djibouti