Question: What has John Byrne (the one whose position is midfielder) to do with St Patrick's Athletics?
Choices: head of state
editor
filmography
followed by
participant of
executive producer
military conflicts
member of sports team
head coach
separated from
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Byrne" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "midfielder" . ?e_2 <pred:name> "St Patrick's Athletic F.C." . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: midfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: John Byrne
function: And
dependencies: 1
2
function: Find
inputs: St Patrick's Athletic F.C.
function: QueryRelation
dependencies: 3
4
Answer: member of sports team