Question: Of movies in the Star Wars series that includes Star Wars: Episode III – Revenge of the Sith, which has the longest run-time?
Choices:
Rebecca
The Fifth Element
Star Wars Episode VI: Return of the Jedi
Talk to Her
Training Day
Star Wars Episode V: The Empire Strikes Back
Star Wars: Episode III – Revenge of the Sith
Star Wars Episode II: Attack of the Clones
A Prairie Home Companion
Star Wars Episode IV: A New Hope
Answer: Star Wars Episode II: Attack of the Clones
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Star Wars" . ?e_2 <part_of_the_series> ?e_1 . ?e_2 <pred:name> "Star Wars: Episode III – Revenge of the Sith" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
function: Relate
dependencies: 0
inputs: part of the series
forward
function: Find
inputs: Star Wars
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of the series
backward
function: FilterConcept
dependencies: 4
inputs: film
function: SelectAmong
dependencies: 5
inputs: duration
largest