Question: Which baseball team has Mark Williams (the one whose position is outfielder) as a member?
Choices:
Tohoku Rakuten Golden Eagles
Colorado Rockies
Los Angeles Dodgers
Cleveland Indians
Atlanta Braves
Oakland Athletics
San Diego Padres
New York Yankees
Texas Rangers
San Francisco Giants
Program:
function: Find
inputs: outfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Mark Williams
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: member of sports team
forward
function: FilterConcept
dependencies: 4
inputs: baseball team
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "baseball team" . ?e_1 <member_of_sports_team> ?e . ?e_1 <pred:name> "Mark Williams" . ?e_1 <position_played_on_team_/_speciality> ?e_2 . ?e_2 <pred:name> "outfielder" .   }
Answer: Oakland Athletics