Question: Do The Goonies (the one that has Joe Pantoliano as a cast member), have a publication date before 1994 (the place of publication of this statement is Sweden)?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:name> "The Goonies" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "Joe Pantoliano" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1994 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Sweden" .  }
Program:
function: Find
inputs: Joe Pantoliano
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: The Goonies
function: And
dependencies: 1
2
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 4
inputs: 1994
<