Question: Which has the smallest population among the former French regions that border Lorraine whose official website is http://www.lorraine.eu?
Choices:
Poitou-Charentes
Burgundy
Lorraine
Upper Normandy
Picardy
Champagne-Ardenne
Lower Normandy
Aquitaine
Nord-Pas-de-Calais
Alsace
Program:
function: Find
inputs: Lorraine
function: FilterStr
dependencies: 0
inputs: official website
http://www.lorraine.eu
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: former French region
function: SelectAmong
dependencies: 3
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> "Lorraine" . ?e_1 <official_website> ?pv_1 . ?pv_1 <pred:value> "http://www.lorraine.eu" . ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Champagne-Ardenne