the tv show with the most number of episodes and featured on muppet news flash had what as its subject?
Entity
m.05vr89
News satire
class entity class literal
tv.tv_subject m.0hhftv5 tv.tv_program 0^^http://www.w3.org/2001/XMLSchema#int
tv.tv_subject tv.tv_episode_segment tv.tv_program type.int
TV subject Muppet News Flash TV Program 0
none none none argmax
tv.tv_episode_segment.subjects tv.tv_subject.tv_programs tv.tv_program.number_of_episodes
Subjects TV programs Number of episodes
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :tv.tv_subject . 
VALUES ?x1 { :m.0hhftv5 } 
?x2 :type.object.type :tv.tv_program . 
{
SELECT (MAX(?y3) AS ?x3)  WHERE { 
?y0 :type.object.type :tv.tv_subject . 
VALUES ?y1 { :m.0hhftv5 } 
?y2 :type.object.type :tv.tv_program . 
?y1 :tv.tv_episode_segment.subjects ?y0 . 
?y0 :tv.tv_subject.tv_programs ?y2 . 
?y2 :tv.tv_program.number_of_episodes ?y3 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y0 != ?y3 && ?y1 != ?y2 && ?y1 != ?y3 && ?y2 != ?y3  )
}
}
?x1 :tv.tv_episode_segment.subjects ?x0 . 
?x0 :tv.tv_subject.tv_programs ?x2 . 
?x2 :tv.tv_program.number_of_episodes ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(ARGMAX (AND tv.tv_subject (JOIN (R tv.tv_episode_segment.subjects) m.0hhftv5)) (JOIN tv.tv_subject.tv_programs tv.tv_program.number_of_episodes))