Schema
Schema definition, types, constraints, migration, and weakening
27 pages
Add a schema to TerminusDB with the Python Client
A guide to show how to add a schema to TerminusDB projects with the Python Client.
Add a Schema using the JavaScript Client
A guide to show how to add a schema to TerminusDB using the TerminusDB JavaScript Client.
Query Arrays and Sets with WOQL
A guide to show how to query arrays and sets with WOQL in your TerminusDB projects.
Schema Queries with WOQL
A guide to show how to query schema with WOQL in your TerminusDB projects.
Subdocument Handling with WOQL
A comprehensive guide to creating, reading, updating, and deleting subdocuments using WOQL queries in TerminusDB.
Use the Model Builder UI
The model builder UI allows you to construct classes of objects and define what data they have, and what links (or relationships) they have between them.
Array fields in the document UI
Examples of how array fields in the document UI
Choice Document in the Document UI
How document choice works in the document UI
Context Cache
How TwinfoxDB Enterprise caches remote JSON-LD contexts locally using pre-seeded files and a disk-backed HTTP cache.
List Properties in the Document UI
How list properties work in the document UI software development kit.
Mandatory Properties in the Document UI
How mandatory properties work in the document user interface.
One Of for mutually disjoint properties (@oneof)
An example of how one of properties work in the document UI
Optional Properties
How optional properties work in the document UI
Prefix Management API
Learn how to manage namespace prefixes in TerminusDB to simplify your document IRIs and organize your data vocabularies.
Render As Markdown Using @metadata
How to render properties as markdown in the document UI
Schema Migration Reference Guide
A reference guide explaining the schema migration capabilities of TerminusDB
Schema Reference Guide
A reference guide for the TerminusDB schema
Set Properties in the Document UI
How to use set properties in the document UI
TerminusDB Data Types
Comprehensive reference for all data types supported in TerminusDB, including XSD, RDF, XDD extensions, and System types.
TerminusDB Data Types
The core data types for TerminusDB, derived from XML Data Types providing strong data interoperability
TerminusDB Document Types Compared
Compare TerminusDB document types - when to use regular documents, subdocuments, and shared documents for different ownership and lifecycle patterns
TerminusDB Document UI SDK - Using Choice Subdocuments
A guide showing how to use multiple choice subdocuments with the TerminusDB documen t UI SDK
How to Model Schema
Bit sized how to guides to help you model and build schema for TerminusDB projects.
What is Schema Weakening
An explanation about schema weakening and why you need it to change a schema which provides constraints and assurances of the shapes of your graph data
Cookbook: Leveraging Arrays with WOQL
Learn to query and manipulate TerminusDB multidimensional arrays using WOQL patterns for efficient data access and processing
Schema Validation Errors — TerminusDB Troubleshooting
Diagnose and fix schema validation errors in TerminusDB including type mismatches on insert, missing required fields, class not found, and enum validation failures.
Troubleshooting Document ID Migration
How to fix subdocument ID prefix mismatches after schema changes using the ChangeKey migration operation.