Question: Which area is larger, Alpes-Maritimes (the one that contains Cannes) or Calvados?
Choices:
Somme
Aisne
Vaucluse
Seine-et-Marne
Gironde
Alpes-Maritimes
Calvados
Nord
Manche
Bas-Rhin
Answer: Calvados
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alpes-Maritimes" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Cannes" .   } UNION { ?e <pred:name> "Calvados" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Cannes
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Alpes-Maritimes
function: And
dependencies: 1
2
function: Find
inputs: Calvados
function: SelectBetween
dependencies: 3
4
inputs: area
greater