Question: What work precedes Star Trek Ⅴ: The Final Frontier, part of the Star Trek series that includes Star Trek Ⅵ: The Undiscovered Country ?
Choices:
Lost, season 2
Christopher Cross
2009 NCAA Men's Division I Basketball Tournament
Svetlana Aleksievich
American Pie 2
Die Hard with a Vengeance
The Wire, season 1
Star Trek Ⅳ: The Voyage Home
The Beatles
Star Wars: Episode III – Revenge of the Sith
Answer: Star Trek Ⅳ: The Voyage Home
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 ] <follows> ?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
follows