Question: Which postal code is assigned to the University of New Brunswick's headquarters in Fredericton?
Choices:
46220
34470–34483
30000–36999
51147
98901
10036
M5S 1A1
46274
35487-0166
E3B 5A3
Answer: E3B 5A3
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of New Brunswick" . ?e_2 <pred:name> "Fredericton" . ?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 New Brunswick
function: Find
inputs: Fredericton
function: QueryRelationQualifier
dependencies: 0
1
inputs: headquarters location
postal code