code: @Override
      public void putGraph(URI graphUri, Model data) {
          if (graphUri == null || data == null)
              return;
  
          // Use HTTP protocol if possible
          if (this.sparqlServiceEndpoint != null) {
              datasetAccessor.putModel(graphUri.toASCIIString(), data);
          } else {
              this.putGraphSparqlQuery(graphUri, data);
          }
  
          log.info("Graph added to store: {}", graphUri.toASCIIString());
      }
docs: Put (create/replace) a named graph of a Dataset
  
  @param graphUri
  @param data