Question: Which is the shortest among the animated series whose genre is situation comedy?
Choices:
The Cleveland Show
Batman Beyond
American Dad!
King of the Hill
Tiny Toon Adventures
Futurama
South Park
The Simpsons
The Flintstones
Robot Chicken
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: duration
smallest
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 <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: American Dad!