Question: Tell me the relationship between Cabaret (which was published in 1927) and silent film.
Choices:
inspired by
uses
time period
subsidiary
genre
editor
industry
composer
officially opened by
has effect
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cabaret" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1927 . ?e_2 <pred:name> "silent film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cabaret
function: FilterYear
dependencies: 0
inputs: publication date
1927
=
function: Find
inputs: silent film
function: QueryRelation
dependencies: 1
2