Question: Was Star Trek Ⅳ: The Voyage Home published in the USA prior to 2004 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "Star Trek Ⅳ: The Voyage Home" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2004 ) . [ <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: Star Trek Ⅳ: The Voyage Home
function: QueryAttrUnderCondition
dependencies: 0
inputs: publication date
place of publication
United States of America
function: VerifyYear
dependencies: 1
inputs: 2004
<