Question: Of the former French regions that shared a border with Picardy, what had the smallest population?
Choices:
Picardy
Aquitaine
Upper Normandy
Poitou-Charentes
Nord-Pas-de-Calais
Alsace
Champagne-Ardenne
Lorraine
Burgundy
Lower Normandy
Program:
function: Find
inputs: Picardy
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: former French region
function: SelectAmong
dependencies: 2
inputs: population
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Picardy" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Champagne-Ardenne