Question: Did the spouse of Douglas Fairbanks (the start time of this statement is 1920-03-28) die after 2017?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <spouse> ?e . ?e_1 <pred:name> "Douglas Fairbanks" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <start_time> ?qpv . ?qpv <pred:date> "1920-03-28"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2017 ) .  }
Program:
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: start time
1920-03-28
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2017
>