Question: What is the postal code of East Carolina University's headquarters that is located in Greenville (whose postal code is 27835)?
Choices:
50937
01307
44000
68501–68510
94703
10036
94596
92331, 92334–92337
06842
27858
Program:
function: Find
inputs: East Carolina University
function: Find
inputs: Greenville
function: FilterStr
dependencies: 1
inputs: postal code
27835
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "East Carolina University" . ?e_2 <pred:name> "Greenville" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "27835" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Answer: 27858