Question: Among the departments of France that is the origin of the name Nord-Pas-de-Calais, Which has the smallest area?
Choices:
Seine-et-Marne
Nord
Calvados
Manche
Haute-Savoie
Bas-Rhin
Vaucluse
Alpes-Maritimes
Somme
Pas-de-Calais
Program:
function: Find
inputs: Nord-Pas-de-Calais
function: Relate
dependencies: 0
inputs: named after
forward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: SelectAmong
dependencies: 2
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Nord-Pas-de-Calais" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Nord