Ontology Service

Updated at:
Copy as MD

Ontology Service in AI-Native Database Service turns business materials into a structured business ontology and serves it as knowledge. You build an ontology and an instance graph from your materials, review the results, and publish them as a fixed version that the service page and agents can query.

Overview

Important

Ontology Service is available only to allowlisted users. To request access, contact Alibaba Cloud technical support.

Ontology Service organizes scattered business materials into structured business knowledge. The ontology definition describes which business objects, attributes, relationships, and identity rules exist. The instance graph stores the specific objects and relationships extracted from your materials. Publishing freezes the reviewed content into a version that the service can use.

Building, review, evaluation, and publishing happen in the Management partition. The Service partition reads only the fixed published version bound to the current session. After you change a draft, check and publish it again before new service sessions can use the new version.

Core concepts

Concept

Description

Ontology and types

Defines what to record, such as business objects like quotations and suppliers, and fields like amount and date.

Instance

A specific record in your materials, such as one quotation, one supplier, or one quotation line item.

Draft

The working version that you review and edit. Writing to the draft does not change the version that the service uses.

Publish

Saves the confirmed ontology and instances as a fixed version for the service. New service sessions use this version, and existing sessions keep their original version.

Workspace

An independent unit that organizes materials and build results. Sessions in the same workspace share materials and build results.

Knowledge space

The smallest unit for developing, managing, and maintaining an ontology. When you create a workspace, the system automatically creates a default knowledge space. You can also create multiple knowledge spaces for different scenarios. Uploading materials, building the ontology, review, and publishing all happen within a knowledge space.

Access Ontology Service

  1. Log on to the AI-Native Database Service console.

  2. Click the platform navigation icon in the upper-left corner, and then click Ontology Service in the panel that appears.

  3. The first time you use the service, click Activate Now. In the Activate Ontology Instance dialog box, enter an Instance Name, select an Availability Zone, and then click Create Now.

  4. Wait until the instance state changes from Starting to Running.

  5. Click Open Console to go to the Ontology Service workbench.

  6. The first time you enter the workbench, click Create Workspace, enter a Workspace Name and Workspace Description, and then click Save. The system automatically creates a default knowledge space for the workspace.

Note

To access Ontology Service over the Internet, select Public Access on the instance card. When you no longer need the instance, click Stop.

Management and Service partitions

Switch between the Management and Service partitions in the middle of the top bar. Each time you open or refresh the page, the Management partition opens by default.

  • Management: building, review, evaluation, publishing, and automatic maintenance. Edit the ontology, update materials, and confirm business definitions in this partition. The left-side navigation pane contains Materials and Tasks, Database Sync, Review Workbench, Ontology Editor, Ontology Instances, Policy Objects, Evaluation Management, Version Publishing, Automatic Maintenance, Sessions, and Settings.

  • Service: read-only access to the fixed published version bound to the current session. Ask questions, browse concepts and entities, view capabilities, and export or integrate interfaces. The left-side navigation pane contains Ontology Browsing, Real-time Query, Capability Browsing, API Service, Scenario Market, Sessions, and Settings. New service sessions use the newly published version, and existing sessions keep their original version.

Two usage paths

Ontology Service serves two audiences. Choose the reading path that matches your role:

Role

Goal

Reading path

Business expert

Build the ontology: build a graph from business materials, review and publish a version, and keep it synchronized and maintained.

Read Build and publish an ontology graph first, and then Configure automatic maintenance.

Business team

Use published knowledge: query and browse on the web page or in your own agent.

To ask questions and browse on the web page, read Use Ontology Service on the service page. To query from your own agent, read Install and use the ontology knowledge Skill in an Agent.

Workflow overview

Building path: create a workspace and a knowledge space → upload materials → build the ontology → answer pending questions in the review workbench → build ontology instances → build an evaluation set (optional) → check the publishing conditions and publish a version → browse and ask questions on the service side. The onboarding guide in the workbench tracks your progress across these five steps.

Automatic maintenance path: a connector synchronizes materials → generate the ontology → confirm manually → write to the draft → publish. The system handles the first two steps. You handle business review, write confirmation, and publish confirmation.

How Ontology Service works with other services

Ontology Service works with Meta Agent, DataWiki, and Agent Data Gateway to combine data semantics with document knowledge. Together they give agents knowledge that can be queried, asked about, fed back on, and accessed under control.

  • DataWiki builds and manages document knowledge. For more information, see DataWiki Overview.

  • Meta Agent manages data assets. For more information, see Meta Agent.

Related topics