Question: What is the title of television series that is a derivative work of Anger Management (the one that has Krista Allen as a cast member) ?
Choices:
Total Recall
The U
Dirty Dancing
All Boys
Anger Management
The Rescuers
Night at the Museum
FreeBSD Ports Management Team Secretary
Dick Tracy
Renaissance
Answer: Anger Management
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Anger Management" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Krista Allen" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Krista Allen
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Anger Management
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: television series
function: QueryAttr
dependencies: 5
inputs: title