Question: Of US-based theatrical genres, which claims the highest episode count?
Choices:
farce
comedy of manners
American Pie 2
Mr. Smith Goes to Washington
Merlin
The Golden Girls
Friends
State University of New York at Albany
stand-up comedy
The Monkees
Answer: The Golden Girls
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 DESC(?v) LIMIT 1
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
largest