Question: Which one has the smallest vicinity most of the former French location that stocks border with Lorraine (the only whose official internet site is http://www.Lorraine.Eu)
Choices:
Aquitaine
Poitou-Charentes
Lorraine
Upper Normandy
Picardy
Lower Normandy
Languedoc-Roussillon
Nord-Pas-de-Calais
Burgundy
Alsace
Answer: Alsace
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 <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
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: area
smallest