Question: Which one of the former french region, replaced by Normandy (the one that replaces Upper Normandy) has the largest population?
Choices:
Nord-Pas-de-Calais
Poitou-Charentes
Lower Normandy
Upper Normandy
Burgundy
Picardy
Aquitaine
Lorraine
Languedoc-Roussillon
Champagne-Ardenne
Answer: Upper Normandy
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <replaced_by> ?e_1 . ?e_1 <pred:name> "Normandy" . ?e_2 <replaced_by> ?e_1 . ?e_2 <pred:name> "Upper Normandy" .  ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Upper Normandy
function: Relate
dependencies: 0
inputs: replaced by
forward
function: Find
inputs: Normandy
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: replaced by
backward
function: FilterConcept
dependencies: 4
inputs: former French region
function: SelectAmong
dependencies: 5
inputs: population
largest