Question: Does the person who was born in South Africa, have a birth date before 1969?
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> "South Africa" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1969 ) .  }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: place of birth
backward
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of birth
function: VerifyYear
dependencies: 3
inputs: 1969
<