Question: Is Aachen (twinned with administrative body of Arlington County) or Reims larger by area?
Choices:
Halle (Saale)
Reims
Wuppertal
Aachen
Fort Smith
Utrecht
Lyon
Stuttgart
Bordeaux
Regensburg
Program:
function: Find
inputs: Arlington County
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Aachen
function: And
dependencies: 1
2
function: Find
inputs: Reims
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Aachen" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Arlington County" .   } UNION { ?e <pred:name> "Reims" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Aachen