The value of ontology in the UOSE system is not to write business concepts into a static vocabulary. It is to express objects, relationships, attributes, constraints, and actions in enterprise systems as computable, verifiable, and governable semantic contracts. It changes the objects of agent reasoning from natural language fragments into stable business objects.Documentation Index
Fetch the complete documentation index at: https://docs.xpertai.cn/llms.txt
Use this file to discover all available pages before exploring further.
Entities
An entity is an object in the business world that can be identified, referenced, and operated on. It can be a customer, an order, a metric, a semantic model, a database table, or a concept node in a knowledge graph. In UOSE, an entity must have:- Stable identifiers, such as external keys, internal entity IDs, and ontology IDs.
- Type ownership, such as
semantic_indicatorordatabase_table. - Readable names for search, display, and agent explanation.
- Attribute sets used to describe object state, fields, granularity, evidence, and runtime context.
Relationships
Relationships express structural links between entities. They can represent containment, reference, navigation, dependency, derivation, or evidence association. Typical relationships include:- A semantic model contains Cubes:
semantic_model_has_cube. - A Cube contains metrics, measures, and dimensions.
- A SAP OData Entity Set points to an Entity Type.
- A database table contains columns, constraints, and indexes.
- A knowledge base contains knowledge entities, and GraphRAG relationships exist between knowledge entities.
Attributes
Attributes are structured descriptions on entities and relationships. They can carry both business information and runtime information. In UOSE, common uses of attributes include:- Describing resource objects: name, status, version, and updated time.
- Describing execution context:
analysis_contract,query_capabilities, andkey_schema. - Describing graph evidence: aliases, sources, confidence, and mention samples.
- Describing security boundaries: whether writes are allowed, whether CSRF is supported, and whether sync was truncated.
Constraints
Constraints define how objects can be used legally. They answer “can this be done”, “what conditions are required”, and “which inputs are invalid”. Constraints include:- Type constraints: actions can only apply to specified entity types.
- Parameter constraints: action inputs must satisfy schemas.
- Business constraints: whether write actions require approval or idempotency keys.
- Runtime constraints: maximum query rows, maximum synced objects, and allowed service allowlists.
- Permission constraints: policy bindings decide
allow,deny, orrequire_approval.
Reasoning and Validation
UOSE uses the ontology graph to help Agents perform explainable reasoning, but final execution does not rely on the Agent proving itself correct. The system adds a second gate through these mechanisms:- Ontology snapshots store resource semantic facts.
- RDF or local projections support entity retrieval, neighborhood queries, and schema queries.
- Action manifests define action contracts and risk levels.
simulateActionvalidates target, parameters, policy, and runtime readiness before execution.- Audit records store inputs, outputs, policy decisions, and evidence references.