Question: Was Mars (the one whose Twitter username is mars) born before 1985?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Mars" . ?e <Twitter_username> ?pv_1 . ?pv_1 <pred:value> "mars" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1985 ) .  }
Program:
function: Find
inputs: Mars
function: FilterStr
dependencies: 0
inputs: Twitter username
mars
function: QueryAttr
dependencies: 1
inputs: date of birth
function: VerifyYear
dependencies: 2
inputs: 1985
<
Answer: yes