Question: What is the postal code of Jaleco's headquarter which is located in Tokyo where Bad Education was released?
Choices:
94102-4978
4040–4049
34149
141-0031
28717
93650
04105
8002
54296
37209-1561
Answer: 141-0031
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jaleco" . ?e_2 <pred:name> "Tokyo" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "Bad Education" . ?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: Jaleco
function: Find
inputs: Bad Education
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code