Question: How is John Mahoney (the one that is a member of Swansea City A.F.C.) connected to Middlesbrough F.C.?
Choices:
significant event
member of sports team
language of work or name
father
licensed to broadcast to
item operated
located on terrain feature
partner
location of final assembly
published in
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Mahoney" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Swansea City A.F.C." . ?e_2 <pred:name> "Middlesbrough F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Swansea City A.F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Mahoney
function: And
dependencies: 1
2
function: Find
inputs: Middlesbrough F.C.
function: QueryRelation
dependencies: 3
4