Question: Did a person, who received s Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series in 2005, die 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> "human" . ?e_1 <winner> ?e . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <winner> ; <pred:fact_t> ?e ] <point_in_time> ?qpv . ?qpv <pred:year> 2005 . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2017 ) .  }
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Guest Actress in a Comedy Series
function: Relate
dependencies: 0
inputs: winner
forward
function: QFilterYear
dependencies: 1
inputs: point in time
2005
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2017
<