Question: Did the Peter Cook who participated in the Korean War die earlier than 1847 ?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Peter Cook" . ?e <conflict> ?e_1 . ?e_1 <pred:name> "Korean War" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1847 ) .  }
Program:
function: Find
inputs: Korean War
function: Relate
dependencies: 0
inputs: conflict
backward
function: Find
inputs: Peter Cook
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1847
<
Answer: no