Ontology Builder
Ontology Builder is a workspace for visually defining and managing entities and relationships.
Screen Layout
[Screenshot] 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
- Using Templates: Drag the desired template from the left panel onto the canvas.
- Manual Creation: Right-click on an empty area of the canvas or click the + Entity button at the top.
- Configuration: Define the name, description, properties (columns), and save.
Setting Up Relationships
- Hover over the connection handle on the border of the source entity.
- Click and drag to the target entity.
- 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
- Select the entity to map.
- Click the Data Source tab in the properties panel.
- Select Dataset: Choose the D.Hub dataset to connect.
- Field Mapping: Map each entity property to a dataset column.
Mapping Example
| Entity Property | Dataset Column |
|---|---|
id | customer_id |
name | customer_name |
email | email_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
| Shortcut | Action |
|---|---|
Delete / Backspace | Delete selected item |
Ctrl/Cmd + Z | Undo |
Ctrl/Cmd + Shift + Z | Redo |
Ctrl/Cmd + S | Save |
Ctrl/Cmd + A | Select all |
Space (hold) | Panning mode |
Click the ? icon at the top to view the complete list of shortcuts.
