Question: Is the birthdate of Roy Thomas (who died in Norristown) before the year 1982?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:name> "Roy Thomas" . ?e <place_of_death> ?e_1 . ?e_1 <pred:name> "Norristown" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1982 ) .  }
Program:
function: Find
inputs: Norristown
function: Relate
dependencies: 0
inputs: place of death
backward
function: Find
inputs: Roy Thomas
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1982
<
Answer: yes