TerminusDB Query Cookbook

Getting Started

TerminusDB Query Cookbook is a collection of guides showing how to query using GraphQL, WOQL and in other ways. TerminusDB is a graph database and document store that is great for data integration, knowledge management, knowledge engineering, content management, and data analytics.

In this guide, we introduce the basic concepts of WOQL and show how to use it to query a TerminusDB database.

Datatypes

WOQL is powerful enough to support a wide range of datatypes. In this guide, we show how to use WOQL to query TerminusDB using different datatypes.

This guide covers how to match datatypes, understand the datatype of a value and check that a value is of a datatype.

Git-for-data, query across graphs

TerminusDB includes a Git-for-data feature that also allows you to query across knowledge graphs.

This guide shows how to use WOQL to query a TerminusDB data product that has many graphs, or between completely separate data products.

Pattern Generation

In this guide, we show how to use WOQL to query a TerminusDB database with pattern generation.

Querying TerminusDB Databases with GraphQL

In this guide, we show how to use GraphQL to query a TerminusDB database within and across documents that are stored as graph objects.

It covers how to use GraphQL to query for data in a TerminusDB database, including how to use the query keyword and how to use the mutation keyword.

Querying TerminusDB Databases with WOQL

In this guide, we show how to query a TerminusDB database using WOQL. It covers how to use WOQL to query for graph data and triples stored in a TerminusDB database.