Question: What is the connection between Paul Williams (the one that is a member of Northern Ireland national football team) to Doncaster Rovers F.C.?
Choices:
ethnic group
religion
risk factor
located in time zone
published in
place served by transport hub
member of sports team
chief executive officer
head coach
participant of
Answer: member of sports team
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Paul Williams" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Northern Ireland national football team" . ?e_2 <pred:name> "Doncaster Rovers F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Northern Ireland national football team
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Paul Williams
function: And
dependencies: 1
2
function: Find
inputs: Doncaster Rovers F.C.
function: QueryRelation
dependencies: 3
4