Question: What's the title of the TV series inspired by Dynasty (featuring Billy Dee Williams as a cast member)?
Choices:
Coach Carter
It's Complicated
Hannah Arendt
The Queen
Джоконда
Dynasty
Astro Boy
Mortal Kombat: Annihilation
南極物語
G.I. Joe: The Rise of Cobra
Answer: Dynasty
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Dynasty" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Billy Dee Williams" .  ?e <title> ?pv .  }
Program:
function: Find
inputs: Billy Dee Williams
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Dynasty
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