Question: Dennis Haysbert played the character David Palmer on a TV series; was it released later than 1984 ?
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 <cast_member> ?e_1 . ?e_1 <pred:name> "Dennis Haysbert" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "David Palmer" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1984 ) .  }
Program:
function: Find
inputs: Dennis Haysbert
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
David Palmer
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: publication date
function: VerifyYear
dependencies: 4
inputs: 1984
>