add lookup function to get all invitation related to a specific content object