Question: Who works in New York city and died in 2001?
Choices:
Roger Zelazny
Bill Withers
Queen Latifah
Chet Atkins
Joe Cocker
Ralph Burns
Michael Giacchino
Jim Taylor
Patrick Swayze
Michael Richards
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: work location
backward
function: FilterConcept
dependencies: 1
inputs: human
function: FindAll
function: FilterYear
dependencies: 3
inputs: date of death
2001
=
function: FilterConcept
dependencies: 4
inputs: human
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <work_location> ?e_1 . ?e_1 <pred:name> "New York City" .  ?e <date_of_death> ?pv . ?pv <pred:year> 2001 .  }
Answer: Michael Richards