Question: What is Alien (the one whose release region is Turkey), which is a part of Alien (the one that has Alien: Resurrection as a part), followed by?
Choices: Sheryl Crow
Men at Work
American Pie 2
Taken 2
Aliens
Adele
Fourth Crusade
X-Men: The Last Stand
Paula Cole
Star Wars Episode VI: Return of the Jedi
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Alien" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Turkey" . ?e_2 <pred:name> "Alien" . ?e_4 <part_of> ?e_2 . ?e_4 <pred:name> "Alien: Resurrection" . ?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: Turkey
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Alien
function: And
dependencies: 1
2
function: Find
inputs: Alien: Resurrection
function: Relate
dependencies: 4
inputs: part of
forward
function: Find
inputs: Alien
function: And
dependencies: 5
6
function: QueryRelationQualifier
dependencies: 3
7
inputs: part of the series
followed by
Answer: Aliens