universal-ontology-definition

agent
Guvenlik Denetimi
Uyari
Health Uyari
  • License รขโ‚ฌโ€ License: Apache-2.0
  • Description รขโ‚ฌโ€ Repository has a description
  • Active repo รขโ‚ฌโ€ Last push 0 days ago
  • Low visibility รขโ‚ฌโ€ Only 5 GitHub stars
Code Gecti
  • Code scan รขโ‚ฌโ€ Scanned 12 files during light audit, no dangerous patterns found
Permissions Gecti
  • Permissions รขโ‚ฌโ€ No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

๐ŸŒ An open, standardized four-layer enterprise ontology framework for knowledge graphs, semantic layers, master data management, and AI Agent knowledge bases.

README.md

๐ŸŒ Universal Ontology Definition

An Open, Standardized Four-Layer Enterprise Ontology Framework

Anti-entropy by design โ€” structured, governed, and built to scale.

License
Version
PRs Welcome

ไธญๆ–‡ | 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

  1. Copy extensions/_template/ as your starting point.
  2. Follow the Extension Development Guide.
  3. Validate against schema/extension_schema.json.
  4. 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 v1.1.0
Luxury Goods extensions/luxury-goods/ 38 14 v2.0.0

๐ŸŒŸ 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) v1.0.0
JSON-LD platform/json-ld/ Context (.jsonld) v1.0.0
GraphQL platform/graphql/ Schema (.graphql) v1.0.0
SQL DDL platform/sql/ PG DDL (.sql) v1.0.0

๐ŸŒŸ 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:


If this project helps you, please give it a โญ Star!

Yorumlar (0)

Sonuc bulunamadi