Question: What is the postal code of Bandai Co., Ltd.'s headquarter location in Tokyo that borders Kanagawa Prefecture?
Choices: 111-8081
Dublin 4
90405-1628
50090
06511
52075
07503
10039
1202
00118–00199
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bandai Co., Ltd." . ?e_2 <pred:name> "Tokyo" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Kanagawa Prefecture" . ?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: Bandai Co., Ltd.
function: Find
inputs: Kanagawa Prefecture
function: Relate
dependencies: 1
inputs: shares border with
backward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: 111-8081