Question: Among the departments of France that are the origin of the name Nord-Pas-de-Calais, which one has the largest area?
Choices:
Manche
Pas-de-Calais
Bas-Rhin
Gironde
Haute-Savoie
Nord
Alpes-Maritimes
Seine-et-Marne
Somme
Calvados
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
largest
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 DESC(?v) LIMIT 1
Answer: Pas-de-Calais