TypeDB is a strongly-typed database with a rich and logical type system. TypeDB empowers you to tackle complex problems, and TypeQL is its query language.


TypeDB originally started as the Grakn Project in 2016 at the University of Cambridge Computer Lab. It then spun out as a commercial product in 2017. The system was renamed to TypeDB in 2021.

Data Model

Graph Entity-Relationship

TypeDB supports the enhanced entity-relationship model, implemented with a hyper-graph. Users can model type hierarchies, hyper-entities, hyper-relationships, and rules.

Query Interface

Custom API

TypeQL is the query language for the TypeDB database. It is a declarative language that is specific to TypeDB. TypeQL enables an application to describe what information it would like to retrieve, rather than how should it be obtained.

TypeQL serves as both the Data Manipulation Language (DML) as well as the Data Definition Language (DDL) TypeQL is a language that provides you with a complete set of tools to perform all data-oriented tasks. This includes defining the schema, retrieving information as well as creating and manipulating data.

People Also Viewed