Question: What is the connection between Cabaret (the one whose genre is drama film) to Paramount Pictures?
Choices:
signatory
production designer
lifestyle
contributing factor of
distributor
work location
military rank
territory claimed by
has quality
appointed by
Program:
function: Find
inputs: drama film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Cabaret
function: And
dependencies: 1
2
function: Find
inputs: Paramount Pictures
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cabaret" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "drama film" . ?e_2 <pred:name> "Paramount Pictures" . ?e_1 ?p ?e_2 .  }
Answer: distributor