Question: What is the street address of Enix's headquarters that is located in Tokyo (that is the headquarters location of Enix)?
Choices:
North Virginia Street, Reno, NV, 89557
77 West 66 Street
1 John Marshall Dr, Huntington, WV, 25755
6363 Saint Charles Ave, New Orleans, LA, 70118-6143
東京都渋谷区代々木四丁目31番8号
4000 Mayflower Hill Drive, Waterville, ME, 04901-8840
441 East Fordham Road, Bronx
Rudder Tower, 401 Joe Routt Blvd.
12501 Old Columbia Pike
One Silber Way, Boston, MA, 02215
Answer: 東京都渋谷区代々木四丁目31番8号
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Enix" . ?e_2 <pred:name> "Tokyo" . ?e_3 <headquarters_location> ?e_2 . ?e_3 <pred:name> "Enix" . ?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: Enix
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: headquarters location
located at street address