Question: Which animated series in the sit-com genre ran for the most seasons?
Choices:
The Simpsons
The Cleveland Show
American Dad!
Aladdin
Tiny Toon Adventures
The Flintstones
Robot Chicken
Futurama
King of the Hill
Batman Beyond
Program:
function: Find
inputs: situation comedy
function: Relate
dependencies: 0
inputs: genre
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: SelectAmong
dependencies: 2
inputs: number of seasons
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" . ?e <genre> ?e_1 . ?e_1 <pred:name> "situation comedy" .  ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Simpsons