Question: Where was the television series episode that is a part of Star Trek: The Next Generation (the one whose number of seasons is 7) (the series ordinal of this statement is 171) published on 1994-07-18  published?
Choices:
Westwood
Park City
Germany
Kuwait
Montreal World Film Festival
Panama
People's Republic of China
Hungary
United Kingdom
Austria
Answer: Germany
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series episode" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Trek: The Next Generation" . ?e_1 <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "7"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <series_ordinal> ?qpv_1 . ?qpv_1 <pred:value> "171" . ?e <publication_date> ?pv . ?pv <pred:date> "1994-07-18"^^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: The Next Generation
function: FilterNum
dependencies: 0
inputs: number of seasons
7
=
function: Relate
dependencies: 1
inputs: part of the series
backward
function: QFilterStr
dependencies: 2
inputs: series ordinal
171
function: FilterConcept
dependencies: 3
inputs: television series episode
function: QueryAttrQualifier
dependencies: 4
inputs: publication date
1994-07-18
place of publication