Question: Who is the film editor of the film that is a derivative work of Empire of the Sun, a notable work or J. G. Ballard?
Choices:
Edward Herrmann
William Henry Harrison
David Lynch
John G. Avildsen
Michael Kahn
John Davis
Dame
Richard Gere
Sylvester Stallone
Dorothy Spencer
Program:
function: Find
inputs: J. G. Ballard
function: Relate
dependencies: 0
inputs: notable work
forward
function: Find
inputs: Empire of the Sun
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: film
function: Relate
dependencies: 5
inputs: film editor
forward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <film_editor> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_3 <derivative_work> ?e_1 . ?e_3 <pred:name> "Empire of the Sun" . ?e_4 <notable_work> ?e_3 . ?e_4 <pred:name> "J. G. Ballard" .   }
Answer: Michael Kahn