Question: Defensive player Tom Johnson has what connection to the Boston Bruins?
Choices:
chief executive officer
executive producer
partner
production company
member of sports team
location of final assembly
operating area
organisation directed from the office or person
cites
performer
Program:
function: Find
inputs: defenceman
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: Boston Bruins
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "defenceman" . ?e_2 <pred:name> "Boston Bruins" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team