/**
   * Add additional models to the RDF dataset for the given resource
   *
   * @param rdfStream the source stream we'll add named models to
   * @param resource the FedoraResourceImpl in question
   * @param uriInfo a JAX-RS UriInfo object to build URIs to resources
   * @param graphSubjects
   * @throws RepositoryException
   */
  public void addHttpComponentModelsForResourceToStream(
      final RdfStream rdfStream,
      final FedoraResource resource,
      final UriInfo uriInfo,
      final IdentifierTranslator graphSubjects)
      throws RepositoryException {

    LOGGER.debug("Adding additional HTTP context triples to dataset");
    for (final Map.Entry<String, UriAwareResourceModelFactory> e :
        getUriAwareTripleFactories().entrySet()) {
      final String beanName = e.getKey();
      final UriAwareResourceModelFactory uriAwareResourceModelFactory = e.getValue();
      LOGGER.debug("Adding response information using: {}", beanName);

      final Model m =
          uriAwareResourceModelFactory.createModelForResource(resource, uriInfo, graphSubjects);
      rdfStream.concat(RdfStream.fromModel(m));
    }
  }