# TypeQL

**URL:** https://forum.typedb.com/c/typeql/18.md?page=1

[Latest](https://forum.typedb.com/latest.md) · [Categories](https://forum.typedb.com/categories.md) · [Tags](https://forum.typedb.com/tags.md)

**Page:** 2

---

## [Infer existence of an entity?](https://forum.typedb.com/t/infer-existence-of-an-entity/155)

<div class="topic-metadata">

**Author:** [@thayne](https://forum.typedb.com/u/thayne)\
**Replies:** 1\
**Last updated:** [13 July 2022 08:24 UTC](https://forum.typedb.com/t/infer-existence-of-an-entity/155 "2022-07-13T08:24:26Z")

</div>

I would like to create a rule which infers the existence of an entity if it doesn’t already exist. For example, all jedi masters have an apprentice: apprenticeship sub relation, relates apprentice, relates master; I…

[Previous page](https://forum.typedb.com/c/typeql/18.md)
