Question: What movie has Alfred Newman (the one that was nominated for Academy Award for Best Original Score) as the composer and Donald Pleasence as a cast member?
Choices:
All Quiet on the Western Front
Foreign Correspondent
Terror in the Aisles
Cheaper by the Dozen
Halloween
The Hunchback of Notre Dame
The Greatest Story Ever Told
Wuthering Heights
You Only Live Twice
Anastasia
Program:
function: Find
inputs: Academy Award for Best Original Score
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Alfred Newman
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: composer
backward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Find
inputs: Donald Pleasence
function: Relate
dependencies: 6
inputs: cast member
backward
function: FilterConcept
dependencies: 7
inputs: visual artwork
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Alfred Newman" . ?e_1 <nominated_for> ?e_2 . ?e_2 <pred:name> "Academy Award for Best Original Score" .  ?e <cast_member> ?e_3 . ?e_3 <pred:name> "Donald Pleasence" .  }
Answer: The Greatest Story Ever Told