Question: How is Ryan Adams (the one whose position is second baseman) related to second baseman ?
Choices:
screenwriter
main subject
position played on team / speciality
different from
member of sports team
found
platform
godparent
political alignment
coextensive with
Program:
function: Find
inputs: second baseman
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Ryan Adams
function: And
dependencies: 1
2
function: Find
inputs: second baseman
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ryan Adams" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "second baseman" . ?e_2 <pred:name> "second baseman" . ?e_1 ?p ?e_2 .  }
Answer: position played on team / speciality