Question: Of theatrical genres originating in the USA, which genre includes the fewest episodes?
Choices:
comedy of manners
Ryan Murphy
The Golden Girls
The Time Machine
ballet
Joshua Logan
Mr. Smith Goes to Washington
stand-up comedy
farce
The Monkees
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: theatrical genre
function: SelectAmong
dependencies: 2
inputs: number of episodes
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "theatrical genre" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mr. Smith Goes to Washington