Question: Which has fewer episodes, Star Trek: The Next Generation (the one that is followed by Star Trek: Deep Space Nine) or The Mickey Mouse Club?
Choices:
Game of Thrones
Bleak House
Robot Chicken
The Mickey Mouse Club
American Horror Story
Phineas and Ferb
Dancing with the Stars
Star Trek: The Next Generation
Six Feet Under
Saturday Night's Main Event
Answer: Star Trek: The Next Generation
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek: The Next Generation" . ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Star Trek: Deep Space Nine" .   } UNION { ?e <pred:name> "The Mickey Mouse Club" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Star Trek: Deep Space Nine
function: Relate
dependencies: 0
inputs: followed by
backward
function: Find
inputs: Star Trek: The Next Generation
function: And
dependencies: 1
2
function: Find
inputs: The Mickey Mouse Club
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less