Question: How is Metro-Goldwyn-Mayer's production of Crossroads linked to Joseph Ruttenberg?
Choices:
significant event
parent club
manner of death
captain
political alignment
military casualty classification
has contributing factor
item operated
registered with
director of photography
Answer: director of photography
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Crossroads" . ?e_1 <production_company> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "Joseph Ruttenberg" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: production company
backward
function: Find
inputs: Crossroads
function: And
dependencies: 1
2
function: Find
inputs: Joseph Ruttenberg
function: QueryRelation
dependencies: 3
4