Question: Rouen is the capital of which French region?
Choices:
Kinji Fukasaku
Upper Normandy
Corsica
Martinique
Camden County
Normandy
Middlesbrough
Brittany
Yekaterinburg
spokesperson
Program:
function: Find
inputs: Rouen
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: region of France
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "region of France" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Rouen" .   }
Answer: Normandy