Question: To which part of an administrative territorial entity of Canada, that borders Nunavut since 1999, does the postal code of X1A apply ?
Choices: public administration
Grand Duchy of Finland
Mayotte
Rhea County
East Jerusalem
highest point
antique
Sukabumi
Yellowknife
teaching
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity of Canada" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Nunavut" . [ <pred:fact_h> ?e ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv_1 . ?qpv_1 <pred:year> 1999 . ?e <postal_code> ?pv . ?pv <pred:value> "X1A" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: Find
inputs: Nunavut
function: Relate
dependencies: 0
inputs: shares border with
backward
function: QFilterYear
dependencies: 1
inputs: start time
1999
=
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity of Canada
function: QueryAttrQualifier
dependencies: 3
inputs: postal code
X1A
applies to part
Answer: Yellowknife