Question: Which ISO 3166-2 code corresponds to the former French region with Caen as capital?
Choices:
NL-GE
ZA-WC
CA-ON
CA-SK
IT-42
CA-QC
IN-PB
FR-P
US-VA
GB-LND
Answer: FR-P
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "former French region" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Caen" .  ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Caen
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: former French region
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code