Question: How is Ryan Murphy of the Manchester Monarchs related to an ice hockey winger?
Choices: indigenous to
affiliation
religion
position played on team / speciality
location of discovery
candidacy in election
season starts
basic form of government
has quality
original film format
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ryan Murphy" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Manchester Monarchs" . ?e_2 <pred:name> "winger" . ?e_2 <sport> ?e_4 . ?e_4 <pred:name> "ice hockey" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Manchester Monarchs
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Ryan Murphy
function: And
dependencies: 1
2
function: Find
inputs: ice hockey
function: Relate
dependencies: 4
inputs: sport
backward
function: Find
inputs: winger
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: position played on team / speciality