Question: Which visual artwork was nominated for the BAFTA Award for Best Adapted Screenplay and has the title The Dresser?
Choices:
My Left Foot
A Prairie Home Companion
Empire of the Sun
The Last King of Scotland
The Wings of the Dove
Shadowlands
Pleasantville
Rebecca
Talk to Her
The Dresser
Answer: The Dresser
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "BAFTA Award for Best Adapted Screenplay" .  ?e <title> ?pv . ?pv <pred:value> "The Dresser" .  }
Program:
function: Find
inputs: BAFTA Award for Best Adapted Screenplay
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Dresser
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: And
dependencies: 2
5
function: What
dependencies: 6