Question: What is the series ordinal of Star Trek (the one that contains Star Trek Ⅵ: The Undiscovered Country) includes Star Trek Ⅵ: The Undiscovered Country?
Choices: 171
77
6
44
3
64
129
90
73
28
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> "Star Trek Ⅵ: The Undiscovered Country" . ?e_2 <pred:name> "Star Trek Ⅵ: The Undiscovered Country" . ?e_1 <has_part> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <has_part> ; <pred:fact_t> ?e_2 ] <series_ordinal> ?qpv .  }
Program:
function: Find
inputs: Star Trek Ⅵ: The Undiscovered Country
function: Relate
dependencies: 0
inputs: part of the series
forward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Star Trek Ⅵ: The Undiscovered Country
function: QueryRelationQualifier
dependencies: 3
4
inputs: has part
series ordinal
Answer: 6