Question: Did a person, who is the first female cousin of Dionne Warwick (the type of kinship of this statement is female first cousin) begin her career in 981 ?
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_1 <relative> ?e . ?e_1 <pred:name> "Dionne Warwick" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <relative> ; <pred:fact_t> ?e ] <type_of_kinship> ?qpv . ?qpv <pred:value> "female first cousin" . ?e <work_period_(start)> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1981 ) .  }
Program:
function: Find
inputs: Dionne Warwick
function: Relate
dependencies: 0
inputs: relative
forward
function: QFilterStr
dependencies: 1
inputs: type of kinship
female first cousin
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: work period (start)
function: VerifyYear
dependencies: 4
inputs: 1981
!=