Question: What is the postal code of Utah State University's headquarter location is Logan (the one whose inception time is 1859)?
Choices:
64801–64804
91601–91609
46283
6014
1421
OX1 4AU
22041–22769
84322
N1G 2W1
3500–3585
Answer: 84322
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Utah State University" . ?e_2 <pred:name> "Logan" . ?e_2 <inception> ?pv . ?pv <pred:year> 1859 . ?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: Utah State University
function: Find
inputs: Logan
function: FilterYear
dependencies: 1
inputs: inception
1859
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code