Question: Did the person that was married to Robert Wagner until 1962-01-01 not start working in 1895?
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> "Robert Wagner" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:date> "1962-01-01"^^xsd:date . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1895 ) .  }
Program:
function: Find
inputs: Robert Wagner
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterDate
dependencies: 1
inputs: end time
1962-01-01
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: work period (start)
function: VerifyYear
dependencies: 4
inputs: 1895
!=