Question: Which television series is a part of Twin Peaks (which has Richard Chamberlain as a cast member) and has Jim Belushi as a cast member?
Choices: Seinfeld
American Horror Story
Babylon 5
Phineas and Ferb
Six Feet Under
Bleak House
Saturday Night's Main Event
Robot Chicken
Twin Peaks
Dancing with the Stars
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Twin Peaks" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Richard Chamberlain" .  ?e <cast_member> ?e_3 . ?e_3 <pred:name> "Jim Belushi" .  }
Program:
function: Find
inputs: Richard Chamberlain
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: television series
function: Find
inputs: Jim Belushi
function: Relate
dependencies: 6
inputs: cast member
backward
function: FilterConcept
dependencies: 7
inputs: television series
function: And
dependencies: 5
8
function: What
dependencies: 9
Answer: Twin Peaks