code: public void remove(final Statement statement) throws DataCorruptedException, IOException {
  
          Preconditions.checkState(!this.readOnly);
          checkWritable();
  
          try {
              this.connection.remove(statement);
          } catch (final RepositoryException ex) {
              throw new IOException("Failed to remove statement: " + statement, ex);
          }
      }
docs: Removes the specified RDF statement from the triple store. Virtuoso may buffer the
  operation, performing it when more opportune and in any case ensuring that the same effects
  are produced as obtainable by directly executing the operation.
  
  @param statement
  the RDF statement to remove
  @throws DataCorruptedException
  in case a non-recoverable data corruption situation is detected
  @throws IOException
  in case another IO error occurs not implying data corruption
  @throws IllegalStateException
  in case the transaction is read-only