Question: Does Rotterdam(the one that is the twin of the administrative body of Jakarta) or Ferrara have the greater area?
Choices:
Bergen
Rotterdam
Trieste
Santo Domingo
Abidjan
Kilkenny
Dundee
Kingston
Chihuahua
Ferrara
Program:
function: Find
inputs: Jakarta
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Rotterdam
function: And
dependencies: 1
2
function: Find
inputs: Ferrara
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rotterdam" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Jakarta" .   } UNION { ?e <pred:name> "Ferrara" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Ferrara