Question: For which work was  Sarah Palin nominated the Golden Raspberry Award for Worst Actress?
Choices:
For the Boys
Little Nicky
The Undefeated
Arthur
Confessions on a Dance Floor
Deconstructing Harry
Marty
The Kids Are All Right
The War Zone
The Forever War
Answer: The Undefeated
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sarah Palin" . ?e_2 <pred:name> "Golden Raspberry Award for Worst Actress" . ?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: Sarah Palin
function: Find
inputs: Golden Raspberry Award for Worst Actress
function: QueryRelationQualifier
dependencies: 0
1
inputs: nominated for
for work