Question: What baseball position is the placement of Bruce Campbell (who is a member of the Cleveland Indians) and is related to the sport baseball?
Choices:
second baseman
designated hitter
first baseman
right fielder
left fielder
shortstop
catcher
third baseman
infielder
center fielder
Program:
function: Find
inputs: Cleveland Indians
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Bruce Campbell
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: baseball position
function: Find
inputs: baseball
function: Relate
dependencies: 6
inputs: sport
backward
function: FilterConcept
dependencies: 7
inputs: baseball position
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball position" . ?e_1 <position_played_on_team_/_speciality> ?e . ?e_1 <pred:name> "Bruce Campbell" . ?e_1 <member_of_sports_team> ?e_2 . ?e_2 <pred:name> "Cleveland Indians" .  ?e <sport> ?e_3 . ?e_3 <pred:name> "baseball" .  }
Answer: right fielder