Question: What is the connection between John Logan (the one that is a member of Barnsley F.C.) to Barnsley F.C.?
Choices:
doctoral student
member of sports team
programming language
country of origin
voice type
eye color
rector
basin country
twinned administrative body
illustrator
Program:
function: Find
inputs: Barnsley 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: Barnsley F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Logan" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Barnsley F.C." . ?e_2 <pred:name> "Barnsley F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team