Question: Does Alexandria -- Thessaloniki's twin administrative body -- or Fremantle take up a smaller area?
Choices:
Busan
Fremantle
Alexandria
Odessa
İzmir
Basra
Kim Ki-duk
Tianjin
Barcelona
Gibraltar
Program:
function: Find
inputs: Thessaloniki
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Alexandria
function: And
dependencies: 1
2
function: Find
inputs: Fremantle
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alexandria" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Thessaloniki" .   } UNION { ?e <pred:name> "Fremantle" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Fremantle