Question: What film is based on the book titled You Only Live Twice?
Choices:
The Perks of Being a Wallflower
Catch-22
Solaris
50 First Dates
You Only Live Twice
Mystic River
A Single Man
Super 8
Midnight's Children
Scarlett
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
You Only Live Twice
function: FilterConcept
dependencies: 1
inputs: written work
function: Relate
dependencies: 2
inputs: based on
backward
function: FilterConcept
dependencies: 3
inputs: visual artwork
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <based_on> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "written work" . ?e_1 <title> ?pv . ?pv <pred:value> "You Only Live Twice" .   }
Answer: You Only Live Twice