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