Question: What is shortstop Joe Walsh's association to baseball?
Choices:
legislative body
place of publication
domain of saint or deity
different from
significant person
theme music
producer
sport
depicts
narrative location
Program:
function: Find
inputs: shortstop
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Joe Walsh
function: And
dependencies: 1
2
function: Find
inputs: baseball
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "shortstop" . ?e_2 <pred:name> "baseball" . ?e_1 ?p ?e_2 .  }
Answer: sport