Question: Is the larger area occupied by Medina, twinned administrative body of Mecca, or by Harare?
Choices:
Bergen
Abidjan
Cork
Dundee
Chihuahua
Kingston
Kilkenny
Medina
Harare
Trieste
Program:
function: Find
inputs: Mecca
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Medina
function: And
dependencies: 1
2
function: Find
inputs: Harare
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Medina" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Mecca" .   } UNION { ?e <pred:name> "Harare" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Harare