Question: What is the connection between John Byrne (the one that is a member of Northampton Town F.C.) to Hibernian F.C.?
Choices:
film crew member
parent astronomical body
member of sports team
foundational text
conferred by
main food source
ancestral home
performer
has contributing factor
author
Program:
function: Find
inputs: Northampton Town F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Find
inputs: Hibernian F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Byrne" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Northampton Town F.C." . ?e_2 <pred:name> "Hibernian F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team