docs: private static Set<Label> getAttributeImplicitRelationTypeLabes(Set<Type> types) {
          // If the sub graph contains attributes, we may need to add implicit relations to the path
          return types.stream()
                  .filter(Concept::isAttributeType)
                  .map(attributeType -> Schema.ImplicitType.HAS.getLabel(attributeType.label()))
                  .collect(toSet());
      }