Question: How is outfielder Gary Moore related to the Los Angeles Dodgers?
Choices:
operating system
league
production designer
member of sports team
filmography
enclave within
substitute/deputy/replacement of office/officeholder
production company
occupation
source of income
Program:
function: Find
inputs: outfielder
function: Relate
dependencies: 0
inputs: position played on team / speciality
backward
function: Find
inputs: Gary Moore
function: And
dependencies: 1
2
function: Find
inputs: Los Angeles Dodgers
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Gary Moore" . ?e_1 <position_played_on_team_/_speciality> ?e_3 . ?e_3 <pred:name> "outfielder" . ?e_2 <pred:name> "Los Angeles Dodgers" . ?e_1 ?p ?e_2 .  }
Answer: member of sports team