Question: Which movie came before Prometheus of Alien franchise, with alien published in 1979?
Choices:
American Pie
Star Wars Episode IV: A New Hope
Rocky IV
Alien
2 Fast 2 Furious
Die Hard with a Vengeance
Taken
Alien: Resurrection
Batman
The Fast and the Furious
Answer: Alien: Resurrection
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Prometheus" . ?e_2 <pred:name> "Alien" . ?e_2 <publication_date> ?pv . ?pv <pred:year> 1979 . ?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: Prometheus
function: Find
inputs: Alien
function: FilterYear
dependencies: 1
inputs: publication date
1979
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: part of the series
follows