Question: What is the connection between Fair Game (whose producer is Akiva Goldsman) and Tom McCarthy (who is a cast member of Little Fockers)?
Choices: next higher rank
opposite of
product or material produced
cast member
narrator
film crew member
political alignment
ethnic group
executive producer
student of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Fair Game" . ?e_1 <producer> ?e_3 . ?e_3 <pred:name> "Akiva Goldsman" . ?e_2 <pred:name> "Tom McCarthy" . ?e_4 <cast_member> ?e_2 . ?e_4 <pred:name> "Little Fockers" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Akiva Goldsman
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Fair Game
function: And
dependencies: 1
2
function: Find
inputs: Little Fockers
function: Relate
dependencies: 4
inputs: cast member
forward
function: Find
inputs: Tom McCarthy
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member