Question: What is the postal code of the University of Western Ontario's headquarters that is located in London (whose population is 366151)?
Choices:
94595
01901–01905
1014–1015
N6A 3K7
27264
75000–78999
80805
07050–07051
1800–1831
85010–85059
Answer: N6A 3K7
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Western Ontario" . ?e_2 <pred:name> "London" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "366151"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Program:
function: Find
inputs: University of Western Ontario
function: Find
inputs: London
function: FilterNum
dependencies: 1
inputs: population
366151
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code