Question: Did the human that was President of the United States (beginning 1893-03-04) not die in 2015?
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 <position_held> ?e_1 . ?e_1 <pred:name> "President of the United States" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <start_time> ?qpv . ?qpv <pred:date> "1893-03-04"^^xsd:date . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2015 ) .  }
Program:
function: Find
inputs: President of the United States
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterDate
dependencies: 1
inputs: start time
1893-03-04
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2015
!=