Question: Was the visual artwork that is a derivative work of The Sound of Music (whose date of first performance is 1959-11-16) published before 2019 in Sweden?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "The Sound of Music" . ?e_1 <date_of_first_performance> ?pv_1 . ?pv_1 <pred:date> "1959-11-16"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2019 ) . [ <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: The Sound of Music
function: FilterDate
dependencies: 0
inputs: date of first performance
1959-11-16
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: visual artwork
function: QueryAttrUnderCondition
dependencies: 3
inputs: publication date
place of publication
Sweden
function: VerifyYear
dependencies: 4
inputs: 2019
<