Question: Elijah Wood won a Broadcast Film Critics Association Award for Best Cast for which work?
Choices:
Shatranj Ke Khilari
Lord Valentine's Castle
Mountain Ways
A Double Life
National Velvet
Ray of Light
Justin Bieber: Never Say Never
Tales of the South Pacific
Pal Joey
The Lord of the Rings: The Return of the King
Answer: The Lord of the Rings: The Return of the King
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Broadcast Film Critics Association Award for Best Cast" . ?e_2 <pred:name> "Elijah Wood" . ?e_1 <winner> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Broadcast Film Critics Association Award for Best Cast
function: Find
inputs: Elijah Wood
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work