Question: What country does 27703, the postal code of the United States city that is the headquarters location of Duke University (whose street address is 2138 Campus Drive), belong to?
Choices:
Sint Maarten
Mexico
Kazakhstan
United States of America
Estonia
People's Republic of China
Kingdom of Saxony
Denmark
Kenya Colony
Pakistan
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Duke University" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <located_at_street_address_(DEPRECATED)> ?qpv_1 . ?qpv_1 <pred:value> "2138 Campus Drive" . ?e <postal_code> ?pv . ?pv <pred:value> "27703" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: Find
inputs: Duke University
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: QFilterStr
dependencies: 1
inputs: located at street address (DEPRECATED)
2138 Campus Drive
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 3
inputs: postal code
27703
country