SELECT DISTINCT ?uri WHERE { ?x <http://dbpedia.org/ontology/recordLabel> <http://dbpedia.org/resource/ATO_Records> . ?uri <http://dbpedia.org/property/themeMusicComposer> ?x . ?uri <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://dbpedia.org/ontology/TelevisionShow>}
Which TV show whose theme is composed by someone signed up with ATO records?
SELECT DISTINCT ?b WHERE { ?b property:theme_music_composer ?v . ?v property:record_label resource:A_T_O_Records . ?b rdf:type ontology:Television_Show }
South Park, The 100 (TV series), State of Georgia (TV series), 90210 (TV series)
The television shows whose theme music composer's label is ATO Records are [South Park, The 100 (TV series), State of Georgia (TV series), 90210 (TV series)].
The TV shows that ATO Records labels are [South Park, The 100 (TV series), State of Georgia (TV series), 90210 (TV series)].