
Objects in the ontology graph editor
Creating Objects

Create Object
From the Tables Sidebar
Drag a table from the Tables Sidebar onto the canvas:- Click the tables icon to view synced tables
- Search for the table you want
- Drag it onto the canvas
- Attributes are automatically mapped from columns
From the Add Object Button
- Click the ”+ Create” button in the toolbar
- Choose Table or SQL Query as backing
- Configure the object name and data source
- Attributes are automatically inferred from the schema
Editing Objects

Edit Object
Overview Tab
- Edit object name, icon, and color
- View or change the backing table/query
- View object size (number of columns)
- Edit description
Attributes Tab
- View all attributes with their types
- Add new attributes manually
- Set primary key (click “PK” button - only one allowed)
- Mark as measure (“meas”) or dimension (“dim”)
- Delete attributes
Metrics Tab
Define calculated metrics on the object:- Aggregations like SUM, COUNT, AVG
- Custom formulas
- Pre-defined KPIs
Links Tab
View and manage relationships to other objects:- See all connected links
- Create new links
- Edit or delete existing links
Primary Keys
Important: Only one attribute can be set as the primary key per object. Primary keys are optional - you don’t need them to create objects or links. They’re used as default join keys for links but can be overridden. Setting Primary Key:- Click the object to open the sidebar
- Go to “Attributes” tab
- Click “PK” next to an attribute
- Click again to unset
Attribute Types
Derived Attributes
These are additional columns you can add to an object that are calculated across a link. For example:- The name of the customer who purchased the order, calculated from the customer object and order → customer link
- The total number of reports a manager has, calculated as the count of manager → employee links for a given manager
Formulaic Attributes
These attributes are used to define formulas or calculations based on the values of other attributes within the ontology. For example, you can create a formulaic attribute that calculates the revenue contribution of a sale by multiplying price and quantity. Formulaic attributes are defined in the SQL dialect of the underlying connector, and can only reference attributes inherent to the backing table or query of the object — they cannot refer to derived or other formulaic attributes. Column references are specified with theprimaryTable identifier, not the backing SQL table or query. For example: