Question: Which written work is the basis for the aviation-themed Thunderball?
Choices:
Live and Let Die
Thunderball
Contact
Moonraker
Empire of the Sun
The Painted Veil
The Human Stain
You Only Live Twice
Timeline
A Single Man
Program:
function: Find
inputs: aviation
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Thunderball
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
backward
function: FilterConcept
dependencies: 4
inputs: written work
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "written work" . ?e <derivative_work> ?e_1 . ?e_1 <pred:name> "Thunderball" . ?e_1 <main_subject> ?e_2 . ?e_2 <pred:name> "aviation" .   }
Answer: Thunderball