code: @Override
      public void putGraph(Model data) {
  
          if (data == null)
              return;
  
          // Use HTTP protocol if possible
          if (this.sparqlServiceEndpoint != null) {
              datasetAccessor.putModel(data);
          } else {
              this.putGraphSparqlQuery(data);
          }
  
      }
docs: Put (create/replace) the default graph of a Dataset
  
  @param data