Question: The written property known as The Lord of the Rings received a nomination for what literary prize?
Choices:
Hugo Award for Best Novel
John W. Campbell Memorial Award for Best Science Fiction Novel
Kate Greenaway Medal
Prometheus Award
National Book Award for Fiction
Neustadt International Prize for Literature
National Book Award for Poetry
International IMPAC Dublin Literary Award
Nebula Award for Best Novel
PEN/Faulkner Award for Fiction
Answer: 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> "written work" . ?e_1 <title> ?pv . ?pv <pred:value> "The Lord of the Rings" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Lord of the Rings
function: FilterConcept
dependencies: 1
inputs: written work
function: Relate
dependencies: 2
inputs: nominated for
forward
function: FilterConcept
dependencies: 3
inputs: literary award
function: What
dependencies: 4