Question: What is the prequel to Prometheus, part of the Alien franchise (the one whose distributor is 20th Century Fox)?2
Choices:
Star Wars Episode IV: A New Hope
Svetlana Aleksievich
2 Fast 2 Furious
Alien: Resurrection
Star Trek: Nemesis
Elephant
X-Men: The Last Stand
Maroon 5
Bettie Page
John Legend
Answer: Alien: Resurrection
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Prometheus" . ?e_2 <pred:name> "Alien" . ?e_2 <distributor> ?e_3 . ?e_3 <pred:name> "20th Century Fox" . ?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: 20th Century Fox
function: Relate
dependencies: 1
inputs: distributor
backward
function: Find
inputs: Alien
function: And
dependencies: 2
3
function: QueryRelationQualifier
dependencies: 0
4
inputs: part of the series
follows