Question: What is the postal code of North Carolina Central University's headquarter location in Durham (the one whose postal code is 27715)?
Choices:
22041–22769
641001
76534
CH-4003
27707
23185
NW1 5HT
1010-A
65201
60120–60125
Answer: 27707
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "North Carolina Central University" . ?e_2 <pred:name> "Durham" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "27715" . ?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: North Carolina Central University
function: Find
inputs: Durham
function: FilterStr
dependencies: 1
inputs: postal code
27715
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code