Question: Of the theatrical genres nominated for a Primetime Emmy for Outstanding Comedy Series, which has the fewest episodes?
Choices:
comedy of manners
Venice
Mr. Smith Goes to Washington
The Golden Girls
blockbuster
farce
The Monkees
stand-up comedy
Jonas Brothers
Tony Award for Best Actor in a Play
Answer: The Monkees
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatrical genre" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Primetime Emmy Award for Outstanding Comedy Series" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Primetime Emmy Award for Outstanding Comedy Series
function: Relate
dependencies: 0
inputs: nominated for
backward
function: FilterConcept
dependencies: 1
inputs: theatrical genre
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest