Question: Was the person who was married to Claire Bloom until 1969-01-01 born later than 1898?
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 <spouse> ?e . ?e_1 <pred:name> "Claire Bloom" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "1969-01-01"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1898 ) .  }
Program:
function: Find
inputs: Claire Bloom
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: end time
1969-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1898
>