SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/album> <http://dbpedia.org/resource/Cheers> . ?uri <http://dbpedia.org/ontology/openingTheme> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
What is the television show whose opening theme's album is Cheers?
SELECT DISTINCT ?s WHERE { ?t property:album resource:Cheers . ?s rdf:type ontology:Television_Show . ?s property:opening_theme ?t }
Cheers
[Cheers] is the television show whose opening theme's album is Cheers.
[Cheers] is the TV show whose opening theme album's name is Cheers.