Question: Which has fewer episodes, Sense and Sensibility that originally aired on BBC One or Red Dwarf?
Choices:
Sense and Sensibility
The Civil War
The Ten Commandments
Edge of Darkness
Roots
The Pacific
The Stand
George Washington
The Diary of Anne Frank
Red Dwarf
Program:
function: Find
inputs: BBC One
function: Relate
dependencies: 0
inputs: original network
backward
function: Find
inputs: Sense and Sensibility
function: And
dependencies: 1
2
function: Find
inputs: Red Dwarf
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sense and Sensibility" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "BBC One" .   } UNION { ?e <pred:name> "Red Dwarf" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sense and Sensibility