Question: How is the midfielder Stephen King related to the midfielder position?
Choices: programming paradigm
properties for this type
has part
publisher
costume designer
characters
position played on team / speciality
language of work or name
native language
soundtrack album
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stephen King" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "midfielder" . ?e_2 <pred:name> "midfielder" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: midfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Find
inputs: midfielder
function: QueryRelation
dependencies: 3
4
Answer: position played on team / speciality