universal-ontology-definition
Health Warn
- License รขโฌโ License: Apache-2.0
- Description รขโฌโ Repository has a description
- Active repo รขโฌโ Last push 0 days ago
- Low visibility รขโฌโ Only 5 GitHub stars
Code Pass
- Code scan รขโฌโ Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions รขโฌโ No dangerous permissions requested
No AI report is available for this listing yet.
๐ An open, standardized four-layer enterprise ontology framework for knowledge graphs, semantic layers, master data management, and AI Agent knowledge bases.
๐ Universal Ontology Definition
An Open, Standardized Four-Layer Enterprise Ontology Framework
Anti-entropy by design โ structured, governed, and built to scale.
ไธญๆ | English
๐ What is Universal Ontology Definition?
Universal Ontology Definition (UOD) is an open, standardized four-layer enterprise ontology framework designed to provide a unified conceptual modeling foundation for enterprise knowledge graphs, semantic layers, master data management, and AI Agent knowledge bases.
๐ด The Problem
Enterprise digitalization commonly faces:
- Inconsistent concept definitions โ Different teams use different terms for the same objects, making cross-system reuse difficult.
- Industry knowledge silos โ Industry-specific knowledge is scattered with no standardized extension mechanism.
- Customization vs. standardization conflicts โ Enterprise-specific needs continuously erode the underlying structure.
- Platform lock-in โ Ontology definitions tied to a single serialization format, limiting interoperability.
๐ข The Solution: Four-Layer Architecture
flowchart TD
classDef layer3 fill:#f8f9fa,stroke:#dee2e6,stroke-width:2px,stroke-dasharray: 5 5,color:#495057
classDef layer2 fill:#e9ecef,stroke:#ced4da,stroke-width:2px,color:#495057
classDef layer1 fill:#e0f3ff,stroke:#0d6efd,stroke-width:2px,color:#0a58ca,font-weight:bold
classDef layer0 fill:#f8f9fa,stroke:#dee2e6,stroke-width:2px,color:#6c757d
classDef label fill:none,stroke:none,color:#6c757d,font-size:12px
L3["<b>L3: Enterprise Customization Layer</b><br/><span style='font-size:13px'>Company A | Company B | Company C</span>"]:::layer3
L2["<b>L2: Industry & Domain Extensions</b><br/><span style='font-size:13px'>Common | Consulting | Luxury | Finance | Manufacturing</span>"]:::layer2
L1["<b>L1: Universal Enterprise Ontology Core (v2.0)</b><br/>Entity ๐ธ Governance ๐ธ Operational ๐ธ Measurement"]:::layer1
L0["<b>L0: Platform & Syntax Bindings</b><br/><span style='font-size:13px'>OWL/RDF | JSON-LD | GraphQL | SQL DDL</span>"]:::layer0
L3 -. "Private extensions (Optional)" .-> L2
L3 -. "Mandatory inheritance" .-> L1
L2 -- "Pluggable domain models" --> L1
L1 == "Binds to" ==> L0
โจ Key Features
- ๐๏ธ Four-Layer Separation โ Stable semantic core, pluggable Industry and Domain Extension, free enterprise customization, and multi-platform bindings.
- ๐ก๏ธ Anti-Entropy by Design โ 4 abstract domain roots, hard class caps, governance rules, and CI validation prevent ontology sprawl.
- ๐ Standardized Definition Format โ Unified JSON Schema with lifecycle management (
status,since,deprecated_since). - ๐ Inheritance & Extension โ L2 extends L1, L3 extends L1+L2, with generalized domain/range relations.
- โ๏ธ Platform Bindings โ L0 provides ready-to-use OWL/RDF, JSON-LD, GraphQL, and SQL mappings.
- ๐ Bilingual Support โ All concepts include Chinese and English labels and definitions.
- ๐ค Community-Driven โ Anyone can contribute Industry and Domain Extensions, platform bindings, or improve core definitions.
๐ Repository Structure
.
โโโ core/ # L1 Universal Enterprise Ontology Core
โ โโโ universal_ontology_v1.json
โโโ extensions/ # L2 Industry & Domain Extensions
โ โโโ consulting/ # โโโ Consulting Industry Extension
โ โโโ luxury-goods/ # โโโ Luxury Goods Industry Extension
โ โโโ _template/ # โโโ Extension Contribution Template
โโโ enterprise/ # L3 Enterprise Example
โ โโโ acme-tech-solutions/ # โโโ Sample Virtual Enterprise
โ โโโ _template/ # โโโ Enterprise Layer Template
โ โโโ README.md
โโโ platform/ # L0 Platform & Syntax Bindings
โ โโโ owl-rdf/ # โโโ OWL 2 / RDF Turtle Serialization
โ โโโ json-ld/ # โโโ JSON-LD Context Definition
โ โโโ graphql/ # โโโ GraphQL Schema Definition
โ โโโ sql/ # โโโ PostgreSQL DDL Mapping
โ โโโ _template/ # โโโ Platform Binding Template
โโโ scripts/ # CI & Governance Automation
โ โโโ validate_governance.py # โโโ L1 Governance Rule Validator
โ โโโ json_to_owl.py # โโโ JSON โ OWL/RDF Turtle Converter
โโโ docs-site/ # MkDocs Documentation Site Source
โโโ schema/ # JSON Schema Validation
โโโ core_schema.json
โโโ extension_schema.json
๐ Quick Start
1๏ธโฃ Understanding Core Ontology
L1 v2.0 defines 24 classes (4 abstract domains + 20 concrete) and 12 generalized relations, organized into 4 semantic domains:
| Domain | Semantic Focus | Classes |
|---|---|---|
| ๐ฆ Entity | Physical & logical entities | Party, Person, Organization, OrgUnit, Resource, ProductService, Asset, DataObject, Document, SystemApplication |
| ๐จ Governance | Control & compliance | Policy, Rule, Control, Risk |
| ๐ฉ Operational | Execution & capabilities | Role, Capability, Process, Event |
| ๐ช Measurement | Outcomes & metrics | Goal, KPI |
2๏ธโฃ Using Platform Bindings (L0)
Choose the binding that matches your technology stack:
| Platform | Use Case | Directory |
|---|---|---|
| OWL/RDF | Knowledge graphs, SPARQL queries | platform/owl-rdf/ |
| JSON-LD | REST APIs, Linked Data | platform/json-ld/ |
| GraphQL | Modern API layers, Frontend | platform/graphql/ |
| SQL DDL | Relational DBs, Data warehouses | platform/sql/ |
3๏ธโฃ Using Industry & Domain Extensions
Browse the extensions/ directory and select the appropriate industry package. Each extension declares its parent through the extends field:
{
"layer": "L2_consulting_industry_extension",
"version": "1.0.0",
"extends": "L1_universal_organization_ontology",
"classes": [
{
"id": "ConsultingFirm",
"label_zh": "ๅจ่ฏขๅ
ฌๅธ",
"parent": "Organization",
"definition": "An enterprise entity providing professional consulting services"
}
]
}
4๏ธโฃ Contributing a New Extension
- Copy
extensions/_template/as your starting point. - Follow the Extension Development Guide.
- Validate against
schema/extension_schema.json. - Submit a Pull Request! (See CONTRIBUTING.md)
๐ Full Ontology Creation & Update Guide
For a comprehensive, step-by-step guide on creating or updating ontologies at any layer (L2/L3), including inheritance, validation, format conversion, and version management, see README_CN.md โ Ontology ๅๅปบไธๆดๆฐๅฎๆดๆๅ.
๐ก Pro Tip: A working L3 sample is available at
enterprise/acme-tech-solutions/โ a fictional technology consulting company demonstrating the full workflow.
๐๏ธ Available Industry & Domain Extensions
| Industry | Directory | Classes | Relations | Status |
|---|---|---|---|---|
| Consulting | extensions/consulting/ |
40+ | 34 | |
| Luxury Goods | extensions/luxury-goods/ |
38 | 14 |
๐ We're looking for community contributions! Finance, Manufacturing, Retail, Healthcare, Education, and more.
โ๏ธ Available Platform Bindings
| Platform | Directory | Format | Status |
|---|---|---|---|
| OWL/RDF | platform/owl-rdf/ |
Turtle (.ttl) |
|
| JSON-LD | platform/json-ld/ |
Context (.jsonld) |
|
| GraphQL | platform/graphql/ |
Schema (.graphql) |
|
| SQL DDL | platform/sql/ |
PG DDL (.sql) |
๐ Want more? Protobuf, Avro, Neo4j Cypher, and more are welcome contributions!
๐ค Contributing
We welcome all contributions! Please read CONTRIBUTING.md to learn about:
- Proposing changes to the Core Ontology
- Submitting new Industry & Domain Extensions
- Contributing new Platform Bindings
- Coding standards and PR workflow
๐ License & Acknowledgments
License
This project is licensed under the Apache License 2.0. You are free to:
- โ Use commercially
- โ Modify and distribute
- โ Build private L3 enterprise layers on top
Acknowledgments
The ontology design draws inspiration from:
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found