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