Question: Among the departments of France that share a border with Pas-de-Calais, which has the smallest annual number of weddings?
Choices:
Alpes-Maritimes
Gironde
Somme
Aisne
Manche
Haute-Savoie
Calvados
Seine-et-Marne
Bas-Rhin
Nord
Answer: Somme
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> "Pas-de-Calais" .  ?e <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Pas-de-Calais
function: Relate
dependencies: 0
inputs: shares border with
backward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: SelectAmong
dependencies: 2
inputs: annual number of weddings
smallest