Question: Does The Offspring (the one whose title is The Offspring), have a publication date after 1989 (the place of publication of this statement is Germany)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Offspring" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "The Offspring" . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1989 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Germany" .  }
Program:
function: Find
inputs: The Offspring
function: FilterStr
dependencies: 0
inputs: title
The Offspring
function: QueryAttrUnderCondition
dependencies: 1
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 2
inputs: 1989
>