Question: Was the person with the birthplace Stockton-on-Tees, postal code TS18-TS21, born prior to 1929 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Stockton-on-Tees" . ?e_1 <postal_code> ?pv_1 . ?pv_1 <pred:value> "TS18-TS21" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1929 ) .  }
Program:
function: Find
inputs: Stockton-on-Tees
function: FilterStr
dependencies: 0
inputs: postal code
TS18-TS21
function: Relate
dependencies: 1
inputs: place of birth
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1929
<