Question: Was the producer of The Scorpion King, released on 1992-01-01, born in a year other than 1921 ?
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 <producer> ?e . ?e_1 <pred:name> "The Scorpion King" . ?e_1 <publication_date> ?pv_1 . ?pv_1 <pred:date> "1992-01-01"^^xsd:date . ?e <date_of_birth> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1921 ) .  }
Program:
function: Find
inputs: The Scorpion King
function: FilterDate
dependencies: 0
inputs: publication date
1992-01-01
=
function: Relate
dependencies: 1
inputs: producer
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of birth
function: VerifyYear
dependencies: 4
inputs: 1921
!=