Question: What activity has Duran Duran as a composer and is a derivative work of A View to a Kill (the one whose genre is spy film)?
Choices: Batman
music video game
Guitar Hero 5
beat 'em up
G.I. Joe: The Rise of Cobra
Shrek Forever After
Battleship
A View to a Kill
Spider-Man 3
Harry Potter and the Half-Blood Prince
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "activity" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Duran Duran" .  ?e_2 <derivative_work> ?e . ?e_2 <pred:name> "A View to a Kill" . ?e_2 <genre> ?e_3 . ?e_3 <pred:name> "spy film" .  }
Program:
function: Find
inputs: Duran Duran
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: activity
function: Find
inputs: spy film
function: Relate
dependencies: 3
inputs: genre
backward
function: Find
inputs: A View to a Kill
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: derivative work
forward
function: FilterConcept
dependencies: 7
inputs: activity
function: And
dependencies: 2
8
function: What
dependencies: 9
Answer: A View to a Kill