Question: Does the person, who is a cast member of Dexter (the character role of this statement is Joey Quinn), have his/her birth date, not in 1940?
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 <cast_member> ?e . ?e_1 <pred:name> "Dexter" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e ] <character_role> ?qpv . ?qpv <pred:value> "Joey Quinn" . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1940 ) .  }
Program:
function: Find
inputs: Dexter
function: Relate
dependencies: 0
inputs: cast member
forward
function: QFilterStr
dependencies: 1
inputs: character role
Joey Quinn
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1940
!=