Question: Is the running time of the film where Scott Bradley (the one whose ISNI is 0000 0000 6301 200X) is the composer different to 180 minutes?
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 <composer> ?e_1 . ?e_1 <pred:name> "Scott Bradley" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0000 6301 200X" . ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v != "180"^^xsd:double ) .  }
Program:
function: Find
inputs: Scott Bradley
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0000 6301 200X
function: Relate
dependencies: 1
inputs: composer
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 180 minute
!=