Question: What film is based on the written work titled The Man with the Golden Gun?
Choices:
The Scarlet Letter
Atonement
I, Robot
Interview with the Vampire
Planet of the Apes
The Man with the Golden Gun
The Witches of Eastwick
Beloved
Superman III
When in Rome
Answer: The Man with the Golden Gun
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> "written work" . ?e_1 <title> ?pv_1 . ?pv_1 <pred:value> "The Man with the Golden Gun" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Man with the Golden Gun
function: FilterConcept
dependencies: 1
inputs: written work
function: Relate
dependencies: 2
inputs: based on
backward
function: FilterConcept
dependencies: 3
inputs: film
function: What
dependencies: 4