Question: What is the connection between Paul Williams, who is a member of Southend United F.C., and Torquay United F.C.?
Choices:
studies
stated in
production designer
basic form of government
office held by head of government
candidate
member of sports team
allegiance
religion
work location
Program:
function: Find
inputs: Southend United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Paul Williams
function: And
dependencies: 1
2
function: Find
inputs: Torquay United F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Southend United F.C." . ?e_2 <pred:name> "Torquay United F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team