Question: For the film that is a part of Star Trek (the one that contains Star Trek: Nemesis) (the series ordinal of this statement is 10), where is it published on its publication date of 2002-12-13?
Choices:
Japan
Montreal World Film Festival
South Korea
People's Republic of China
Berlin International Film Festival
Park City
Belgium
Hungary
Rättvik
United States of America
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <has_part> ?e . ?e_1 <pred:name> "Star Trek" . ?e_2 <part_of_the_series> ?e_1 . ?e_2 <pred:name> "Star Trek: Nemesis" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> "10" . ?e <publication_date> ?pv . ?pv <pred:date> "2002-12-13"^^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: part of the series
forward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: has part
forward
function: QFilterStr
dependencies: 4
inputs: series ordinal
10
function: FilterConcept
dependencies: 5
inputs: film
function: QueryAttrQualifier
dependencies: 6
inputs: publication date
2002-12-13
place of publication