Question: For Secretariat, was it published prior to 2010 (the place where this statement was published is United States of America).
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Secretariat" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) . [ <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: Secretariat
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
United States of America
function: VerifyYear
dependencies: 1
inputs: 2010
<