Question: What film is based on the play titled Richard III?
Choices: Hamlet
Rent
Veer-Zaara
Role Models
Richard III
Rebecca
Chicago
The Da Vinci Code
The King and I
A Midsummer Night's Dream
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "play" . ?e_1 <title> ?pv . ?pv <pred:value> "Richard III" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Richard III
function: FilterConcept
dependencies: 1
inputs: play
function: Relate
dependencies: 2
inputs: based on
backward
function: FilterConcept
dependencies: 3
inputs: film
function: What
dependencies: 4
Answer: Richard III