In late-2367, D'Sora found herself in love with Lieutenant Commander Data. The two officers worked together, and they shared an interest in music, both performing in a woodwind quintet concert in Ten Forward, along with Keiko O'Brien and two other musicians. D'Sora played the flute in the concert.
After she kissed him on the lips, Data asked his friends for advice on what to do, and decided to pursue the relationship. As D'Sora was a member of his security staff, Worf respectfully but directly told Data that he would be "displeased" if she were mistreated. Since he had no real emotions or feelings, Data created a special program to guide him through the intricacies of love. However, as his relationship with Jenna progressed, Data discovered that in romance, the logical course is not always the most appropriate.
Soon after, they decided to end their relationship. D'Sora explained that her previous boyfriend, Jeff Arton, had been unemotional, and felt that her choice of Data, an android completely incapable of emotion, indicated a pattern. Without a second thought, Data, seeing the validity of her point, agreed to discontinue and delete his special program. (TNG: "In Theory")