Officially out now: The TypeDB 3.0 Roadmap

Lesson 10: Using inference

In this lesson, we’ll learn how to write and use rules effectively. We’ll start by seeing how rules can be used like views in order to abstract complex query patterns into more maintainable forms. Then we’ll explore how we can use rules to build networks of logic, covering rule chaining and rule branching, allowing us to create complex behaviour from simple rules. As part of this, we’ll also examine rule recursion.

  • You should complete Lesson 8 before starting this lesson.

Lesson contents

Learn how to create simple abstractions for complex patterns.

Learn how to chain rules, into each other and recursively.

Learn how to use rules to create branching logic.

Provide Feedback