Officially out now: The TypeDB 3.0 Roadmap >>

Queries overview

A TypeQL query uses from one to three clauses with fully declarative patterns to manipulate the schema or data of a database.

Schema queries

Schema queries represent a DDL part of TypeQL: they are used to define and undefine types and rules in a schema.

Define new types and rules in a schema.

Delete types and rules from a schema.

Data queries

Data queries represent DML part of TypeQL: they are used to manipulate data in a database with pattern matching.

Insert new data into a database.

Delete existing data from a database.

Replace existing data in a database.

Fetch values and types as JSONs.

Get concepts from a database as ConceptMaps or aggregated values.