Question: What is the street address in Enix's Tokyo (the place of Shoei Imamura's death) headquarters ?
Choices:
2130 Fulton St, San Francisco, CA, 94117-1080
東京都渋谷区代々木四丁目31番8号
Heslington, York YO10 5DD, United Kingdom
Christian-Albrechts-Platz 4
1903 West Michigan Avenue, Kalamazoo, MI, 49008-5200
300 N Washington St, Gettysburg, PA, 17325
Claverton Down
120 Claremont Ave, New York, NY, 10027-4698
12 Capen Hall, Buffalo, NY, 14260-1660
237 High St, Middletown, CT, 06459
Answer: 東京都渋谷区代々木四丁目31番8号
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Enix" . ?e_2 <pred:name> "Tokyo" . ?e_3 <place_of_death> ?e_2 . ?e_3 <pred:name> "Shohei Imamura" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <located_at_street_address> ?qpv .  }
Program:
function: Find
inputs: Enix
function: Find
inputs: Shohei Imamura
function: Relate
dependencies: 1
inputs: place of death
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address