Question: What is the predecessor of Star Trek (the one whose director is J. J. Abrams), which is the part of Star Trek that includes Star Trek: Nemesis ?
Choices:
2007 NCAA Men's Division I Basketball Tournament
2006 NCAA Men's Division I Basketball Tournament
X-Men: The Last Stand
Star Wars Episode IV: A New Hope
2008 NCAA Men's Division I Basketball Tournament
Evanescence
Alien
Star Trek: Nemesis
Rocky V
Culture Club
Program:
function: Find
inputs: J. J. Abrams
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Star Trek
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: Nemesis
function: Relate
dependencies: 4
inputs: has part
backward
function: Find
inputs: Star Trek
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
follows
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Star Trek" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "J. J. Abrams" . ?e_2 <pred:name> "Star Trek" . ?e_2 <has_part> ?e_4 . ?e_4 <pred:name> "Star Trek: Nemesis" . ?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 .  }
Answer: Star Trek: Nemesis