Question: Did the work period of Naseeruddin Shah start before 1998?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Naseeruddin Shah" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) .  }
Program:
function: Find
inputs: Naseeruddin Shah
function: QueryAttr
dependencies: 0
inputs: work period (start)
function: VerifyYear
dependencies: 1
inputs: 1998
<
Answer: yes