Question: How is The Merry Widow starring Clark Gable related to Irving Thalberg?
Choices:
seed team
location
part of
position held
Wikidata property
native language
honorific prefix
tributary
producer
place of burial
Program:
function: Find
inputs: Clark Gable
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Merry Widow
function: And
dependencies: 1
2
function: Find
inputs: Irving Thalberg
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Merry Widow" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Clark Gable" . ?e_2 <pred:name> "Irving Thalberg" . ?e_1 ?p ?e_2 .  }
Answer: producer