Question: What is the connection between Walter Murphy (the one whose position is pitcher) to pitcher?
Choices: dedicated to
member of sports team
airline hub
interests
Wikidata property
set in period
subsidiary
home port
position played on team / speciality
foundational text
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Walter Murphy" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "pitcher" . ?e_2 <pred:name> "pitcher" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: pitcher
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Walter Murphy
function: And
dependencies: 1
2
function: Find
inputs: pitcher
function: QueryRelation
dependencies: 3
4
Answer: position played on team / speciality