SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/ontology/subsequentWork> <http://dbpedia.org/resource/Frasier> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
Which Tv series led to Frasier?
SELECT DISTINCT ?u WHERE { ?u rdf:type ontology:Television_Show . ?u property:subsequent_work resource:Frasier }
Cheers
The television show with subsequent work Frasier is [Cheers].
[Cheers] is the Tv series that led to Frasier.