Question: Tell me the relationship between John bailey (who is a Blackburn Rovers F.C. member) to Everton F.C.
Choices: interested in
head of state
game mode
general manager
cast member
member of sports team
uses
has cause
copyright representative
ancestral home
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Bailey" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Blackburn Rovers F.C." . ?e_2 <pred:name> "Everton F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Blackburn Rovers F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Bailey
function: And
dependencies: 1
2
function: Find
inputs: Everton F.C.
function: QueryRelation
dependencies: 3
4
Answer: member of sports team