Question: How many shows are made by the channel whose predecessor was the Comedy Channel?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX res: <http://dbpedia.org/resource/>
PREFIX prop: <http://dbpedia.org/property/>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT COUNT(?uri) WHERE { ?x onto:predecessor <http://dbpedia.org/resource/The_Comedy_Channel_(United_States)> . ?uri prop:network ?x . ?uri rdf:type onto:TelevisionShow}