Question: How is Charlie Cox of Southend United F.C. related to West Ham United F.C.?
Choices:
characters
cites
member of sports team
genre
stated in
head coach
officeholder
designed to carry
location of final assembly
architectural style
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlie Cox" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Southend United F.C." . ?e_2 <pred:name> "West Ham United F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Southend United F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Charlie Cox
function: And
dependencies: 1
2
function: Find
inputs: West Ham United F.C.
function: QueryRelation
dependencies: 3
4