Question: Sophia Loren won the Cannes Film Festival Best Actress award for which work?
Choices: The Human Body
Two Women
Match Point
The Hoaxters
The Steve Allen Show
The Spy Who Came in from the Cold
The Town
Jai Ho!
The Barefoot Contessa
Tribute
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Sophia Loren" . ?e_2 <pred:name> "Cannes Film Festival Award for Best Actress" . ?e_1 <award_received> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <award_received> ; <pred:fact_t> ?e_2 ] <for_work> ?qpv .  }
Program:
function: Find
inputs: Sophia Loren
function: Find
inputs: Cannes Film Festival Award for Best Actress
function: QueryRelationQualifier
dependencies: 0
1
inputs: award received
for work
Answer: Two Women