Question: Which animated series that originates in the United States of America has the most episodes?
Choices:
Robot Chicken
The Boondocks
The Flintstones
The Transformers
Futurama
Star Wars: The Clone Wars
The Penguins of Madagascar
The Simpsons
King of the Hill
Avatar: The Last Airbender
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of episodes
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?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
Answer: The Simpsons