Question: What's the name of the film based off of The Spy Who Loved Me (publication date 1962)?
Choices:
Pleasantville
George Washington
Talk to Her
The Fifth Element
The Spy Who Loved Me
Rebecca
Training Day
The Reader
The Towering Inferno
Wuthering Heights
Answer: The Spy Who Loved Me
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "The Spy Who Loved Me" . ?e_1 <publication_date> ?pv . ?pv <pred:year> 1962 .   }
Program:
function: Find
inputs: The Spy Who Loved Me
function: FilterYear
dependencies: 0
inputs: publication date
1962
=
function: Relate
dependencies: 1
inputs: named after
backward
function: FilterConcept
dependencies: 2
inputs: film
function: What
dependencies: 3