Question: Did the District 9 visual artwork, which was published in the People's Republic of China, have an earlier-than-2002 date of publication?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "District 9" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2002 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "People's Republic of China" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
District 9
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: QueryAttrUnderCondition
dependencies: 2
inputs: publication date
place of publication
People's Republic of China
function: VerifyYear
dependencies: 3
inputs: 2002
<