Relational AI Relational AI
    • Documentation
    • Getting Started
    • RKGMS
    • Rel
      • Overview
      • Overview
      • Basic Syntax
      • Aggregations, Group-by, and Joins
      • Advanced Syntax
      • Overview
      • CSV Import
      • CSV Export
      • JSON Import and Export
      • Data Visualization: Graphviz
      • Data Visualization: Vega-Lite
      • Data Visualization: Vega-Lite Gallery
      • Machine Learning: Classification
      • Machine Learning: Regression
      • Modeling and Reasoning: LUBM
      • Overview
      • Installing Models
      • Integrity Constraints
      • Modules
      • Recursion
      • Relational Data Modeling
      • Entities
      • Updating Data: Working with EDB Relations
      • Overview
      • Rel Language
      • Integrity Constraints
      • Data Types
      • Lexical Symbols
      • Overview
      • stdlib
      • alglib
      • display
      • histogram
      • intrinsics
      • mathopt
      • ml
      • vega
      • vega-lite

    On this page

    Rel Primer Overview

    Rel Primer Overview

    The Rel Primer is an introduction to the main features of Rel, targeted to practitioners who want to use Rel — developers, data scientists, and programmers. It assumes basic knowledge of database concepts and programming.

    Basic Syntax

    The basic syntax section presents the basic elements of Rel, and then gradually introduces new features, building on previous ones.

    Aggregations, Group-by, and Joins

    We next present aggregations, group-by, and joins, which are important, commonly used relational operations.

    Advanced Syntax

    The advanced syntax section describes more advanced aspects of the language, including overloading and higher-order syntax.