Question: Of French departments bordering Aisne, which has the lowest yearly wedding count?
Choices:
Aisne
Somme
Alpes-Maritimes
Manche
Haute-Savoie
Bas-Rhin
Calvados
Seine-et-Marne
Gironde
Vaucluse
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: annual number of weddings
smallest
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 <annual_number_of_weddings> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Somme