Question: What television series is based on Charmed starring Kaley Cuoco?
Choices: Game of Thrones
The Wire
Seinfeld
Bleak House
Charmed
Saturday Night's Main Event
American Horror Story
Robot Chicken
Six Feet Under
The Transformers
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <based_on> ?e_1 . ?e_1 <pred:name> "Charmed" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Kaley Cuoco" .   }
Program:
function: Find
inputs: Kaley Cuoco
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Charmed
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: based on
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: What
dependencies: 5
Answer: Charmed