Question: What occupation, related to the sport ice hockey, that is the position of John Adams (the one that is a member of Washington Capitals)?
Choices: winger
environmentalist
singer-songwriter
defenceman
forward
all-rounder
samurai
goaltender
contestant
lead vocalist
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e <sport> ?e_1 . ?e_1 <pred:name> "ice hockey" .  ?e_2 <position_played_on_team_/_speciality> ?e . ?e_2 <pred:name> "John Adams" . ?e_2 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Washington Capitals" .  }
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: FilterConcept
dependencies: 1
inputs: occupation
function: Find
inputs: Washington Capitals
function: Relate
dependencies: 3
inputs: member of sports team
backward
function: Find
inputs: John Adams
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 7
inputs: occupation
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: goaltender