Question: The writer of the script for American Gangster, which has a story set in New York City, is the producer of what visual artwork?
Choices:
A Civil Action
Miracle on 34th Street
About a Boy
Loving
Elizabeth: The Golden Age
The Sweet Hereafter
Nashville
Ghost Rider
The Orphanage
Top Gun
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: American Gangster
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: producer
backward
function: FilterConcept
dependencies: 6
inputs: visual artwork
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <producer> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> "American Gangster" . ?e_2 <narrative_location> ?e_3 . ?e_3 <pred:name> "New York City" .   }
Answer: A Civil Action