Question: Was Midnight's Children (written by Salman Rushdie) published before 1989 in Germany?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:name> "Midnight's Children" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Salman Rushdie" .  ?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: Salman Rushdie
function: Relate
dependencies: 0
inputs: after a work by
backward
function: Find
inputs: Midnight's Children
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 4
inputs: 1989
<