Question: Tell me the one with a smaller area, Quetta or Thunder Bay (the one being the Duluth twinned administrative body)
Choices:
Cork
Quetta
Dundee
Kingston
Chihuahua
Kilkenny
Abidjan
Santo Domingo
Thunder Bay
Bergen
Program:
function: Find
inputs: Quetta
function: Find
inputs: Duluth
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Thunder Bay
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quetta" .  } UNION { ?e <pred:name> "Thunder Bay" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Duluth" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Thunder Bay