Question: Was Michael Jackson (one has the occupation of critic) died after 1997?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Michael Jackson" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "critic" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1997 ) .  }
Program:
function: Find
inputs: critic
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Michael Jackson
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1997
>