What is TypeQL?
masterTypeQL is the declarative, polymorphic query language for TypeDB. It is designed to be conceptual and intuitive, mirroring the TypeDB conceptual data model.
Key characteristics include:
- Declarative: You define query patterns (requirements) without specifying the execution strategy; TypeDB's query planner optimizes the execution.
- Polymorphic: It supports the Polymorphic Entity-Relation-Attribute (PERA) model, allowing for powerful parametric database operations.
- Composable: Complex queries are built by concatenating atomic constraints into patterns.
- Variablizable: Any concept (entities, relations, attributes, or even types) can be variablized in a query.