code: private Stream<Triple> memberRelations(final FedoraResource container) throws RepositoryException {
          final org.apache.jena.graph.Node memberRelation;
  
          if (container.hasProperty(LDP_HAS_MEMBER_RELATION)) {
              final Property property = getJcrNode(container).getProperty(LDP_HAS_MEMBER_RELATION);
              memberRelation = createURI(property.getString());
          } else if (container.hasType(LDP_BASIC_CONTAINER)) {
              memberRelation = LDP_MEMBER.asNode();
          } else {
              return empty();
          }
  
          final String insertedContainerProperty;
  
          if (container.hasType(LDP_INDIRECT_CONTAINER)) {
              if (container.hasProperty(LDP_INSERTED_CONTENT_RELATION)) {
                  insertedContainerProperty = getJcrNode(container).getProperty(LDP_INSERTED_CONTENT_RELATION)
                      .getString();
              } else {
                  return empty();
              }
          } else {
              insertedContainerProperty = MEMBER_SUBJECT.getURI();
          }
  
          return container.getChildren().flatMap(
              UncheckedFunction.uncheck(child -> {
                  final org.apache.jena.graph.Node childSubject = uriFor(child.getDescribedResource());
  
                  if (insertedContainerProperty.equals(MEMBER_SUBJECT.getURI())) {
                      return of(create(subject(), memberRelation, childSubject));
                  }
                  String insertedContentProperty = getPropertyNameFromPredicate(getJcrNode(resource()),
                          createResource(insertedContainerProperty), null);
  
                  if (child.hasProperty(insertedContentProperty)) {
                      // do nothing, insertedContentProperty is good
  
                  } else if (child.hasProperty(getReferencePropertyName(insertedContentProperty))) {
                      // The insertedContentProperty is a pseudo reference property
                      insertedContentProperty = getReferencePropertyName(insertedContentProperty);
  
                  } else {
                      // No property found!
                      return empty();
                  }
  
                  return iteratorToStream(new PropertyValueIterator(
                          getJcrNode(child).getProperty(insertedContentProperty)))
                      .map(uncheck(v -> create(subject(), memberRelation,
                          new ValueConverter(getJcrNode(container).getSession(), translator()).convert(v).asNode())));
              }));
      }
docs: Get the member relations assert on the subject by the given node
  @param container with relations
  @return Stream of triples
  @throws RepositoryException on error