Question: Does the animated, feature film titled Ratatouille have its publication date after 2000 (the place of publication of this statement is United States of America)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Ratatouille" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 2000 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "United States of America" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
Ratatouille
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: QueryAttrUnderCondition
dependencies: 2
inputs: publication date
place of publication
United States of America
function: VerifyYear
dependencies: 3
inputs: 2000
>