Question: Did the director of Cheyenne (the one whose duration is 99 minute not die in 1949?
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> ?e . ?e_1 <pred:name> "Cheyenne" . ?e_1 <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "99"^^xsd:double . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1949 ) .  }
Program:
function: Find
inputs: Cheyenne
function: FilterNum
dependencies: 0
inputs: duration
99 minute
=
function: Relate
dependencies: 1
inputs: director
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 1949
!=