Question: I'd like to know the one with the least seasons within the theatrical genre that comes from the United States of America.
Choices:
farce
Esteghlal F.C.
The Monkees
The Golden Girls
comedy of manners
The Hitchhiker's Guide to the Galaxy
stand-up comedy
Tony Bennett
A. K. Hangal
Mr. Smith Goes to Washington
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 seasons
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_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Mr. Smith Goes to Washington