Question: Which one has fewer episodes, Benjamin Franklin (which was nominated for a Primetime Emmy Award for Outstanding Directing for a Drama Series) or The Sopranos?
Choices:
The Ten Commandments
George Washington
The Pacific
The Diary of Anne Frank
Edge of Darkness
Roots
The Sopranos
The Civil War
Benjamin Franklin
Battlestar Galactica
Answer: Benjamin Franklin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Benjamin Franklin" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Directing for a Drama Series" .   } UNION { ?e <pred:name> "The Sopranos" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Directing for a Drama Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Benjamin Franklin
function: And
dependencies: 1
2
function: Find
inputs: The Sopranos
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less