Question: What is the postal code for the University of Birmingham's headquarter location in Birmingham (the one whose Dewey Decimal Classification is 2--42496)?
Choices:
61801
93755
67235
50827
36800–36899
21251-0001
50833
69008
87122
B15 2TT
Answer: B15 2TT
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Birmingham" . ?e_2 <pred:name> "Birmingham" . ?e_2 <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--42496" . ?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: Birmingham
function: FilterStr
dependencies: 1
inputs: Dewey Decimal Classification
2--42496
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
postal code