Question: What is the connection between Dick Tracy (the one whose production company is Walt Disney Studios Motion Pictures) to William Forsythe?
Choices:
characters
chief executive officer
film regional debut venue
official language
cast member
original film format
draft pick from school
film editor
architectural style
occupation
Answer: cast member
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dick Tracy" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Walt Disney Studios Motion Pictures" . ?e_2 <pred:name> "William Forsythe" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Dick Tracy
function: And
dependencies: 1
2
function: Find
inputs: William Forsythe
function: QueryRelation
dependencies: 3
4