Question: How is Irving Thalberg related to the silent film "The Hunchback of Notre Dame?"
Choices:
location of final assembly
place of death
designed to carry
performer
language used
geography of topic
producer
dedicated to
taxon rank
signatory
Answer: producer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Hunchback of Notre Dame" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "silent film" . ?e_2 <pred:name> "Irving Thalberg" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Hunchback of Notre Dame
function: And
dependencies: 1
2
function: Find
inputs: Irving Thalberg
function: QueryRelation
dependencies: 3
4