Question: Tell me the movie that was written by Jean Cocteau and that is in the drama film genre.
Choices:
Rebecca
Silver Linings Playbook
The Last King of Scotland
Pleasantville
Talk to Her
Beauty and the Beast
Batman Begins
A Prairie Home Companion
A Star Is Born
A Place in the Sun
Answer: Beauty and the Beast
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Jean Cocteau" .  ?e <genre> ?e_2 . ?e_2 <pred:name> "drama film" .  }
Program:
function: Find
inputs: Jean Cocteau
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: FilterConcept
dependencies: 1
inputs: film
function: Find
inputs: drama film
function: Relate
dependencies: 3
inputs: genre
backward
function: FilterConcept
dependencies: 4
inputs: film
function: And
dependencies: 2
5
function: What
dependencies: 6