code: private Node getMemberResource(final FedoraResource parent) throws RepositoryException {
          final Node membershipResource;
  
          if (parent.hasProperty(LDP_MEMBER_RESOURCE)) {
              final Property memberResource = getJcrNode(parent).getProperty(LDP_MEMBER_RESOURCE);
  
              if (REFERENCE_TYPES.contains(memberResource.getType())) {
                  membershipResource = nodeConverter().convert(memberResource.getNode()).asNode();
              } else {
                  membershipResource = createURI(memberResource.getString());
              }
          } else {
              membershipResource = uriFor(parent);
          }
  
          return membershipResource;
      }
docs: Get the membership resource relation asserted by the container
  @param parent resource with relations
  @return Node of member
  @throws RepositoryException on error