Question: Which is the television series created by the screenwriter of The Producers that was shot in New York City?
Choices:
America's Next Top Model
House
Band of Brothers
Taxi
War and Peace
ER
Get Smart
One Life to Live
X-Men
Batman: The Animated Series
Answer: Get Smart
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <creator> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_2 <screenwriter> ?e_1 . ?e_2 <pred:name> "The Producers" . ?e_2 <filming_location> ?e_3 . ?e_3 <pred:name> "New York City" .   }
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: The Producers
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: screenwriter
forward
function: FilterConcept
dependencies: 4
inputs: human
function: Relate
dependencies: 5
inputs: creator
backward
function: FilterConcept
dependencies: 6
inputs: television series
function: What
dependencies: 7