Brent Spiner's Lt. Commander Data finds a kindred spirit in Sherlock Holmes on Star Trek: The Next Generation, and the android is never more human than when he embodies the world's greatest consulting detective. Data's fascination with Holmes begins in TNG season 1, when Captain Jean-Luc Picard (Patrick Stewart) references the detective. Data then immediately reads every Holmes story by Arthur Conan Doyle and takes on the persona of Holmes. Data takes this love even further in TNG season 2, episode 3, "Elementary, Dear Data," when he and his best friend Geordi La Forge (LeVar Burton) embark on a Holmsian holodeck adventure.
https://screenrant.com/star-trek-tng-data-human-sherlock-holmes/