Question: What is the title of the movie that is a derivative work of You Only Live Twice (the one that uses the language English)?
Choices:
The End of the Affair
The Exorcist
Pinocchio
You Only Live Twice
The most powerful human being in the whole multiverse
Toy Story 2
Beloved
The Twilight Zone
Grindhouse
I, Robot
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: You Only Live Twice
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: title
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "You Only Live Twice" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  ?e <title> ?pv .  }
Answer: You Only Live Twice