Question: Does Casper (the one that has Bill Pullman as a cast member) have its publication date after 1967 (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> "Casper" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Bill Pullman" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1967 ) . [ <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: Bill Pullman
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Casper
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Germany
function: VerifyYear
dependencies: 4
inputs: 1967
>