DataFocus · Journal
Six Steps to an Ontology on Your Existing Lakehouse with OT Heavy
Six steps from the OT Heavy 8.0.9 manual: connect Hive, Iceberg or Delta Lake read-only, import one topic's tables, type each column, join only on confirmed keys, bind rule documents, read the graph-quality check as a test report, then ask four questions you already know.
The lakehouse keeps the data; the ontology holds the meaning. OT Heavy puts one on the other in six steps from the 8.0.9 user manual: connect the Hive, Iceberg or Delta Lake source with a dedicated read-only account; import only the tables one business topic needs; give each column a type, synonyms and a model-visibility flag; define joins where a confirmed key exists and nowhere else; create the ontology and bind those tables plus the rule documents that govern them; then run the graph-quality check before anyone asks the agent a question. Nothing in the sequence moves data or changes the lakehouse's role.
What the table format gives you, and what it cannot
The Apache Iceberg project (accessed November 2026) describes Iceberg as "a high-performance format for huge analytic tables" shared by several engines. Its evolution documentation (accessed November 2026) guarantees that schema changes are "independent and free of side-effects, without rewriting files", because the format tracks each column by a unique ID rather than by name.
That is where the lakehouse stops. The format knows a renamed column is still the same column. It does not know that cust_id in the CRM extract and kunnr in the ERP extract are the same customer, that "request amount" is summed rather than averaged, or which policy PDF defines "late". DataFocus's product brief describes an ontology as a model of one business area with five parts: objects and relationships, rules and knowledge, indicators, actions, and permissions. The Heavy manual is more operational: "a knowledge space organized around one business topic" of related tables, business documents, indicators and pinboards, with an agent that answers from them. One discipline from DataFocus's documentation runs through every step: each field has a source, each definition an owner, and uncertain relationships stay unconfirmed.
OT Heavy is the edition DataFocus recommends for "enterprises with large data volumes, an existing big-data platform, and a need for data pipelines and modelling", built on Trino, Apache Hive, Apache Iceberg and Apache Hadoop.
Prerequisites
| Item | Why it matters | Source |
|---|---|---|
| A dedicated read-only database account scoped to the databases and tables you will analyze | Bounds what OT Heavy can read; rules out writes to the lakehouse by construction | Heavy manual, § 6.6.1 |
| A large-language-model service configured by an administrator | Ontology agents cannot be used until one exists | Heavy manual, § 1.3.1 |
| A decision on what may leave your network | DataFocus OT is self-hosted; with an external model, confirm what is sent to it under your data policy | Product brief |
| One business topic, one owner, that topic's rule documents | The ontology is organized around a single topic | Heavy manual, Chapter 10 |
| A role that manages data sources and grants permissions (the preset SOURCE_MANAGER does both) | Access to tables and ontologies is controlled centrally under Admin > Permission | Heavy manual, §§ 14.1.2, 14.2 |
The manual recommends the read-only account but does not prescribe grant syntax; that depends on your metastore and engine. Use whatever your platform already does for analyst service accounts, scoped to the tables on your topic list.
Step 1: Connect the source
Under Tables, the data source manager groups sources as Database, API source and HTTP source. The 8.0.9 database list includes Hive, Delta Lake and Iceberg alongside relational and analytical systems such as PostgreSQL, Oracle, SQL Server, ClickHouse, SelectDB / Doris and SAP HANA. Hudi is not on it; if your lakehouse is Hudi-based, confirm support before you start.
Be careful with what the manual does not say. DataFocus lists Trino in Heavy's stack; the Trino connector documentation (Trino 484 docs, accessed November 2026) lists Hive, Iceberg, Delta Lake and Hudi, and Trino's concepts page says a connector "adapts Trino to a data source such as a data lake using Hadoop/Hive or Apache Iceberg". But the Heavy manual never states which engine executes a search or how queries are routed, so do not infer capacity, latency or connector behaviour from Trino's documentation.
Step 2: Import only the tables the topic needs
Importing from a data source is a three-step wizard: select the data source (your read-only connection), select tables, then configure load tables with an import type and an optional schedule. The second step is where discipline pays. A purchase-approval ontology needs purchase requests, approval events and the department dimension, not clickstream. Every extra table is a node the graph check will flag as isolated and a column the agent might reach for.
Scheduled imports appear on the Table Task tab with data source, import type, scheduled time, status and last import time; an expired credential or a changed source table shows up there first.
Two constraints. Local file import (CSV, Excel, JSON) is capped at 50 MB per file: a reference list, not a fact table. And the manual does not describe how each import type stores data relative to your lakehouse, so check the release documentation before choosing one for a large table.
Step 3: Encode meaning per column, and join only on confirmed keys
This step carries most of the semantic weight, column by column in table detail. Each column has a Display Name and Synonyms (the words business users and the agent will actually type), a Column Type of ATTRIBUTE (grouped and filtered) or MEASURE (aggregated) with a default Aggregation, a Geo Type, an Index Type of DEFAULT or DONT_INDEX, a priority from 1 to 100, and a Visible To Model flag that decides whether FocusGPT and other large-model features may use the column at all.
Consider a hypothetical manufacturer, for illustration only, whose lakehouse holds an ERP extract ods_purchase_request and a dimension dim_department.
Column (ods_purchase_request) | Display Name | Column Type / Aggregation | Synonyms | Visible To Model |
|---|---|---|---|---|
req_amt | Request amount | MEASURE / SUM | amount, spend, value | Yes |
dept_cd | Department code | ATTRIBUTE | dept, cost center | Yes |
created_ts | Request date | ATTRIBUTE | submitted, raised | Yes |
supplier_cd | Supplier code | ATTRIBUTE | vendor | Yes |
applicant_id_card | Applicant ID number | ATTRIBUTE | — | No |
The last row is why the flag exists: the ID-number column stays in the table for joins and audit, and the model never sees it. The second row is why synonyms matter: finance says "cost center", procurement says "dept", and both must resolve to one column.
Relationships come next. Each is a join type (Inner Join, for example), a source column and a dimension column, with optional dynamic association and a join filter. Once defined, one search can draw columns from several tables. The decision rule for which joins to define:
| Candidate relationship | Confirmed key? | What to do |
|---|---|---|
ods_purchase_request.dept_cd → dim_department.dept_cd | Yes, same code list | Define the join now |
ods_purchase_request.supplier_cd → fin_vendor.vendor_id | No, procurement and finance keep separate vendor codes | Do not define it; leave both tables bound and let the graph check report them as separate components |
The second row is the cross-system question, and the join is the mapping. DataFocus's homepage demo makes the same point from the agent's side: until a customer-identifier mapping across CRM, ERP and contracts is confirmed, agents do not treat two similar names as one company. A fuzzy join on supplier name would make the graph look complete and the answers wrong. An unconfirmed relationship the graph check surfaces is a task for the owner; an invented one is a defect nobody finds until a number is challenged.
Before you later change or delete a table, open its Dependents tab, which lists the pinboards, answers and other resources that depend on it.
Step 4: Create the ontology and bind tables and documents
The manual's sequence is four lines: create the ontology with a name and icon; in Data Tables, import the tables you prepared; in Document Center, upload the business documents (metric definitions, business rules, operating procedures); use the agent.
Each ontology has 11 modules: Agent, Ontology Graph, Document Center, Data Tables, Data Explore, Answers, Pinboards, Data Apps, Indicators, Execution and Control Panel. Three matter on day one.
Data Explore runs the same search as Data Search, restricted to the tables bound to this ontology. Type "request amount by department" and you learn two things at once: whether the binding is what you intended, and the correct figure before the agent is asked for it.
Document Center lists each file with type, size, related tables, updated time and status. The agent can search and cite a document only once its status is Completed. The related-tables column records which rule governs which data.
Execution is the module to leave alone for now. Executions are Python scripts that read or write data; the manual warns they actually change data, so save one only after a test run and grant it only to people who need it.
Step 5: Read the graph-quality check like a test report
Ontology Graph renders tables, documents and fields as nodes and relations as edges. Alongside its global and per-business-case views, it runs a graph-quality check that reports nodes and relations, isolated nodes, connected components, unmapped mentions and failed sources. Each line is a test result with a known fix:
| Check result | Likely cause | Action |
|---|---|---|
| Isolated node | A table bound in step 4 with no relationship from step 3 | Add the join in table detail, or unbind the table |
| More than one connected component | Two groups of tables never meet (the supplier case above) | Confirm with the owner whether they belong in one ontology; if yes, obtain the mapping and add the join |
| Unmapped mention | A document names something no table or field represents | Add a synonym, bind the missing table, or correct the document |
| Failed source | A document or table did not process | Fix it first; the agent cannot cite what failed |
After data or documents change, rebuild or refresh the graph. For scale, DataFocus's brief states that its built-in purchase-approval ontology, with nine tables, has a graph of 147 nodes and 228 relationships. If you bound nine tables and see twelve nodes, the fields were not picked up; three components means three ontologies or two missing joins.
Before step 4, Data Governance > Asset Catalog already counts, per data source, the tables with relationships and the isolated ones.
Step 6: Four questions you already know the answer to
The agent needs the administrator-configured model service; the manual says an answer usually takes tens of seconds, longer for complex questions. It works step by step, can be stopped with "Stop task", and shows a Run Summary and "View processing details": the data it queried, the tools it called, the tables the data came from. Bound knowledge bases are read-only evidence sources. Use "Clear Context" between test topics so one turn does not colour the next.
Ask questions whose answers you already hold, so you test the ontology rather than the business:
| # | Question | What it tests | Pass signal |
|---|---|---|---|
| 1 | A total you reproduced in Data Explore (request amount by department this quarter) | Column types, aggregation, binding | Same figure; processing details list the expected tables |
| 2 | A question that needs the dept_cd join | The step 3 relationship | Processing details show both tables; one table means the join is missing or misnamed |
| 3 | A question a rule document answers (what counts as a high-value request) | Document ingest and citation | The cited document is the one you uploaded |
| 4 | A question about data outside the ontology (vendor payment terms, if fin_vendor is not bound) | Scope | The agent states what it lacks; a confident figure here needs investigating |
For question 1, Data Search's result rail has a Query SQL Statement panel showing the SQL that actually ran. Capture it with the figure. When the agent's number differs, you compare SQL to SQL instead of arguing about intent.
Trade-offs and when this is the wrong fit
- Heavy assumes a big-data platform. If your data fits in one analytical engine and you want one domain running quickly, DataFocus positions OT Flash, on a single Apache Doris engine, for that case.
- The manual stops at the UI. It documents the 8.0.9 interface and, in its own words, "does not assert how other versions or a specific deployment behave"; it does not cover Trino, Hive, Iceberg or Hadoop internals, sizing, installation or Iceberg table maintenance. System requirements and supported platforms are in the edition's release notes; plan resources around data volume, concurrency and model requirements.
- External agents come after business users. OT Heavy offers MCP agent access, with dedicated MCP roles and an External Agents tab under Admin; an external agent's write scope is the intersection of the operations allowed on that tab, the OAuth grant, and EDIT access on the resource. Get the ontology right for people first; agents inherit whatever you got wrong.
- Two permission layers, two owners. The read-only account limits what OT Heavy reads from the lakehouse and belongs to the platform team. Who sees which ontology inside OT Heavy is set under Admin > Permission and belongs to the business owner.
Next step
Read chapters 6 (Tables) and 10 (Ontology) of the OT Heavy 8.0.9 user manual with your topic's table list beside you, and the OT Heavy documentation page for its scope notes. Installers and release notes are on the download page and in the DataFocus_OT_Heavy repository.