SELECT DISTINCT ?uri WHERE {?uri <http://dbpedia.org/property/company> <http://dbpedia.org/resource/Paramount_Television> . ?uri <http://dbpedia.org/property/themeMusicComposer> <http://dbpedia.org/resource/Gary_Portnoy> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
What is the name of the television show whose company is Paramount Television and theme music composer is Gary Portnoy?
SELECT DISTINCT ?i WHERE { ?i rdf:type ontology:Television_Show . ?i property:company resource:Paramount_Television . ?i property:theme_music_composer resource:Gary_Portnoy }
Cheers
[Cheers] is the television show whose company is Paramount Television and has theme music composed by Gary Portnoy.
[Cheers] is a television show owned by Paramount Television and composed by Gary Portnoy.