Question: Which one has less elevation above sea level between Hanover (the one that is the twinned administrative body of Montreal) and New York City?
Choices:
Kilkenny
Trieste
Hanover
Cork
Dundee
Santo Domingo
Chihuahua
Bergen
New York City
Abidjan
Answer: New York City
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hanover" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Montreal" .   } UNION { ?e <pred:name> "New York City" .  } ?e <elevation_above_sea_level> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Montreal
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Hanover
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: SelectBetween
dependencies: 3
4
inputs: elevation above sea level
less