Skip to content
This site is for a previous version of RelationalAI.

The Rel Language

Rel is an expressive, declarative, and relational language designed for modeling domain knowledge.

For new Rel users, check out the Rel Tutorials for an introduction to the language and Hello Rel (opens in a new tab) for interactive self-paced lessons.

List of Rel Language Sections

The Rel documentation includes a Rel Primer, How-To Guides and Rel Concepts with examples of advanced use cases, a Language Reference that explains Rel syntax and abstractions, and a Library Reference that covers library relation definitions along with examples:

Rel Primer

The Rel Primer series is designed specifically to help developers learn and understand Rel. It contains three parts, in increasing levels of complexity:

How-To Guides

How-to guides are designed to guide you through the steps needed to take on specific tasks and problems. They are more advanced than tutorials and assume some background knowledge of the Rel language and RKGS. How-to guides show you how solve tasks using Rel:

Rel Concepts

Rel Concepts explain topics and concepts important to developing quality applications in Rel. In contrast with how-to guides, they don’t focus on solving a specific task. The following guides cover topics that range from specific language features to general workflow or data modeling patterns:


References contain detailed technical information about the Rel language, including explanations of Rel’s terminology and syntax. The Library References lists all Rel libraries and the relations within each library:


The Rel Cheatsheet is a quick reference for the Rel language:

Was this doc helpful?