Question: What is the FIPS 10-4 (countries and regions) for the province of Canada that contains Windsor whose postal code is N9E?
Choices: US20
US08
UKP5
US10
AG
US36
EI31
CA08
NL02
LG25
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "province of Canada" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Windsor" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "N9E" . ?e <FIPS_10-4_(countries_and_regions)> ?pv .  }
Program:
function: Find
inputs: Windsor
function: FilterStr
dependencies: 0
inputs: postal code
N9E
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 2
inputs: province of Canada
function: QueryAttr
dependencies: 3
inputs: FIPS 10-4 (countries and regions)
Answer: CA08