Question: What is the connection between John Irving (the one whose position is power forward) to basketball?
Choices: sport
captain
place of birth
headquarters location
religion
voice type
statistical leader
professional or sports partner
operating system
costume designer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Irving" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "power forward" . ?e_2 <pred:name> "basketball" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: power forward
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: John Irving
function: And
dependencies: 1
2
function: Find
inputs: basketball
function: QueryRelation
dependencies: 3
4
Answer: sport