SELECT DISTINCT ?uri WHERE { ?uri <http://dbpedia.org/ontology/openingTheme> <http://dbpedia.org/resource/Gary_Portnoy> . ?uri <http://dbpedia.org/ontology/openingTheme> <http://dbpedia.org/resource/Where_Everybody_Knows_Your_Name> . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
What is the show which opens with Gary Portnoy and Where Everybody Knows Your Name?
SELECT DISTINCT ?a WHERE { ?a rdf:type ontology:Television_Show . ?a property:opening_theme resource:Gary_Portnoy . ?a property:opening_theme resource:Where_Everybody_Knows_Your_Name }
Cheers
[Cheers] is the television show whose opening themes are Gary Portnoy and Where Everybody Knows Your Name.
[Cheers] is a TV show that opens with Gary Portnoy and Where Everyone Knows Your Name.
Gary Portnoy and Where Everybody Knows Your Name are the opening themes of the television show [Cheers].
[Cheers] is the TV show whose opening is with Gary Portnoy and Where Everyone Knows Your Name.
The television show whose opening themes are Gary Portnoyothers and Where Everybody Knows Your Nameothers is [Cheers].
The TV show whose opening themes are Gary Portnoyothers and Where Everybody Knows Your Nameothers is [Cheers].