Question: How is Million Dollar Baby produced by Hal B. Wallis related to Ronald Reagan?
Choices: basin country
located on terrain feature
officeholder
grants
operating area
father
from fictional universe
doctoral student
airline alliance
cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Million Dollar Baby" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Hal B. Wallis" . ?e_2 <pred:name> "Ronald Reagan" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hal B. Wallis
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Million Dollar Baby
function: And
dependencies: 1
2
function: Find
inputs: Ronald Reagan
function: QueryRelation
dependencies: 3
4
Answer: cast member