Question: Which is shorter, Star Wars: The Clone Wars, which is followed by Star Wars: Episode III – Revenge of the Sith, or Celebrity?
Choices:
Ponyo on the Cliff by the Sea
A Christmas Carol
Anastasia
Celebrity
Star Wars: The Clone Wars
The Polar Express
Superman
Code Geass
Wonder Woman
My-HiME
Answer: Star Wars: The Clone Wars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: The Clone Wars" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Star Wars: Episode III – Revenge of the Sith" .   } UNION { ?e <pred:name> "Celebrity" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
function: Relate
dependencies: 0
inputs: followed by
backward
function: Find
inputs: Star Wars: The Clone Wars
function: And
dependencies: 1
2
function: Find
inputs: Celebrity
function: SelectBetween
dependencies: 3
4
inputs: duration
less