Question: What is the connection between John Williams (the one that is a member of Calgary Stampeders) to Edmonton Eskimos?
Choices:
member of sports team
after a work by
narrator
movement
officeholder
place served by transport hub
enclave within
diplomatic relation
subject has role
substitute/deputy/replacement of office/officeholder
Program:
function: Find
inputs: Calgary Stampeders
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Williams
function: And
dependencies: 1
2
function: Find
inputs: Edmonton Eskimos
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Calgary Stampeders" . ?e_2 <pred:name> "Edmonton Eskimos" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team