Question: Does Bradford, Skopje's twinned administrative body, or Cork occupy the larger area?
Choices:
Cairo
Trieste
Cork
Bradford
Santo Domingo
Kingston
Bergen
Chihuahua
Dundee
Kilkenny
Program:
function: Find
inputs: Skopje
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Bradford
function: And
dependencies: 1
2
function: Find
inputs: Cork
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bradford" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Skopje" .   } UNION { ?e <pred:name> "Cork" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bradford