Question: What visual artwork is a part of the film series containing Star Wars: Episode I – The Phantom Menace (the successor of this statement is Star Wars Episode IV: A New Hope)?
Choices:
The Towering Inferno
Star Wars: Episode III – Revenge of the Sith
Talk to Her
Star Wars Episode IV: A New Hope
Training Day
A Prairie Home Companion
Rebecca
Star Wars Episode II: Attack of the Clones
The Fifth Element
Star Wars Episode V: The Empire Strikes Back
Answer: Star Wars: Episode III – Revenge of the Sith
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film series" . ?e_3 <part_of_the_series> ?e_1 . ?e_3 <pred:name> "Star Wars: Episode I – The Phantom Menace" .  [ <pred:fact_h> ?e ; <pred:fact_r> <part_of_the_series> ; <pred:fact_t> ?e_1 ] <followed_by> ?qpv . ?qpv <pred:value> "Star Wars Episode IV: A New Hope" .  }
Program:
function: Find
inputs: Star Wars: Episode I – The Phantom Menace
function: Relate
dependencies: 0
inputs: part of the series
forward
function: FilterConcept
dependencies: 1
inputs: film series
function: Relate
dependencies: 2
inputs: part of the series
backward
function: QFilterStr
dependencies: 3
inputs: followed by
Star Wars Episode IV: A New Hope
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: What
dependencies: 5