Question: Is 5 weeks not the duration of the television film having a cast member named Joel Grey?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Joel Grey" .  ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v != "5"^^xsd:double ) .  }
Program:
function: Find
inputs: Joel Grey
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 5 week
!=