Question: What city is the headquarter location for the university whose ARCHON code is 930 (the postal code of this statement is E3B 5A3)?
Choices: Chihuahua
Kilkenny
Cairo
Dundee
Cork
Trieste
Bergen
Kingston
Fredericton
Abidjan
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "university" . ?e_1 <ARCHON_code> ?pv . ?pv <pred:value> "930" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e ] <postal_code> ?qpv . ?qpv <pred:value> "E3B 5A3" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: ARCHON code
930
function: FilterConcept
dependencies: 1
inputs: university
function: Relate
dependencies: 2
inputs: headquarters location
forward
function: QFilterStr
dependencies: 3
inputs: postal code
E3B 5A3
function: FilterConcept
dependencies: 4
inputs: city
function: What
dependencies: 5
Answer: Fredericton