Question: Which television series episode, which has a series ordinal of 119, is a part of the television series that contains Precious (which has Sam Waterston as a cast member)?
Choices:
The Offspring
A Christmas Carol
Angel
Genesis
Atonement
Precious
Savages
Showtime
The Host
Evolution
Program:
function: Find
inputs: Sam Waterston
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Precious
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
forward
function: FilterConcept
dependencies: 4
inputs: television series
function: Relate
dependencies: 5
inputs: part of the series
backward
function: QFilterStr
dependencies: 6
inputs: series ordinal
119
function: FilterConcept
dependencies: 7
inputs: television series episode
function: What
dependencies: 8
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "television series" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> "Precious" . ?e_3 <cast_member> ?e_4 . ?e_4 <pred:name> "Sam Waterston" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv . ?qpv <pred:value> "119" .  }
Answer: Angel