Question: Sean Astin won the Outstanding Performance by a Cast in a Motion Picture SAG award for which work?
Choices:
The Merry Monahans
Harry Potter and the Chamber of Secrets
The Lord of the Rings: The Return of the King
The Wind Rises
Captain Phillips
Sittin' Up in My Room
Into the Storm
American Horror Story
Boston Legal
The Russians Are Coming, the Russians Are Coming
Answer: The Lord of the Rings: The Return of the King
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> "Sean Astin" . ?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: Sean Astin
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work