Question: What does Rochdale A.F.C. member Tommy Lee have to do with Chesterfield F.C.?
Choices:
member of
residence
professional or sports partner
member of sports team
child
located in the administrative territorial entity
subsidiary
narrative role
applies to jurisdiction
official religion
Program:
function: Find
inputs: Rochdale A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Tommy Lee
function: And
dependencies: 1
2
function: Find
inputs: Chesterfield F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tommy Lee" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Rochdale A.F.C." . ?e_2 <pred:name> "Chesterfield F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team