Question: William Demarest is in the cast and Cyril J. Mockridge composed which visual artwork?
Choices:
Mr. Smith Goes to Washington
Rebecca
Training Day
The Fifth Element
A Prairie Home Companion
It's a Mad, Mad, Mad, Mad World
Miracle on 34th Street
Talk to Her
Pleasantville
Dressed to Kill
Answer: Dressed to Kill
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "William Demarest" .  ?e <composer> ?e_2 . ?e_2 <pred:name> "Cyril J. Mockridge" .  }
Program:
function: Find
inputs: William Demarest
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Find
inputs: Cyril J. Mockridge
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6