Advanced
Content requiring deep understanding of TerminusDB internals or complex patterns
33 pages
RDF List Queue Tutorial
Build a task queue using RDF list operations in TerminusDB with step-by-step examples.
Tutorial 3: Intervals & Allen's Temporal Algebra
Hands-on tutorial using the WOQL Playground to learn interval construction, deconstruction, and Allen's 13 temporal relations for verifying how periods relate to each other.
Tutorial 4: Creative Temporal Patterns
Hands-on tutorial using the WOQL Playground to solve real business problems by exploiting WOQL's logic-programming nature — generators, matchers, unification, and composition of temporal predicates.
Execute WOQL JSON-LD Queries Directly
How to run raw WOQL JSON-LD queries with the JavaScript client, enabling access to new server features before client library support
How to compare values with a CSV file using WOQL
Learn how to efficiently compare a list of values against a CSV file to find additions, deletions, and unchanged items using WOQL
How to extract tabular data from JSON with WOQL
Learn how to extract rows and columns from JSON arrays using the sys:Dictionary pattern and dot operator in WOQL
Install on Kubernetes
Install TerminusDB on a Kubernetes cluster
Install TerminusDB from Source Code
Everything you need to install TerminusDB from source code.
Manual reverse branch cloning
How to manually clone branches between data products
Perform a Delta Rollup
How delta rollup works in TerminusDB. Automatic in standard deployments via the built-in rollup plugin — manual optimisation is available for custom deployments.
Queries between Data Products
Learn how to use datalog with knowledge graphs in data products to encode data in a way that resembles the real world, and easily query and manipulate it.
Writing Plugins for TerminusDB
Learn how to write custom plugins for TerminusDB to extend database functionality with hooks and custom behavior.
Allen's Interval Algebra and ISO 8601 Intervals
Guide to Allen's Interval Algebra in WOQL — covering the xdd:dateTimeInterval type, typecasting between inclusive and half-open intervals, all 13 Allen relations, interval classification, and converting between reporting durations and temporal intervals.
End-of-Month Preservation Rules
Complete reference for TerminusDB's end-of-month (EOM) preservation rules — the financial convention for month-based duration arithmetic that keeps month-end dates on month-end boundaries.
GraphQL Range Filter Optimization Plan
Implementation plan for accelerating GraphQL gt/ge/lt/le filters using the streaming range query infrastructure in TerminusDB
Range Queries with triple_slice and quad_slice
How to use triple_slice and quad_slice for fast range queries on typed values in TerminusDB, with automatic type inference from the schema
RDF List Access Operations
Learn how to read elements from RDF lists using peek, member, length, list, and slice operations in WOQL.
RDF List Creation Operations
Learn how to create empty RDF lists and check if lists are empty using WOQL library functions in TerminusDB.
RDF List Modification Operations
Learn how to add, remove, and modify elements in RDF lists using push, pop, append, insert, drop, and clear operations in WOQL.
RDF List Transformation Operations
Learn how to reorder RDF lists using swap and reverse operations in WOQL for TerminusDB.
System Graph Interface to GraphQL
TerminusDB technical documentation - System Graph Interface to GraphQL
WOQL Class Reference Guide
The JSON-LD definition of the WOQL language
WOQL Control Flow: Backtracking, Scope, and Performance
Deep guide to WOQL's execution model — how backtracking generates solutions, how variable scope works across sub-queries, and how to structure queries for optimal performance with triple, triple_slice, and streaming results.
WOQL Set Operations Reference
Reference guide for WOQL set operations including set_difference, set_intersection, set_union, set_member, and list_to_set
WOQL Variable Generation Guide (Javascript)
Complete guide to the four variable generation methods in the TerminusDB JavaScript client - vars, vars_unique, Vars, and VarsUnique - with practical examples and use cases
How WOQL Finds and Streams Solutions
Understand how TerminusDB's Datalog engine uses goal-seeking backtracking to find solutions in the knowledge graph, how results can be collected or streamed as ndjson with chunked transfer encoding, and when to use each approach.
Immutability and Concurrency
Why TerminusDB avoids locks and how its immutable delta architecture enables safe concurrent access.
Operational Technologies Information Transfer
How to use TerminusDB in Operational Technologies environments for IEC62443, Purdue model and other environments where network segmentation is strict.
sys:JSON Internals - How It Works
Technical deep dive into sys:JSON implementation, storage, and behavior in TerminusDB
TerminusDB Internals
Examples to use the internals of TerminusDB from the command line.
Cookbook: Taxonomy Inheritance and Property Inheritance
Learn how to implement value inheritance and property inheritance in hierarchical data structures, including product taxonomies and legal entity relationships
Troubleshooting Document ID Migration
How to fix subdocument ID prefix mismatches after schema changes using the ChangeKey migration operation.
WOQL Cookbook: Pattern generation
Examples of WOQL pattern generation using substr(), sequence(), weekday(), date arithmetic, interval algebra, range operations, and other predicates that generate all possible solutions via backtracking.