Question: What work did Peter Riegert win a Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture for?
Choices:
The Seduction of Joe Tynan
The Merry Widow
Lonesome Dove
Gone with the Wind
Centennial Summer
The Witches of Eastwick
Traffic
Trees Lounge
Universal Mind Control
Seven Days in May
Answer: Traffic
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> "Peter Riegert" . ?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: Peter Riegert
function: QueryRelationQualifier
dependencies: 0
1
inputs: winner
for work