DB-EnginesExtremeDB: benchmark about the mission critical dbmsEnglish
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by solid IT


TypeDB System Properties

Please select another system to compare it with TypeDB.

Our visitors often compare TypeDB with Neo4j, GraphDB and JanusGraph.

Editorial information provided by DB-Engines
NameTypeDB infoformerly named Grakn
DescriptionTypeDB is a strongly-typed database with a rich and logical type system and TypeQL as its query language
Primary database modelGraph DBMS
Relational DBMS infoOften described as a 'hyper-relational' database, since it implements the 'Entity-Relationship Paradigm' to manage complex data structures and ontologies.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Rank#223  Overall
#18  Graph DBMS
#106  Relational DBMS
Technical documentationtypedb.com/­docs
Initial release2016
Current release2.17.0, April 2023
License infoCommercial or Open SourceOpen Source infoGPL Version 3, commercial licenses available
Cloud-based only infoOnly available as a cloud serviceno
DBaaS offerings (sponsored links) infoDatabase as a Service

Providers of DBaaS offerings, please contact us to be listed.
Implementation languageJava
Server operating systemsLinux
Data schemeyes
Typing infopredefined data types such as float or dateyes
XML support infoSome form of processing data in XML format, e.g. support for XML data structures, and/or support for XPath, XQuery or XSLT.no
Secondary indexesyes
SQL infoSupport of SQLno
APIs and other access methodsgRPC protocol
TypeDB Console (shell)
TypeDB Studio (Visualisation software- previously TypeDB Workbase)
Supported programming languagesAll JVM based languages
JavaScript (Node.js)
Server-side scripts infoStored proceduresno
Partitioning methods infoMethods for storing different data on different nodesSharding infoby using Cassandra
Replication methods infoMethods for redundantly storing data on multiple nodesMulti-source replication infoby using Cassandra
MapReduce infoOffers an API for user-defined Map/Reduce methodsyes infoby using Apache Kafka and Apache Zookeeper
Consistency concepts infoMethods to ensure consistency in a distributed systemImmediate Consistency
Foreign keys infoReferential integrityno infosubstituted by the relationship feature
Transaction concepts infoSupport to ensure data integrity after non-atomic manipulations of dataACID
Concurrency infoSupport for concurrent manipulation of datayes
Durability infoSupport for making data persistentyes
In-memory capabilities infoIs there an option to define some or all structures to be held in-memory only.no
User concepts infoAccess controlyes infoat REST API level; other APIs in progress
More information provided by the system vendor
TypeDB infoformerly named Grakn
Specific characteristics

Meet TypeDB (and TypeQL)

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.

A higher level of expressivity

TypeDB allows you to model your domain based on logical and object-oriented principles. Composed of entity, relationship, and attribute types, as well as type hierarchies, roles, and rules, TypeDB allows you to think higher-level as opposed to join-tables, columns, documents, vertices, edges, and properties.

TypeDB enables:

  • Building rich knowledge models by defining type hierarchies, hyper-entities and hyper-relations.
  • Intuitively defining logical rules that produce implicit inferred knowledge based on expressive complex patterns.
  • Performing built-in distributed analytics (Pregel and MapReduce) on large datasets.
  • Using a high-level, easy to use and declarative query language to describe complex constructs within the data model.

Visit TypeDB.com to learn more.

Competitive advantages

Entity-Relationship Model

TypeDB allows you to model your domain using the well-known Entity-Relationship model. It is composed of entity types, relation types, and attribute types, with the introduction of role types. TypeDB allows you to leverage the full expressivity of the ER model, and describe your schema through first normal form.

Type Hierarchies

TypeDB allows you to easily model type inheritance into your domain model. Following logical and object-oriented principle, TypeDB allows data types to inherit the behaviours and properties of their supertypes. Complex data structures become reusable, and data interpretation becomes richer through polymorphism.

N-ary Relations

In the real world, relations aren't just binary connections between two things. In rich systems, we often need to capture three or more things related with each other at once. Representing them as separate binary relationships would lose information. TypeDB can naturally represent arbitrary number of things as one relation.

Nested Relations

Relations are concepts we use to describe the association between two or more things. Sometimes, those things can be relations themselves. TypeDB can represent these structures naturally, as it enables relations to be nested in another relation, allowing you to express the model of your system in the most natural form.

A higher degree of safety

Types provide a way to describe the logical structures of your data, allowing TypeDB to validate that your code inserts and queries data correctly. Query validation goes beyond static type checking, and includes logical validations of meaningless queries. With strict type-checking errors, you have a dataset that you can trust.

Logical Data Validation

Inserted data gets validated beyond static type checking of attribute value types. Entities are validated to only have the correct attributes, and relations are validated to only relate things that are logically allowed. TypeDB performs richer validation of inserted entities and relations by evaluating the polymorphic types of the things involved.

Logical Query Validation

Read queries executed on TypeDB go through a type resolution process. This process not only optimises the query's execution, but also acts as a static type checker to reject meaningless and unsatisfiable queries, as they are likely a user error.

Evolved with logical inference

TypeDB encodes your data for logical interpretation by a reasoning engine. It enables type-inference and rule-inference that creates logical abstractions of data. This allows the discovery of facts and patterns that would otherwise be too hard to find; and complex queries become much simpler.


TypeDB allows you to define rules in your schema. This extends the expressivity of your model as it enables the system to derive new conclusions when a certain logical form in your dataset is satisfied. Like functions in programming, rules can chain onto one another, creating abstractions of behaviour at the data level.


TypeDB's inference facility translates one query into all of its possible interpretations. This happens through two mechanisms: type-based and rule-based inference. Not only does this derive new conclusions and uncovers relationships that would otherwise be hidden, but it also enables the abstraction of complex patterns into simple queries.

ACID Transactions

TypeDB provides ACID guarantees, up to Snapshot Isolation, through of schema validation and consistent transactions. With lightweight optimistic transactions, TypeDB allows a high number of concurrent read and write transactions. With atomic all-or-nothing commits, transactional semantics become easy to reason over.

Visit TypeQL docs to learn more.

Typical application scenarios
  • Life sciences: TypeDB makes working with biological data much easier and accelerates the knowledge discovery process (for examples, read more and see Github).
  • Financial Services: TypeDB allows the integration of hugely complex financial networks of data and in a simple and intuitive way.
  • Security & defence: TypeDB allows security professionals to leverage complex sources of data to make decisions in defence of national security (for examples, read more and see Github).
  • Robotics: TypeDB enables the creation of robotics and autonomous vehicles by enabling them to make the right behavioural decisions to achieve real-time tasks.
Licensing and pricing models

AGPL and Commercial.

The commercial license is priced based on cluster resources of a hosted TypeDB instance on Google Cloud Platform and Amazon Web Services. Visit TypeDB Cluster or contact our enterprise team to learn more.

Related products and services

We invite representatives of vendors of related products to contact us for presenting information about their offerings here.

More resources
TypeDB infoformerly named Grakn
Recent citations in the news

Speedb's Data Storage Engine Goes Open Source
9 November 2022, Datanami

Object Recognition With SPOT from Boston Robotics
10 December 2020, hackernoon.com

provided by Google News

Share this page

Featured Products

Redis logo

The world’s most loved real‑time data platform.
Try free

Neo4j logo

See for yourself how a graph database can make your life easier.
Use Neo4j online for free.

Datastax Astra logo

Bring all your data to Generative AI applications with vector search enabled by the most scalable
vector database available.
Try for Free

MariaDB logo

SkySQL, the ultimate
MariaDB cloud, is here.

Get started with SkySQL today!

AllegroGraph logo

Graph Database Leader for AI Knowledge Graph Applications - The Most Secure Graph Database Available.
Free Download

Present your product here