Question: Which person produced The Merry Widow, featuring Lana Turner in its cast?
Choices:
Ernst Lubitsch
William Henry Harrison
Sylvester Stallone
Pandro S. Berman
Ann Roth
Will Smith
Joe Pasternak
Max Fleischer
John Houseman
Irving Thalberg
Program:
function: Find
inputs: Lana Turner
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: producer
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <producer> ?e . ?e_1 <pred:name> "The Merry Widow" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Lana Turner" .   }
Answer: Joe Pasternak