Question: Regarding former French regions replaced by Normandyu (containing Calvados), which one covers the smallest area ?
Choices:
Burgundy
Upper Normandy
Lower Normandy
Picardy
Alsace
Languedoc-Roussillon
Lorraine
Nord-Pas-de-Calais
Poitou-Charentes
Champagne-Ardenne
Program:
function: Find
inputs: Calvados
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Normandy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: replaces
forward
function: FilterConcept
dependencies: 4
inputs: former French region
function: SelectAmong
dependencies: 5
inputs: area
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e_1 <replaces> ?e . ?e_1 <pred:name> "Normandy" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Calvados" .  ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Upper Normandy