Question: What is the connection between Liam O'Brien (the one that is a member of Shamrock Rovers F.C.) to Cork City F.C.?
Choices:
operator
significant person
located in the administrative territorial entity
partner
official color
commissioned by
occupant
head coach
cast member
member of sports team
Program:
function: Find
inputs: Shamrock Rovers F.C.
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Liam O'Brien
function: And
dependencies: 1
2
function: Find
inputs: Cork City F.C.
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Liam O'Brien" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Shamrock Rovers F.C." . ?e_2 <pred:name> "Cork City F.C." . ?e_1 ?p ?e_2 .  }
Answer: member of sports team