Question: Is The End of the Affair (the one that has Van Johnson as a cast member) less than 800 minutes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The End of the Affair" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Van Johnson" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "800"^^xsd:double ) .  }
Program:
function: Find
inputs: Van Johnson
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The End of the Affair
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 800 minute
!=