Question: What is the postal code of Mcmaster University's headquarters in Hamilton where the film Away from Her was located?
Choices:
G1 1XQ
67220
21701
LE1-LE67
71854
31101–31141
HD1-5, HD7-8
76140
L8S 4L8
52066
Answer: L8S 4L8
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "McMaster University" . ?e_2 <pred:name> "Hamilton" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "Away from Her" . ?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: McMaster University
function: Find
inputs: Away from Her
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Hamilton
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code