Question: Of the two, does Algiers -- Tunis' twinned administrative body -- or Dunedin occupy a bigger area?
Choices:
Bergen
Dunedin
Algiers
Trieste
Abidjan
Dundee
Kingston
Santo Domingo
Chihuahua
Kilkenny
Program:
function: Find
inputs: Tunis
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Algiers
function: And
dependencies: 1
2
function: Find
inputs: Dunedin
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Algiers" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Tunis" .   } UNION { ?e <pred:name> "Dunedin" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Dunedin