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