Question: for the city in the USA that has Duke University and has a postal code is 27702 what country is it in?
Choices:
Hungary
Kingdom of Prussia
Slovakia
Thailand
Argentina
United States of America
Austria
Mexico
Cambodia
Germany
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
27702
country
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> "27702" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Answer: United States of America