Question: Tell me the literary award that got nominated to the person who resides in Brookline (this statement ended in 2005)
Choices: Newbery Medal
Locus Award for Best Science Fiction Novel
Hugo Award for Best Professional Artist
Michael L. Printz Award
International IMPAC Dublin Literary Award
Governor General's Award for English-language poetry
Nebula Award for Best Novella
Kate Greenaway Medal
National Book Award for Fiction
Prometheus Award
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary award" . ?e_1 <nominated_for> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "human" . ?e_1 <residence> ?e_2 . ?e_2 <pred:name> "Brookline" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <residence> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv . ?qpv <pred:year> 2005 .   }
Program:
function: Find
inputs: Brookline
function: Relate
dependencies: 0
inputs: residence
backward
function: QFilterYear
dependencies: 1
inputs: end time
2005
=
function: FilterConcept
dependencies: 2
inputs: human
function: Relate
dependencies: 3
inputs: nominated for
forward
function: FilterConcept
dependencies: 4
inputs: literary award
function: What
dependencies: 5
Answer: National Book Award for Fiction