Question: What literary work has Jonny Greenwood as a cast member?
Choices:
Dune
Harry Potter and the Philosopher's Stone
War and Peace
The Godfather
Out of Africa
The Lost Weekend
Sense and Sensibility
Harry Potter and the Goblet of Fire
Harry Potter and the Order of the Phoenix
Oliver Twist
Program:
function: Find
inputs: Jonny Greenwood
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: derivative work
backward
function: FilterConcept
dependencies: 3
inputs: literary work
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Jonny Greenwood" .   }
Answer: Harry Potter and the Goblet of Fire