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 query Define new types and rules in a schema. Undefine query 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 query Insert new data into a database. Delete query Delete existing data from a database. Update query Replace existing data in a database. Fetch query Fetch values and types as JSONs. Get query Get concepts from a database as ConceptMaps or aggregated values. Introduction Define