Question: Was For A Bug's Life (the one that has Denis Leary as a voice actor) published in the US before 2003?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "A Bug's Life" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Denis Leary" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2003 ) . [ <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: Find
inputs: Denis Leary
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
United States of America
function: VerifyYear
dependencies: 4
inputs: 2003
<