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