Tutorial
Step-by-step learning exercise (Diataxis: learning-oriented)
25 pages
Access Control Tutorial
Step-by-step tutorial to create a read-only user and grant database access in TerminusDB using curl. Takes less than 10 minutes.
Access Control Tutorial Source Code
Complete source code walkthrough for the TerminusDB JavaScript access control tutorial.
Audit Data Changes
Step-by-step tutorial to audit who changed what and when using TerminusDB's immutable commit log. Query history, diff commits, and trace field-level changes.
Clone a Demo Database
Clone a demo database from the public templates server to your local TerminusDB instance — no account required.
Explore a Real Dataset — Star Wars Tutorial
Clone, query, branch, and diff a Star Wars database in 15 minutes. Learn TerminusDB's git-for-data workflow on real data.
Explore an Ecommerce Dataset
Clone an ecommerce database, query orders across customers, branch to update an order status, and see the structural diff — in 15 minutes.
Getting Started
Technical documentation for TerminusDB and the DFRNT TerminusDB cloud.
How to query with datalog (WOQL)
Hands-on learn by doing tutorial to learn the WOQL Datalog language with working JavaScript examples
How to Query with GraphQL
Comprehensive guides for querying and modifying data in TerminusDB using GraphQL including queries, mutations, filtering, and more.
Learn the GraphQL Basics for TerminusDB
Learn to query TerminusDB using GraphQL with a Star Wars dataset cloned from the public templates server.
Learn WOQL: An Interactive Tutorial
A hands-on interactive tutorial that teaches the WOQL query language from first principles, with runnable examples you can edit and execute against your local TerminusDB instance.
Multi-Format Document API with curl
A hands-on tutorial for using the TerminusDB Document API with curl to work with JSON, JSON-LD, RDF/XML, and Turtle formats. Covers a full round-trip cycle for enterprise reference data management.
Python Client — Quickstart
Connect to TerminusDB from Python. Branch, edit, diff, and merge documents using the terminusdb-client Python library.
Python WOQL Customer Data Processing Example
A guide to show how to perform basic document queries using the Python Client for customer management.
RDF List Queue Tutorial
Build a task queue using RDF list operations in TerminusDB with step-by-step examples.
Recover Data from Version History
Step-by-step tutorial to recover deleted or corrupted data using TerminusDB's immutable commit history. View the log, branch from a known-good commit, and reset.
Rust Client — Getting Started
Connect to TerminusDB from Rust using the community-contributed terminusdb-client crate.
Tutorial 1: Dates, Comparisons & Range Queries
Hands-on tutorial using the WOQL Playground to learn date representation, comparison predicates, half-open range filtering, and the as-of vs period query pattern.
Tutorial 2: Durations, Month Arithmetic & Sequences
Hands-on tutorial using the WOQL Playground to learn duration arithmetic, EOM preservation, sequence generation, weekday extraction, and month boundary predicates.
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.
WOQL Basics — Pattern Matching and Graph Traversal
WOQL is TerminusDB's Datalog-based query language for pattern matching, graph traversal, and data transformation. Learn the basics with worked examples.
WOQL Getting Started
Examples to Get Started with the TerminusDB Web Object Query Langauge (WOQL)
Your First 10 Minutes with TerminusDB
Get started with TerminusDB in 10 minutes. Clone a ready-made dataset, then branch, diff, and merge — the full git-for-data workflow with zero setup.
Your First 15 Minutes — Build from Scratch
Build a complete git-for-data workflow from scratch. Create a database, insert a document, branch, edit, diff branches, and merge — step by step with curl.