Question: Which area is larger, Manchester (the one that is the twinned administrative body of Chemnitz) or Laval?
Choices:
Bergen
Chihuahua
Cork
Kingston
Laval
Trieste
Manchester
Santo Domingo
Abidjan
Dundee
Program:
function: Find
inputs: Chemnitz
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Manchester
function: And
dependencies: 1
2
function: Find
inputs: Laval
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Manchester" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Chemnitz" .   } UNION { ?e <pred:name> "Laval" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Laval