Question: What person is the screenwriter of the film that has a cast member named Neil Young (whose occupation is singer-songwriter)?
Choices: James Wong
George III of Great Britain
Richard Linklater
Mani Ratnam
H. G. Wells
Richard D. Zanuck
William Gibson
Ray Romano
Jack Kirby
Michael Cimino
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <screenwriter> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Neil Young" . ?e_3 <occupation> ?e_4 . ?e_4 <pred:name> "singer-songwriter" .   }
Program:
function: Find
inputs: singer-songwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: cast member
backward
function: FilterConcept
dependencies: 4
inputs: film
function: Relate
dependencies: 5
inputs: screenwriter
forward
function: FilterConcept
dependencies: 6
inputs: human
function: What
dependencies: 7
Answer: H. G. Wells