I just wanted to add another perspective to this story. This is from Vedanta. It says, no one gives away anything for anyone. The person who gives, is giving because he/she/they feel happy after the giving.
So, when the lady gave half of the pomegranate, she did it because she wanted to accumulate the good Karma, so she might have a better re-birth.
So, no giving is selfless ðŸ™ðŸ½