Question: The US city at zip code 27709 that contains Duke University is in which country?
Choices:
Hong Kong
Union of South Africa
Bhutan
worldwide
United States of America
Estonia
Australia
Lithuania
Brazil
Germany
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 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Duke University" .  ?e <postal_code> ?pv . ?pv <pred:value> "27709" . [ <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: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
27709
country