Question: Does Skopje or Victoria (the one that is the twinned administrative body of Hanoi) have the greater area?
Choices:
Skopje
Kingston
Abidjan
Bergen
Victoria
Dundee
Chihuahua
Cork
Santo Domingo
Kilkenny
Answer: Skopje
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Skopje" .  } UNION { ?e <pred:name> "Victoria" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Hanoi" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Skopje
function: Find
inputs: Hanoi
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Victoria
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater