Question: Which area is smaller, Kagoshima or Thunder Bay (the one that is the twinned administrative body of Duluth)?
Choices:
Kilkenny
Kagoshima
Dundee
Bergen
Trieste
Cork
Thunder Bay
Abidjan
Chihuahua
Santo Domingo
Program:
function: Find
inputs: Kagoshima
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> "Kagoshima" .  } 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