Question: What is the postal code of University of Birmingham's whose headquarters location is Birmingham (the one that is the headquarter location of mellotron) ?
Choices: 1017–1018
21801–21804
50833
92056–92058
50823
B15 2TT
CB2 3BU
34070
10282
34148
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Birmingham" . ?e_2 <pred:name> "Birmingham" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "mellotron" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <postal_code> ?qpv .  }
Program:
function: Find
inputs: University of Birmingham
function: Find
inputs: mellotron
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Birmingham
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: B15 2TT