Question: Does the television series that contains Meridian (the one that has Colm Meaney as a cast member) (the series ordinal of this statement is 54), have an end time before 2001?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "Meridian" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Colm Meaney" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv . ?qpv <pred:value> "54" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2001 ) .  }
Program:
function: Find
inputs: Colm Meaney
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Meridian
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
forward
function: QFilterStr
dependencies: 4
inputs: series ordinal
54
function: FilterConcept
dependencies: 5
inputs: television series
function: QueryAttr
dependencies: 6
inputs: end time
function: VerifyYear
dependencies: 7
inputs: 2001
<