Skip to main content

Ontology Builder

Ontology Builder is a workspace for visually defining and managing entities and relationships.

Screen Layout

[Screenshot] Ontology Builder

Ontology Builder

1. View Mode

You can switch between two view modes from the top header.

  • Graph: A visual canvas view with nodes and links. Ideal for understanding and designing structure.
  • Table: A list view showing entities and relationships. Useful for managing large numbers of items or viewing properties in detail.

2. Navigation Panel

Located on the left, it provides Templates for creating entities.

  • Pre-defined templates like Person, Organization, Product can be dragged and dropped onto the canvas to quickly create entities.

3. Canvas

The main workspace where you can freely arrange and connect entity nodes.

  • Move: Drag nodes to adjust their positions.
  • Connect: Drag from a node's handle (dot) to another node to open the relationship creation modal.
  • Zoom: Use the mouse wheel or control buttons.
  • Auto Layout: Use the auto-arrange feature from the top menu.

4. Inspector

Located on the right, it allows you to edit detailed information about the selected entity or relationship.

Creating Entities

  1. Using Templates: Drag the desired template from the left panel onto the canvas.
  2. Manual Creation: Right-click on an empty area of the canvas or click the + Entity button at the top.
  3. Configuration: Define the name, description, properties (columns), and save.

Setting Up Relationships

  1. Hover over the connection handle on the border of the source entity.
  2. Click and drag to the target entity.
  3. In the Create Relationship dialog, enter the relationship name (e.g., PURCHASED, WORKS_FOR) and save.

Dataset Mapping

You can connect entities to actual data and load them into a graph database (Neo4j).

How to Configure Mapping

  1. Select the entity to map.
  2. Click the Data Source tab in the properties panel.
  3. Select Dataset: Choose the D.Hub dataset to connect.
  4. Field Mapping: Map each entity property to a dataset column.

Mapping Example

Entity PropertyDataset Column
idcustomer_id
namecustomer_name
emailemail_address

Running Sink

Once mapping is configured, click the Sink button to load data into Neo4j.

  • Full Sync: Loads all data fresh.
  • Incremental: Updates only changed data.

Table View

In table view, you can manage entities and relationships in list format.

Entity Table

  • Search: Search by entity name.
  • Sort: Click column headers to sort.
  • Batch Edit: Select multiple entities to edit or delete in bulk.

Relationship Table

  • Source/Target Filter: Display only relationships connected to specific entities.
  • Relationship Type Filter: Display only specific types of relationships.

Keyboard Shortcuts

ShortcutAction
Delete / BackspaceDelete selected item
Ctrl/Cmd + ZUndo
Ctrl/Cmd + Shift + ZRedo
Ctrl/Cmd + SSave
Ctrl/Cmd + ASelect all
Space (hold)Panning mode

Click the ? icon at the top to view the complete list of shortcuts.