Question: Was the person active prior to 1977 born in a year excluding 1904?
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 <floruit> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 < 1977 ) . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1904 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: floruit
1977
<
function: FilterConcept
dependencies: 1
inputs: human
function: QueryAttr
dependencies: 2
inputs: date of birth
function: VerifyYear
dependencies: 3
inputs: 1904
!=