Question: Which US city at zip code 27708 is the headquarters of Duke University ?
Choices:
Waukegan
New Haven
New Britain
Greenville
Boulder
Columbus
Lansing
Franklin
Durham
Oakland
Program:
function: Find
inputs: Duke University
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: QFilterStr
dependencies: 1
inputs: postal code
27708
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: What
dependencies: 3
SPARQL: SELECT DISTINCT ?e 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 ] <postal_code> ?qpv . ?qpv <pred:value> "27708" .  }
Answer: Durham