Question: What comes after Star Trek Ⅴ: The Final Frontier is a component of Star Trek (that has Star Trek Ⅵ: The Undiscovered Country as a part)?
Choices:
Rocky V
2 Fast 2 Furious
Rush Hour 2
X-Men: First Class
The Wire, season 3
Aliens
Men in Black 3
X-Men Origins: Wolverine
Star Trek Ⅵ: The Undiscovered Country
Cameron Diaz
Answer: Star Trek Ⅵ: The Undiscovered Country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek Ⅴ: The Final Frontier" . ?e_2 <pred:name> "Star Trek" . ?e_3 <part_of> ?e_2 . ?e_3 <pred:name> "Star Trek Ⅵ: The Undiscovered Country" . ?e_1 <part_of_the_series> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_2 ] <followed_by> ?qpv .  }
Program:
function: Find
inputs: Star Trek Ⅴ: The Final Frontier
function: Find
inputs: Star Trek Ⅵ: The Undiscovered Country
function: Relate
dependencies: 1
inputs: part of
forward
function: Find
inputs: Star Trek
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: part of the series
followed by