Question: What film script was written by Richard Brooks in less than 10 weeks?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <screenwriter> ?e_1 . ?e_1 <pred:name> "Richard Brooks" . ?e_1 <name_in_native_language> ?pv_1 . ?pv_1 <pred:value> "Richard Brooks" . ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v != "10"^^xsd:double ) .  }
Program:
function: Find
inputs: Richard Brooks
function: FilterStr
dependencies: 0
inputs: name in native language
Richard Brooks
function: Relate
dependencies: 1
inputs: screenwriter
backward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 10 week
!=
Answer: no