Question: What is the connection between Tokyo Yakult Swallows and Tokyo (that is the original location of Pony Canyon)?
Choices:
season starts
patron saint
use
studied by
talk show guest
publisher
has cause
student
headquarters location
student of
Program:
function: Find
inputs: Tokyo Yakult Swallows
function: Find
inputs: Pony Canyon
function: Relate
dependencies: 1
inputs: location of formation
forward
function: Find
inputs: Tokyo
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tokyo Yakult Swallows" . ?e_2 <pred:name> "Tokyo" . ?e_3 <location_of_formation> ?e_2 . ?e_3 <pred:name> "Pony Canyon" . ?e_1 ?p ?e_2 .  }
Answer: headquarters location