Question: How is John Logan of Charlton Athletic F.C. related to Charlton Athletic F.C.?
Choices:
health specialty
distribution
organizer
successful candidate
continent
takes place in fictional universe
collection
soundtrack album
member of sports team
professional or sports partner
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Logan" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Charlton Athletic F.C." . ?e_2 <pred:name> "Charlton Athletic F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Charlton Athletic F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Logan
function: And
dependencies: 1
2
function: Find
inputs: Charlton Athletic F.C.
function: QueryRelation
dependencies: 3
4