SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/property/artist> <http://dbpedia.org/resource/McClain_(band)> . ?x <http://dbpedia.org/property/artist> ?uri . ?x <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
List all the artist of the TV shows which has McClain as one of the artist ?
SELECT DISTINCT ?s WHERE { ?h property:artist resource:Mc_Clain_(band) . ?h property:artist ?s . ?h rdf:type ontology:Television_Show }
Bridgit Mendler, McClain (band), Demi Lovato  and Joe Jonas
The artists of the television shows whose one artist is McClain are [Bridgit Mendler, McClain (band), Demi Lovato  and Joe Jonas].
Artists of TV shows whose only performer is McClain, [Bridget Menhatton, McClain (band), Demi Lovato and Joe Jonas].