Question: Did 300 starring Stephen McHattie make more than 5500000 USD at the box office?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "300" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Stephen McHattie" .  ?e <box_office> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> ?v . FILTER ( ?v > "5500000"^^xsd:double ) .  }
Program:
function: Find
inputs: Stephen McHattie
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: 300
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: box office
function: VerifyNum
dependencies: 4
inputs: 5500000 United States dollar
>