Question: What is the postal code for Fairfield University's headquarters location of Fairfield, which has a 5035887492 PermID?
Choices:
06824
74145–74150
10038
34127
57105
20003
5014
84010–84099
3010
44-49
Answer: 06824
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Fairfield University" . ?e_2 <pred:name> "Fairfield" . ?e_2 <PermID> ?pv . ?pv <pred:value> "5035887492" . ?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: Fairfield University
function: Find
inputs: Fairfield
function: FilterStr
dependencies: 1
inputs: PermID
5035887492
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code