Question: What is the connection between Kevin Smith (the one that is a member of Notts County F.C.) to Queen of the South F.C.?
Choices:
after a work by
home port
practiced by
head of government
work location
member of sports team
doctoral advisor
production designer
family
instrument
Program:
function: Find
inputs: Notts County F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Kevin Smith
function: And
dependencies: 1
2
function: Find
inputs: Queen of the South F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin Smith" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Notts County F.C." . ?e_2 <pred:name> "Queen of the South F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team