Question: Has Bob Geldof being a cast member of a film with a duration less than 600 minute?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bob Geldof" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v < "600"^^xsd:double ) .  }
Program:
function: Find
inputs: Bob Geldof
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: 600 minute
<