Question: Which one has less elevation above sea level between Odessa (the one that is the twinned administrative body of Minsk) or Tianjin?
Choices:
Odessa
Luther
Tianjin
Fremantle
Basra
Gibraltar
İzmir
Alexandria
Busan
Barcelona
Program:
function: Find
inputs: Minsk
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Odessa
function: And
dependencies: 1
2
function: Find
inputs: Tianjin
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Odessa" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Minsk" .   } UNION { ?e <pred:name> "Tianjin" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tianjin