Question: Did the television series with Amy Poehler in the role of Leslie Knope end before 2017?
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> "Amy Poehler" .  [ <pred:fact_h> ?e ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_1 ] <character_role> ?qpv . ?qpv <pred:value> "Leslie Knope" . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2017 ) .  }
Program:
function: Find
inputs: Amy Poehler
function: Relate
dependencies: 0
inputs: cast member
backward
function: QFilterStr
dependencies: 1
inputs: character role
Leslie Knope
function: FilterConcept
dependencies: 2
inputs: television series
function: QueryAttr
dependencies: 3
inputs: end time
function: VerifyYear
dependencies: 4
inputs: 2017
<