Question: The visual artwork titled The Portrait of a Lady is based on which work of literature?
Choices:
The Portrait of a Lady
Out of Africa
Cloud Atlas
Sense and Sensibility
Pretty Little Liars
Oliver Twist
War and Peace
Harry Potter and the Chamber of Secrets
Harry Potter and the Philosopher's Stone
Harry Potter and the Order of the Phoenix
Answer: The Portrait of a Lady
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "literary work" . ?e_1 <based_on> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "The Portrait of a Lady" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Portrait of a Lady
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: based on
forward
function: FilterConcept
dependencies: 3
inputs: literary work
function: What
dependencies: 4