Question: Did the politician Paul Gross die before 2011?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Paul Gross" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "politician" .  ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2011 ) .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Paul Gross
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2011
<
Answer: yes