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