DB-EnginesextremeDB - solve IoT connectivity disruptionsEnglish
Deutsch
Knowledge Base of Relational and NoSQL Database Management Systemsprovided by Redgate Software

DBMS > TypeDB

TypeDB System Properties

Please select another system to compare it with TypeDB.

Our visitors often compare TypeDB with Qdrant, Pinecone and Neo4j.

Editorial information provided by DB-Engines
NameTypeDB infoformerly named Grakn
DescriptionTypeDB provides developers with an expressive, customizable type system to manage their data using an award-winning query language, TypeQL, while building on a high-performance, distributed architecture.
Primary database modelGraph DBMS infoThe type-theoretic data model of TypeDB subsumes the graph database model.
Object oriented DBMS infoThe data model of TypeDB comprises object-oriented features such as class inheritance and interfaces.
Relational DBMS infoThe type-theoretic data model of TypeDB subsumes the relational database model.
DB-Engines Ranking infomeasures the popularity of database management systemsranking trend
Trend Chart
Score0.66
Rank#227  Overall
#20  Graph DBMS
#8  Object oriented DBMS
#106  Relational DBMS
Websitetypedb.com
Technical documentationtypedb.com/­docs
DeveloperVaticle
Initial release2016
Current release2.28.3, June 2024
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
OS X
Windows
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 (IDE)
Supported programming languagesAll JVM based languages
C
C++
Java
JavaScript (Node.js)
Python
Rust
Server-side scripts infoStored proceduresno
Triggersno
Partitioning methods infoMethods for storing different data on different nodesno
Replication methods infoMethods for redundantly storing data on multiple nodesSynchronous replication via raft
MapReduce infoOffers an API for user-defined Map/Reduce methodsno
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

TypeDB is a polymorphic database with a conceptual data model, a strong subtyping system, a symbolic reasoning engine, and an elegant type-theoretic language: TypeQL. TypeDB empowers you to efficiently tackle complex problems in a large variety of application domains.

The polymorphic database paradigm

TypeDB is based on a new, expressive database paradigm comprising four key ingredients.

  • The polymorphic data model of TypeDB structures data in schemas of entities, relations, and attributes, enhanced with polymorphism. This allows you to build database applications directly on conceptual data models, which are commonly used for high level representations of domains and their data.

  • All components of the polymorphic data model are captured by a continuously extensible strong type system. This enables both the semantic validation of queries, avoiding inconsistencies in data insertions or query patterns, and fully extensible database schemas, minimizing the required maintenance for queries and logical rules.

  • TypeQL is a fully declarative query language, tailored to the type system of TypeDB. Queries comprise composable declarative patterns, in which all data or types can be queried for as variables. This results in an expressive and intuitive language that makes it easy to manage, query, and reason over complex data structures.

  • The type-theoretic language of TypeDB facilitates a powerful native reasoning engine, in which rules are written using patterns, just like queries. Highly complex logical behaviors can be described using rules that are individually very simple, mirroring the true semantic logic of complex data domains.

The polymorphic database paradigm of TypeDB provides native interoperability with object-oriented principles and other common database paradigms, including graph and relational databases.

Learn more about the Philosophy behind TypeDB.


High efficiency database engineering

TypeDB breaks down the patchwork of existing database paradigms into simple conceptual ingredients, providing a unified way to work with data across all database applications, and this directly impacts application development in several ways.

  • Work directly with high-level conceptual models eliminating the need for specific physical-level representations, and enjoy continuous extensibility of your schema

  • Make use of full object model parity when working with object-oriented programming languages.

  • Use simple and effective rule-based reasoning to integrate complex application logic into your database design.

  • Let TypeDB's inference engine guarantee data consistency at all times.

  • Write high-clarity code with TypeQL's near-natural queries even for the most complex data structures.

  • Unleash the power of fully declarative and composable patterns onto your data.

  • Work directly in TypeDB’s beautiful IDE: TypeDB Studio

Visit TypeDB.com to get started!

Competitive advantages

TypeDB provides a new level of expressivity, extensibility, interoperability, and performance, all powered by its novel polymorphic data model. Check out our full list of features.

Native data polymorphism

TypeDB allows you to model structured data in terms of concepts (entities, relations, and attributes) and the mutual data dependencies between them, further enhanced with inheritance and interface polymorphism. This enables the expression of concept hierarchies and dependency abstractions.

Inheritance hierarchies

Following object-oriented principles, TypeDB allows data types to inherit the behaviours and properties of their supertypes. In this way, complex data structures become reusable and more easily queryable.

Interface abstractions

TypeDB allows data dependencies to be abstracted in interfaces. These interface capabilities are passed down through inheritance hierarchies, yielding a powerful way of combining inheritance and interface polymorphism.


Expressive relations

TypeDB allows the specification of relations with any number of role types. Relations, like entities, are first-class objects - they can be freely given the capability of relation role players and attribute value owners. This resolves many modeling issues found in more restrictive database paradigms.

N-ary relations (hyperedges)

Construct rich data representations by directly implementing unary, binary, ternary, and n-ary relations in your conceptual model. TypeQL’s expressivity allows you to use the same constructor format for all relations, regardless of the number of roleplayers.

Nested relations (reified edges)

Relations can play roles in other relations just like entities. With no limit to the depth of nesting for relations, you can express the full richness of your data without reifying your data model.


Extensible strong type system

Semantic Data Validation

TypeDB validates all queries and rules against the type system defined in the schema to ensure semantic correctness. 

Full extensibility

The type system guarantees that users need not worry about queries breaking or data being orphaned when the database schema changes. 


Powerful reasoning engine 

TypeDB can model complex logical behaviour by encoding rules as part of your database schema, enabling rule-based query-time fact generation.

  • Rule-based application logic can be captured directly
  • TypeDB can provide explainations for all deductions
  • Data stays up to date, since rules are executed at query time


Intuitive Attributes

In TypeDB, attribute types carry values associated to specific entities and relations. There are no NULLs and no default restrictions on how many attributes a given entity or relation may have. This makes attributes in TypeDB behave much more "intuitively" than in other database systems:  

  • Easily work with multi-valued attributes
  • Avoid NULL values
  • Model common attribute constraints


Robust API

TypeDB provides a robust API and several native language drivers and several key properties including:

  • ACID compliance
  • Asynchronous protocol
  • Reactive streaming
  • Stateful, programmatic and performant


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).
  • 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.
  • Financial Services: TypeDB allows the integration of hugely complex financial networks of data in a simple and intuitive way.
Licensing and pricing models

Apache for language drivers, and AGPL and Commercial for the database server.

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

An Enterprise Data Stack Using TypeDB
2 September 2021, Towards Data Science

Speedb Goes Open Source With Its Speedb Data Engine, A Drop-in Replacement for RocksDB
9 November 2022, Business Wire

Modelling Biomedical Data for a Drug Discovery Knowledge Graph
6 October 2020, Towards Data Science

How Roche Discovered Novel Potential Gene Targets with TypeDB
8 June 2021, Towards Data Science

Bayer’s Approach to Modelling and Loading Data at Scale
16 August 2021, Towards Data Science

provided by Google News



Share this page

Featured Products

Neo4j logo

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

RaimaDB logo

RaimaDB, embedded database for mission-critical applications. When performance, footprint and reliability matters.
Try RaimaDB for free.

SingleStore logo

The data platform to build your intelligent applications.
Try it free.

Milvus logo

Vector database designed for GenAI, fully equipped for enterprise implementation.
Try Managed Milvus 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

Present your product here