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