Question: Which baseball position played by first baseman Mark Johnson is also the position of politician George Burns ?
Choices:
designated hitter
right fielder
relief pitcher
shortstop
infielder
left fielder
starting pitcher
first baseman
center fielder
second baseman
Program:
function: Find
inputs: first baseman
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Mark Johnson
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: politician
function: Relate
dependencies: 6
inputs: occupation
backward
function: Find
inputs: George Burns
function: And
dependencies: 7
8
function: Relate
dependencies: 9
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 10
inputs: baseball position
function: And
dependencies: 5
11
function: What
dependencies: 12
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> "Mark Johnson" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "first baseman" .  ?e_3 <position_played_on_team_/_speciality> ?e . ?e_3 <pred:name> "George Burns" . ?e_3 <occupation> ?e_4 . ?e_4 <pred:name> "politician" .  }
Answer: first baseman