Question: Which entertainment is a derivative work of Animaniacs (whose narrative location is Los Angeles)?
Choices:
music video game
Animaniacs
Independence Day
Harry Potter and the Half-Blood Prince
Batman
Terminator Salvation
Futurama
Battleship
Guitar Hero 5
Heat
Answer: Animaniacs
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "entertainment" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Animaniacs" . ?e_1 <narrative_location> ?e_2 . ?e_2 <pred:name> "Los Angeles" .   }
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Animaniacs
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: entertainment
function: What
dependencies: 5