Question: Is Arizona (the one whose producer is Douglas Fairbanks) longer than 40 minutes?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Arizona" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Douglas Fairbanks" .  ?e <duration> ?pv . ?pv <pred:unit> "minute" . ?pv <pred:value> ?v . FILTER ( ?v > "40"^^xsd:double ) .  }
Program:
function: Find
inputs: Douglas Fairbanks
function: Relate
dependencies: 0
inputs: producer
backward
function: Find
inputs: Arizona
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 40 minute
>