Question: Star Trek: Nemesis is which number in the series Star Trek, that also includes Star Trek Ⅴ: The Final Frontier?
Choices: 54
151
73
32
9
64
44
10
33
47
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 Final Frontier" . ?e_2 <pred:name> "Star Trek: Nemesis" . ?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 Final Frontier
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: Nemesis
function: QueryRelationQualifier
dependencies: 3
4
inputs: has part
series ordinal
Answer: 10