Question: Which television series contains Six Feet Under (which has Patricia Heaton as a cast member and has a series ordinal of 44) and ended after 1882?
Choices: Saturday Night's Main Event
Game of Thrones
American Horror Story
Six Feet Under
Phineas and Ferb
Seinfeld
Robot Chicken
Everybody Loves Raymond
Babylon 5
Bleak House
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "Six Feet Under" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Patricia Heaton" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "44" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1882 ) .  }
Program:
function: Find
inputs: Patricia Heaton
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Six Feet Under
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
forward
function: QFilterStr
dependencies: 4
inputs: series ordinal
44
function: FilterConcept
dependencies: 5
inputs: television series
function: FindAll
function: FilterYear
dependencies: 7
inputs: end time
1882
>
function: FilterConcept
dependencies: 8
inputs: television series
function: And
dependencies: 6
9
function: What
dependencies: 10
Answer: Everybody Loves Raymond