On a different site (In a different life and a different time at this point, with how long its been since I logged in to it) I have a fic that is solely about an undead that has been given sapience, that later ends up creating more undead of its own.
One of the main ethical questions I had for the character, practically that protagonist's main conflict, is how it should treat the undead that don't have sapience, what should it do if it gains the ability to give others the same intelligence that it has.
Basically, what I'm trying to say is, Necromancy is like AI rights but fantasy, with significantly more murder. Or at least, more murder for now.