Question: For which work was Cher (the one that is famous for pop music) awarded the Cannes Film Festival Award for Best Actress?
Choices:
Ghayal
Patton
Lend a Paw
Mystery Train
The Enemy Stars
The Proud and the Beautiful
Mask
Kabhi Khushi Kabhie Gham...
Blank Space
We Found Love
Answer: Mask
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cannes Film Festival Award for Best Actress" . ?e_2 <pred:name> "Cher" . ?e_3 <famous_people> ?e_2 . ?e_3 <pred:name> "pop music" . ?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: Cannes Film Festival Award for Best Actress
function: Find
inputs: pop music
function: Relate
dependencies: 1
inputs: famous people
forward
function: Find
inputs: Cher
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: winner
for work