Question: Does the visual art work which pertains to Hannibal, featuring Anthony Hopkins in the cast, have a publication date in Denmark prior to the year 2000?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <followed_by> ?e . ?e_1 <pred:name> "Hannibal" . ?e_1 <cast_member> ?e_2 . ?e_2 <pred:name> "Anthony Hopkins" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2000 ) . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv . ?qpv <pred:value> "Denmark" .  }
Program:
function: Find
inputs: Anthony Hopkins
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Hannibal
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: QueryAttrUnderCondition
dependencies: 5
inputs: publication date
place of publication
Denmark
function: VerifyYear
dependencies: 6
inputs: 2000
<