 When Data is malfunctioning, Picard gets him to recite Gilbert and  Sullivans "H.M.S. Pinafore". In the Isaac Asimov story "Runaround"  a malfunctioning robot recites Gilbert and Sullivan while evading  capture by his human masters. Much of Datas character is taken from  Asimovs writings (such as Datas "Positronic Net", adapted from  Asimovs "Positronic" brains).