Question: Which area is larger, Minneapolis or Nashville (the one that is the twinned administrative body of Caen)?
Choices:
Greenville
Franklin
Compton
Waukegan
New Haven
Boulder
Columbus
Minneapolis
Nashville
Oakland
Program:
function: Find
inputs: Minneapolis
function: Find
inputs: Caen
function: Relate
dependencies: 1
inputs: twinned administrative body
backward
function: Find
inputs: Nashville
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Minneapolis" .  } UNION { ?e <pred:name> "Nashville" . ?e <twinned_administrative_body> ?e_1 . ?e_1 <pred:name> "Caen" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Nashville