Question: What is the postal code of Atlus's headquarter location in Tokyo (the one that contains Waseda University)?
Choices: 87194
76533
1001–1028
6160
140-0002
N6A 3K7
79409-5005
20147
94143
59000
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Atlus" . ?e_2 <pred:name> "Tokyo" . ?e_3 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_3 <pred:name> "Waseda University" . ?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: Atlus
function: Find
inputs: Waseda University
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
postal code
Answer: 140-0002