Question: Which one, Cagney & Lacey or Dumb and Dumber (the one whose composer is Mark Mothersbaugh), has fewer number of episodes?
Choices:
Robot Chicken
Phineas and Ferb
Saturday Night's Main Event
Dumb and Dumber
Game of Thrones
American Horror Story
Bleak House
Seinfeld
Six Feet Under
Cagney & Lacey
Answer: Dumb and Dumber
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Cagney & Lacey" .  } UNION { ?e <pred:name> "Dumb and Dumber" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Mark Mothersbaugh" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Cagney & Lacey
function: Find
inputs: Mark Mothersbaugh
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Dumb and Dumber
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less