Question: Is the duration of a movie, produced by Tony Richardson, film director, over 5.9 months ?
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 <producer> ?e_1 . ?e_1 <pred:name> "Tony Richardson" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "film director" .  ?e <duration> ?pv . ?pv <pred:unit> "month" . ?pv <pred:value> ?v . FILTER ( ?v > "5.9"^^xsd:double ) .  }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Tony Richardson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: producer
backward
function: FilterConcept
dependencies: 4
inputs: film
function: QueryAttr
dependencies: 5
inputs: duration
function: VerifyNum
dependencies: 6
inputs: 5.9 month
>