본문으로 건너뛰기
cccskills
무료GitHub에 공개

catcolab-ologs

CatColab Ologs (Ontology Logs) - category-theoretic knowledge representation where objects are concepts and morphisms are functional relationships. Foundation for database schemas and conceptual modeling.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(3)

  • SKILL.md5.3 KB
  • CONCOMITANT_SKILLS.md2.5 KB
  • NEIGHBOR_SKILLS.md3.0 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

CatColab Ologs: Ontology Logs

Trit: -1 (MINUS - validator/verifier) Color: Cyan (#00CED1)

Overview

Ologs (Ontology Logs) are category-theoretic representations of knowledge domains, introduced by Spivak and Kent (2011). In CatColab, ologs serve as:

  • Conceptual Foundations: Objects = concepts/types, Morphisms = functional relations
  • Database Ontologies: The schema layer before populating with data
  • Knowledge Graphs: Categorical structure for reasoning about domains

Mathematical Foundation

An olog is a category where:

  • Objects represent types or concepts (e.g., "a person", "a company")
  • Morphisms represent functional relationships (e.g., "works for", "has birthday")
  • Commutative diagrams encode logical constraints
┌─────────────────────────────────────────────────────┐
│                     OLOG                             │
├─────────────────────────────────────────────────────┤
│  Objects:                                            │
│    Person, Company, Date, Department                 │
│                                                      │
│  Morphisms (functional):                             │
│    works_for: Person → Company                       │
│    has_birthday: Person → Date                       │
│    employs: Company → Department                     │
│                                                      │
│  Commutative Diagram (constraint):                   │
│    Person ──works_for──► Company                     │
│      │                     │                         │
│   in_dept              employs                       │
│      ▼                     ▼                         │
│    Dept ════════════════► Dept                       │
│           (must agree)                               │
└─────────────────────────────────────────────────────┘

CatColab Implementation

Object Declaration

// In CatColab notebook
{
  "type": "ObDecl",
  "name": "Person",
  "description": "a person in the organization"
}

Morphism Declaration

{
  "type": "MorDecl",
  "name": "works_for",
  "dom": "Person",
  "cod": "Company",
  "description": "the company that employs this person"
}

Equation (Commutative Diagram)

{
  "type": "EqDecl",
  "lhs": "Person.in_dept",
  "rhs": "Person.works_for.employs",
  "description": "a person's department agrees with their company's structure"
}

Double Theory

Ologs in CatColab are instances of the SimpleCategory double theory:

// From catlog
pub fn th_category() -> DiscreteDblTheory {
    let mut cat = FpCategory::new();
    cat.add_ob_generator(name("Ob"));
    cat.add_mor_generator(name("Hom"), name("Ob"), name("Ob"));
    // Composition and identity axioms
    cat.into()
}

Practical Examples

Example 1: Academic Institution

Objects: Professor, Student, Course, Department, University

Morphisms:
  teaches: Professor → Course
  enrolled: Student → Course
  member_of: Professor → Department
  part_of: Department → University

Diagram (functorial):
  Professor ──teaches──► Course
      │                    │
  member_of            offered_by
      ▼                    ▼
  Department ◄──────────── Department

Example 2: Supply Chain

Objects: Supplier, Warehouse, Product, Customer

Morphisms:
  supplies: Supplier → Product
  stores: Warehouse → Product
  orders: Customer → Product
  ships_from: Product → Warehouse

Integration with Schemas

Ologs upgrade to Schemas by distinguishing:

  • Entities (tables with identity)
  • Attributes (columns/properties)
OLOG:                           SCHEMA:
  Person ──name──► String   →     Person (Entity)
                                    ├── id: UUID
                                    └── name: String (Attr)

GF(3) Triads

catcolab-ologs (-1) ⊗ topos-catcolab (0) ⊗ catcolab-schemas (+1) = 0 ✓
catcolab-ologs (-1) ⊗ acsets-relational-thinking (0) ⊗ database-design (+1) = 0 ✓

Commands

# Create new olog
just catcolab-new category "my-ontology"

# Validate olog constraints
just catcolab-validate my-ontology

# Export to JSON-LD
just catcolab-export my-ontology --format=jsonld

References


Skill Name: catcolab-ologs Type: Knowledge Representation / Ontology Trit: -1 (MINUS) GF(3): Conserved via triadic composition

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Model ElevenLabs voice synthesis as an ACSet schema with Unison ability handlers for typed voice operations. Use when integrating ElevenLabs TTS into category-theoretic pipelines, building typed voice synthesis workflows, or managing multi-voice narration with GF(3) conservation.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

Systematic process for analyzing and modernizing legacy applications to comply with the 12-Factor App methodology. Covers code analysis, configuration externalization, dependency management, and container/Kubernetes best practices.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

13c0e3

무료

Gay MCP skill at invocation 26

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

19d57d

무료

Gay MCP skill at invocation 5

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1ea91a

무료

Gay MCP skill at invocation 27

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

1eab21

무료

Gay MCP skill at invocation 3

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

plurigrid/asi702026년 7월 10일 업데이트

plurigrid의 스킬 모두 보기

이 스킬의 문제 신고