code: @Override
      public void addModelToGraph(URI graphUri, Model data) {
          if (graphUri == null || data == null)
              return;
  
          // Use HTTP protocol if possible
          if (this.sparqlServiceEndpoint != null) {
              datasetAccessor.add(graphUri.toASCIIString(), data);
          } else {
              this.addModelToGraphSparqlQuery(graphUri, data);
          }
      }
docs: Add statements to a named model
  
  @param graphUri
  @param data