Question: Is the date of birth of Carole Lombard's spouse, until 1st January 1933, equal to 29th July 1892?
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 <spouse> ?e_1 . ?e_1 <pred:name> "Carole Lombard" .  [ <pred:fact_h> ?e ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "1933-01-01"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:date> "1892-07-29"^^xsd:date .  }
Program:
function: Find
inputs: Carole Lombard
function: Relate
dependencies: 0
inputs: spouse
backward
function: QFilterDate
dependencies: 1
inputs: end time
1933-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyDate
dependencies: 4
inputs: 1892-07-29
=