code: function composePatchQuery (toDel, toIns) {
    let query = ''
    if (toDel && toDel.length > 0) {
      toDel = toDel.map(function (st) {
        return statementToNT(st)
      })
      query += 'DELETE DATA { ' + toDel.join(' ') + ' };\n'
    }
  
    if (toIns && toIns.length > 0) {
      toIns = toIns.map(function (st) {
        return statementToNT(st)
      })
      query += 'INSERT DATA { ' + toIns.join(' ') + ' };\n'
    }
  
    return query
  }
docs: Composes and returns a PATCH SPARQL query (for use with `web.patch()`)
  @method composePatchQuery
  
  @param toDel {Array<string|Statement>} List of triples to delete
  @param toIns {Array<string|Statement>} List of triples to insert
  
  @return {string} SPARQL query for use with PATCH