code: public static Record create(final URI id, final URI... types) {
          final Record record = new Record(id);
          if (types.length > 0) {
              record.set(RDF.TYPE, types);
          }
          return record;
      }
docs: Creates a new record with the ID and the types specified (property {@code rdf:type}), and
  no additional properties.
  
  @param id
  the ID of the new record, possibly null in order not to assign it
  @param types
  the types of the record, assigned to property {@code rdf:type}
  @return the created record