Question: Which area is smaller, Swindon or Dubai (the one that is the twinned administrative body of Ōsaka Prefecture)?
Choices:
Kingston
Chihuahua
Abidjan
Bergen
Kilkenny
Santo Domingo
Dubai
Dundee
Cork
Swindon
Program:
function: Find
inputs: Swindon
function: Find
inputs: Ōsaka Prefecture
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Dubai
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Swindon" .  } UNION { ?e <pred:name> "Dubai" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Ōsaka Prefecture" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Swindon