Question: Which occupation includes winger (the one related to the sport ice hockey) and is the position of Pittsburgh Penguins member Mark Johnson?
Choices:
small forward
all-rounder
lead vocalist
forward
samurai
defenceman
partner
contestant
singer-songwriter
strongman
Answer: forward
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "occupation" . ?e <has_part> ?e_1 . ?e_1 <pred:name> "winger" . ?e_1 <sport> ?e_2 . ?e_2 <pred:name> "ice hockey" .  ?e_3 <position_played_on_team_/_speciality> ?e . ?e_3 <pred:name> "Mark Johnson" . ?e_3 <member_of_sports_team> ?e_4 . ?e_4 <pred:name> "Pittsburgh Penguins" .  }
Program:
function: Find
inputs: ice hockey
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: winger
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
backward
function: FilterConcept
dependencies: 4
inputs: occupation
function: Find
inputs: Pittsburgh Penguins
function: Relate
dependencies: 6
inputs: member of sports team
backward
function: Find
inputs: Mark Johnson
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 10
inputs: occupation
function: And
dependencies: 5
11
function: What
dependencies: 12