Question: Which work is awarded when Jennifer Hudson was nominated for the Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture?
Choices: How to Make an American Quilt
Portraits of His Children
Moonstruck
Young Winston
Henry & June
Dreamgirls
Butterflies Are Free
Accidentally in Love
The Bridges of Madison County
The Lost World: Jurassic Park
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Jennifer Hudson" . ?e_2 <pred:name> "Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture" . ?e_1 <nominated_for> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <nominated_for> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Jennifer Hudson
function: Find
inputs: Screen Actors Guild Award for Outstanding Performance by a Cast in a Motion Picture
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work
Answer: Dreamgirls