Question: What is the street address for an university whose headquarter location is English-speaking Durham, at the postal code 27707 ?
Choices:
1156 High Street
3141 Chestnut St, Philadelphia, PA, 19104
1151 Richmond Street
Avenue Samson, 37
1121 Park Street, Grinnell, IA, 50112-1690
1801 Fayetteville Street, Durham, NC, 27707
Administration Bldg Suite 1070, Birmingham, AL, 35294-0110
227 W. 27th St.
4400 Vestal Parkway East
вул. Володимирська 60
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: official language
backward
function: Find
inputs: Durham
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: headquarters location
backward
function: QFilterStr
dependencies: 4
inputs: postal code
27707
function: FilterConcept
dependencies: 5
inputs: university
function: QueryAttr
dependencies: 6
inputs: located at street address (DEPRECATED)
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "Durham" . ?e_1 <official_language> ?e_2 . ?e_2 <pred:name> "English" .  [ <pred:fact_h> ?e ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_1 ] <postal_code> ?qpv . ?qpv <pred:value> "27707" . ?e <located_at_street_address_(DEPRECATED)> ?pv .  }
Answer: 1801 Fayetteville Street, Durham, NC, 27707