Question: Was the individual born in Surrey (NUTS code UKJ23) at a time other than 1956?
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> "Surrey" . ?e_1 <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "UKJ23" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1956 ) .  }
Program:
function: Find
inputs: Surrey
function: FilterStr
dependencies: 0
inputs: NUTS code
UKJ23
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: 1956
!=