Question: Which work is awarded when the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture is won by Elijah Wood?
Choices: Trumps of Doom
Traveling Hopefully
Dog Day Afternoon
Backdraft
Bird
The Truth About Mother Goose
All in the Family
The Lord of the Rings: The Return of the King
Lust for Life
Ordinary People
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture" . ?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: Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
function: Find
inputs: Elijah Wood
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work
Answer: The Lord of the Rings: The Return of the King