Question: Is the date of birth of the director of photography of It's a Wonderful Life (the one that has Sheldon Leonard as a cast member) not in 1889 ?
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 <director_of_photography> ?e . ?e_1 <pred:name> "It's a Wonderful Life" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Sheldon Leonard" .  ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1889 ) .  }
Program:
function: Find
inputs: Sheldon Leonard
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: It's a Wonderful Life
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director of photography
forward
function: FilterConcept
dependencies: 4
inputs: human
function: QueryAttr
dependencies: 5
inputs: date of birth
function: VerifyYear
dependencies: 6
inputs: 1889
!=