Question: Is there less area in Alpes-Maritimes (the one that shares border with Province of Cuneo) or Vaucluse?
Choices:
Aisne
Manche
Somme
Haute-Savoie
Calvados
Vaucluse
Bas-Rhin
Alpes-Maritimes
Seine-et-Marne
Gironde
Program:
function: Find
inputs: Province of Cuneo
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Alpes-Maritimes
function: And
dependencies: 1
2
function: Find
inputs: Vaucluse
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Alpes-Maritimes" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Province of Cuneo" .   } UNION { ?e <pred:name> "Vaucluse" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Vaucluse