Question: What is the ISO 3166-2 code for a French department with Lille as the capital ?
Choices:
IT-CN
JP-08
PK-KP
CA-PE
GB-SKP
GB-NBL
GB-SRY
GB-ENF
FR-59
US-FL
Answer: FR-59
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "departments of France" . ?e_1 <capital_of> ?e . ?e_1 <pred:name> "Lille" .  ?e <ISO_3166-2_code> ?pv .  }
Program:
function: Find
inputs: Lille
function: Relate
dependencies: 0
inputs: capital of
forward
function: FilterConcept
dependencies: 1
inputs: departments of France
function: QueryAttr
dependencies: 2
inputs: ISO 3166-2 code