Question: Which higher education institution has their headquarters located at the city where Imperial Japanese Army is also located?
Choices:
Sony Interactive Entertainment
Duquesne University
University of Pisa
Jaleco
City University of New York
University of Edinburgh
University of the Witwatersrand
Keio University
Bandai Namco Entertainment
Sony Music Entertainment Japan
Answer: Keio University
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_3 <location> ?e_1 . ?e_3 <pred:name> "Imperial Japanese Army" .   }
Program:
function: Find
inputs: Imperial Japanese Army
function: Relate
dependencies: 0
inputs: location
forward
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: higher education institution
function: What
dependencies: 4