Question: Name the television show whose subsequent work is Frasier and opening theme is Where Everybody Knows Your Name?
SPARQL query:
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX onto: <http://dbpedia.org/ontology/>
SELECT DISTINCT ?uri WHERE {?uri onto:subsequentWork <http://dbpedia.org/resource/Frasier> . ?uri onto:openingTheme <http://dbpedia.org/resource/Where_Everybody_Knows_Your_Name> . ?uri rdf:type onto:TelevisionShow}