To understand the event "It was Mary's birthday.  She got presents from her friends.", it is important to know that Friends and relatives give birthday gifts.