Question: Which has the smallest area among the former French regions that shares borders with Lorraine (which had a population is 2345197)?
Choices:
Aquitaine
Picardy
Lorraine
Nord-Pas-de-Calais
Champagne-Ardenne
Alsace
Languedoc-Roussillon
Upper Normandy
Lower Normandy
Burgundy
Answer: Alsace
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Lorraine" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "2345197"^^xsd:double . ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Lorraine
function: FilterNum
dependencies: 0
inputs: population
2345197
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: former French region
function: SelectAmong
dependencies: 3
inputs: area
smallest