Question: For Star Trek: Insurrection, which is a part of Star Trek (the one that includes Star Trek: Insurrection as a part), what is it followed by?
Choices:
Star Trek: Nemesis
Christina Aguilera
2009 NFL season
2 Fast 2 Furious
Star Trek Ⅵ: The Undiscovered Country
2010 NCAA Men's Division I Basketball Tournament
Star Wars Episode IV: A New Hope
Men in Black 3
Carrie Underwood
Batman Returns
Answer: Star Trek: Nemesis
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek: Insurrection" . ?e_2 <pred:name> "Star Trek" . ?e_2 <has_part> ?e_3 . ?e_3 <pred:name> "Star Trek: Insurrection" . ?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: Insurrection
function: Find
inputs: Star Trek: Insurrection
function: Relate
dependencies: 1
inputs: has part
backward
function: Find
inputs: Star Trek
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: part of the series
followed by