Question: Does the Alamo, distributed by Walt Disney Studios Motion Pictures, last less than 15 weeks?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "The Alamo" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Walt Disney Studios Motion Pictures" .  ?e <duration> ?pv . ?pv <pred:unit> "week" . ?pv <pred:value> ?v . FILTER ( ?v < "15"^^xsd:double ) .  }
Program:
function: Find
inputs: Walt Disney Studios Motion Pictures
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Alamo
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: duration
function: VerifyNum
dependencies: 4
inputs: 15 week
<