<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_linked_data_element_from_resource(self, resource):
 """ Returns a new linked data element for the given resource object. :returns: object implementing :class:`ILinkedDataElement`. """

        mp = self.__mp_reg.find_or_create_mapping(Link)
        return mp.data_element_class.create_from_resource(resource)