code: private Triple convertToInternalReference(final Triple t,
              final IdentifierConverter<Resource, FedoraResource> idTranslator,
              final IdentifierConverter<Resource, FedoraResource> internalIdTranslator) {
          if (t.getObject().isURI()) {
              final Resource object = createResource(t.getObject().getURI());
              if (idTranslator.inDomain(object)) {
                  final String path = idTranslator.convert(object).getPath();
                  final Resource obj = createResource(internalIdTranslator.toDomain(path).getURI());
                  LOGGER.debug("Converting referencing resource uri {} to internal identifier {}.",
                          t.getObject().getURI(), obj.getURI());
  
                  return new Triple(t.getSubject(), t.getPredicate(), obj.asNode());
              }
          }
  
          return t;
      }
docs: Convert the referencing resource uri to un-dereferenceable internal identifier.
  
  @param t the Triple to convert
  @param idTranslator the Converter that convert the resource uri to a path
  @param internalIdTranslator the Converter that convert a path to internal identifier
  @return Triple a triple with referencing resource uri converted to internal identifier