Question: Where was the film that is a part of Star Trek (which has a series ordinal of 8 and includes Star Trek: Nemesis as a part) published on 1996-12-19?
Choices:
2003 Cannes Film Festival
Finland
Washington, D.C.
British Hong Kong
Berlin
Bulgaria
Germany
Cannes Film Festival
Rio de Janeiro
Westwood
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Trek" . ?e_1 <has_part> ?e_2 . ?e_2 <pred:name> "Star Trek: Nemesis" . [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> "8" . ?e <publication_date> ?pv . ?pv <pred:date> "1996-12-19"^^xsd:date . [ <pred:fact_h> ?e ; <pred:fact_r> <publication_date> ; <pred:fact_t> ?pv ] <place_of_publication> ?qpv .  }
Program:
function: Find
inputs: Star Trek: Nemesis
function: Relate
dependencies: 0
inputs: has part
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: QFilterStr
dependencies: 4
inputs: series ordinal
8
function: FilterConcept
dependencies: 5
inputs: film
function: QueryAttrQualifier
dependencies: 6
inputs: publication date
1996-12-19
place of publication