Question: Is the date of birth of the human that was born in Stirling (whose local dialing code is 01786) after 1807?
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> "Stirling" . ?e_1 <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "01786" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1807 ) .  }
Program:
function: Find
inputs: Stirling
function: FilterStr
dependencies: 0
inputs: local dialing code
01786
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: 1807
>