Question: How is Brian Wilson of the San Francisco Giants related to the relief pitcher position?
Choices: located in or next to body of water
practiced by
applies to jurisdiction
kit supplier
sex or gender
influenced by
takes place in fictional universe
mascot
position played on team / speciality
hair color
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brian Wilson" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "San Francisco Giants" . ?e_2 <pred:name> "relief pitcher" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: San Francisco Giants
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Brian Wilson
function: And
dependencies: 1
2
function: Find
inputs: relief pitcher
function: QueryRelation
dependencies: 3
4
Answer: position played on team / speciality