Question: Is the date of birth of the person holding the position of United States Secretary of State (until the ending date 1845-03-10) not in 1787?
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> "United States Secretary of State" .  [ <pred:fact_h> ?e ; <pred:fact_r> <position_held> ; <pred:fact_t> ?e_1 ] <end_time> ?qpv . ?qpv <pred:date> "1845-03-10"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1787 ) .  }
Program:
function: Find
inputs: United States Secretary of State
function: Relate
dependencies: 0
inputs: position held
backward
function: QFilterDate
dependencies: 1
inputs: end time
1845-03-10
=
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1787
!=