Question: Which baseball position was played by NYC native Jack Warner?
Choices:
starting pitcher
right fielder
center fielder
left fielder
second baseman
catcher
infielder
first baseman
designated hitter
shortstop
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Jack Warner
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: position played on team / speciality
forward
function: FilterConcept
dependencies: 4
inputs: baseball position
function: What
dependencies: 5
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> "Jack Warner" . ?e_1 <place_of_birth> ?e_2 . ?e_2 <pred:name> "New York City" .   }
Answer: catcher