What is the {American television sitcom} with the {MAX(number of episodes)} ?
American television sitcoms have how many episodes?
How many episodes are there in American television sitcom?
SELECT ?r WHERE { ?r rdf:type ontology:American_television_sitcom . ?r property:number_of_episodes ?d }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q21188110>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1113>.
?statement <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj .}
ORDER BY DESC(?obj)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q21188110 . ?ent wdt:P1113 ?obj } ORDER BY DESC(?obj)LIMIT 5 
The Halls of Ivy My World and Welcome to It