Question: Which department of France that shares a border with Aisne has the largest area?
Choices:
Gironde
Aisne
Haute-Savoie
Alpes-Maritimes
Seine-et-Marne
Somme
Vaucluse
Nord
Bas-Rhin
Calvados
Program:
function: Find
inputs: Aisne
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: SelectAmong
dependencies: 2
inputs: area
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Aisne" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Somme