Question: What is the street address of Enix's headquarter i Tokyo (the one that is the birthplace of Hayao Miyazaki)?
Choices:
695 Park Ave, New York, NY, 10065
Bellevue Avenue, Casino building
1971 University Blvd, Lynchburg, VA, 24515
東京都渋谷区代々木四丁目31番8号
Via Druento, 175
700 College St, Beloit, WI, 53511-5595
Via Aldo Rossi 8
One Prospect Street, Providence, RI, 02912
100 West College St, Granville, OH, 43023-0713
910 W Franklin St, Richmond, VA, 23284-2512
Program:
function: Find
inputs: Enix
function: Find
inputs: Hayao Miyazaki
function: Relate
dependencies: 1
inputs: place of birth
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Enix" . ?e_2 <pred:name> "Tokyo" . ?e_3 <place_of_birth> ?e_2 . ?e_3 <pred:name> "Hayao Miyazaki" . ?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 .  }
Answer: 東京都渋谷区代々木四丁目31番8号