Question: Is the movie with Ken Adams in the cast less than 2.9 years?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Ken Adam" .  ?e <duration> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v < "2.9"^^xsd:double ) .  }
Program:
function: Find
inputs: Ken Adam
function: Relate
dependencies: 0
inputs: cast member
backward
function: FilterConcept
dependencies: 1
inputs: film
function: QueryAttr
dependencies: 2
inputs: duration
function: VerifyNum
dependencies: 3
inputs: 2.9 year
<