Question: Does the person with a demonym of jamaicani and Jamaica as a birthplace have a date of death earlier than 2016?
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> "Jamaica" . ?e_1 <demonym> ?pv_1 . ?pv_1 <pred:value> "jamaicani" . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2016 ) .  }
Program:
function: Find
inputs: Jamaica
function: FilterStr
dependencies: 0
inputs: demonym
jamaicani
function: Relate
dependencies: 1
inputs: place of birth
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2016
<