Question: Was the spouse of Tom Cruise (the end time of this statement is 2012) not born in 1954?
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> "Tom Cruise" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <spouse> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 2012 . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1954 ) .  }
Program:
function: Find
inputs: Tom Cruise
function: Relate
dependencies: 0
inputs: spouse
forward
function: QFilterYear
dependencies: 1
inputs: end time
2012
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1954
!=