Question: Did Walter Scott (the one that is the citizen of United Kingdom) die after 1959?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Walter Scott" . ?e <country_of_citizenship> ?e_1 . ?e_1 <pred:name> "United Kingdom" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1959 ) .  }
Program:
function: Find
inputs: United Kingdom
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Walter Scott
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1959
>