Question: What film has Madonna as a cast member (the character role of this statement is Eva Perón) and was nominated for the BAFTA Award for Best Adapted Screenplay?
Choices: Pleasantville
Curse of the Golden Flower
Evita
Rope
The Fifth Element
Talk to Her
The Towering Inferno
Training Day
Rebecca
The Hunchback of Notre Dame
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Madonna" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Eva Perón" . ?e <nominated_for> ?e_2 . ?e_2 <pred:name> "BAFTA Award for Best Adapted Screenplay" .  }
Program:
function: Find
inputs: Madonna
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
Eva Perón
function: FilterConcept
dependencies: 2
inputs: film
function: Find
inputs: BAFTA Award for Best Adapted Screenplay
function: Relate
dependencies: 4
inputs: nominated for
backward
function: FilterConcept
dependencies: 5
inputs: film
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: Evita