Question: Which show has fewer episodes, Training Day (the one that is originally aired on CBS) or Hallmark Hall of Fame?
Choices:
Game of Thrones
American Horror Story
Robot Chicken
Hallmark Hall of Fame
Phineas and Ferb
Training Day
Six Feet Under
Dancing with the Stars
Saturday Night's Main Event
Seinfeld
Program:
function: Find
inputs: CBS
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Training Day
function: And
dependencies: 1
2
function: Find
inputs: Hallmark Hall of Fame
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Training Day" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "CBS" .   } UNION { ?e <pred:name> "Hallmark Hall of Fame" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Training Day