Question: Who is the screenwriter of The Stepford Wives that is shot in New York City?
Choices:
Richard Gere
Roman Polanski
William Henry Harrison
Charles Darwin
Judd Apatow
M. Night Shyamalan
Max Fleischer
Sylvester Stallone
David Guetta
William Goldman
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Stepford Wives
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <screenwriter> ?e . ?e_1 <pred:name> "The Stepford Wives" . ?e_1 <filming_location> ?e_2 . ?e_2 <pred:name> "New York City" .   }
Answer: William Goldman