Question: What kind of entertainment serves as the derivative work of visual artwork titled Batman Returns ?
Choices:
Robots
Batman Returns
The Fifth Element
Spider-Man
Bolt
Batman Begins
Batman
Harry Potter and the Half-Blood Prince
Harry Potter and the Order of the Phoenix
Charlie's Angels
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Batman Returns
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: Relate
dependencies: 2
inputs: derivative work
forward
function: FilterConcept
dependencies: 3
inputs: entertainment
function: What
dependencies: 4
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e_1 <derivative_work> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "visual artwork" . ?e_1 <title> ?pv . ?pv <pred:value> "Batman Returns" .   }
Answer: Batman Returns