Can you define sentient? In this case I agree that pigs are obviously sentient, but do you think you could write a non-ambiguous easily-applied rule that prohibits experimenting on sentient life?
Wikipedia has a good overview: https://en.wikipedia.org/wiki/Sentience Practically questions like these are decided by case law. (This is not very different than the current arguments over abortion in the US.)