Question: Was Aladdin with box office of 504050219 USD not published on 2011 in Los Angeles?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Aladdin" . ?e <box_office> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> "504050219"^^xsd:double . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Los Angeles" .  }
Program:
function: Find
inputs: Aladdin
function: FilterNum
dependencies: 0
inputs: box office
504050219 United States dollar
=
function: QueryAttrUnderCondition
dependencies: 1
inputs: publication date
place of publication
Los Angeles
function: VerifyYear
dependencies: 2
inputs: 2011
!=