Question: Was the person that was in Salem (the one whose number of episodes is 36) not born in 1941?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <cast_member> ?e . ?e_1 <pred:name> "Salem" . ?e_1 <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "36"^^xsd:double . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1941 ) .  }
Program:
function: Find
inputs: Salem
function: FilterNum
dependencies: 0
inputs: number of episodes
36
=
function: Relate
dependencies: 1
inputs: cast member
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1941
!=
Answer: yes