# `entity` statement

The statement `entity <LABEL>` is used to identify the `<LABEL>` as a type of kind `entity`.

## [](#_defining_entities)Defining entities

The `entity` keyword can be used to define a type of kind `entity`.

```typeql
#!test[schema]
define entity user;
```

## [](#_matching_entities)Matching entities

The `entity` keyword can be used to match all types of kind `entity`.

```typeql
#!test[read]
match entity $e;
```

[Statements](../index.md) [relation](../relation/index.md)

[Edit on GitHub](https://github.com/typedb/typedb-docs/edit/3.x-development/typeql-reference/modules/ROOT/pages/statements/entity.adoc) Edit this page on GitHub.