Question: Where was the film that is a derivative work of Lost in Space (whose date of first performance is 1965-09-15) published on 1998-10-16?
Choices:
New Zealand
Northern America
Sweden
Austin
Israel
Lebanon
Ireland
Sundance Film Festival
Westwood
Hollywood Bowl
Answer: Sweden
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Lost in Space" . ?e_1 <date_of_first_performance> ?pv_1 . ?pv_1 <pred:date> "1965-09-15"^^xsd:date . ?e <publication_date> ?pv . ?pv <pred:date> "1998-10-16"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Lost in Space
function: FilterDate
dependencies: 0
inputs: date of first performance
1965-09-15
=
function: Relate
dependencies: 1
inputs: derivative work
forward
function: FilterConcept
dependencies: 2
inputs: film
function: QueryAttrQualifier
dependencies: 3
inputs: publication date
1998-10-16
place of publication