본문으로 건너뛰기
Skillpedia
데이터베이스14k · #11151

ontology

하는 일

이 스킬은 지식 그래프의 구조를 정의하는 어휘와 규칙인 온톨로지를 관리합니다. 그래프 뒤의 구조를 설계하거나 점검하는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓기존 어휘에 있는 개념 목록을 보고 싶을 때.
  • ✓온톨로지에 모순이나 충족할 수 없는 용어가 있는지 확인하고 싶을 때.
  • ✓텍스트 설명이나 레코드 묶음으로 온톨로지를 만들고 싶을 때.

스킬 링크

https://github.com/semantica-agi/semantica/blob/main/plugins/skills/ontology/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/semantica-agi/semantica/blob/main/plugins/skills/ontology/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 온톨로지에 모순이 있는지 확인하고, 어떤 용어가 문제를 일으키는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 온톨로지를 불러와 일관성과 충족 가능성을 검사하고, 오류와 경고를 보고합니다. 개념을 나열하거나, 텍스트나 레코드로 새 온톨로지를 만들거나, 데이터를 형태(shape) 규칙에 맞춰 확인할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

/semantica:ontology

Manage ontology definitions and validation. Usage: /semantica:ontology <task> [args]

Entry points: OntologyEngine (authoring, export, alignments) and OntologyValidator (consistency checking).


concepts <scheme_uri>

List SKOS concepts in a vocabulary scheme.

from semantica.ontology import OntologyEngine
from semantica.triplet_store import TripletStore

store = TripletStore(backend="oxigraph")   # needs semantica[tripletstore-oxigraph]
engine = OntologyEngine(store=store)       # list_concepts/list_vocabularies need a
                                            # configured store — raises ProcessingError without one
concepts = engine.list_concepts(scheme_uri)
vocabs = engine.list_vocabularies()

validate <ontology>

Check an ontology for consistency and satisfiability.

from semantica.ontology import OntologyValidator

validator = OntologyValidator(check_consistency=True, check_satisfiability=True)
result = validator.validate(ontology)   # dict or path to an ontology file
# result.valid, result.errors, result.warnings

For SHACL shape validation of instance data use SHACLGenerator / SHACLValidationReport:

from semantica.ontology import SHACLGenerator

build <text|data>

Generate an ontology from unstructured text or structured records.

engine = OntologyEngine()
onto = engine.from_text(text)          # LLM-assisted (needs an llm-* extra + API key)
onto = engine.from_data(records)       # deterministic, from structured data

export <ontology> <path> [--format turtle]

engine.export_owl(onto, path, format="turtle")
engine.export_shacl(onto, path, format="turtle")

align <source_uri> <target_uri> <predicate>

engine.create_alignment(source_uri, target_uri, predicate)
engine.get_alignments(entity_uri)
engine.list_alignments()

evaluate <ontology>

Quality-gate an ontology (OntologyEvaluator / OntologyQualityReport under the hood).

report = engine.evaluate(onto)
자주 묻는 질문

온톨로지란 무엇인가요?

데이터에 있는 것의 종류와 그 관계를 설명하는, 형식을 갖춘 용어와 규칙의 집합입니다.

일관성 검사는 무엇을 찾나요?

온톨로지를 믿을 수 없게 만드는 규칙의 모순을 표시합니다.

특별한 저장소가 필요한가요?

일부 목록 작업에는 설정된 트리플 저장소가 필요하며, 없으면 스킬이 그렇다고 알려 줍니다.

상세 정보

작성자의 원본 설명

Manage ontology schemas, concepts, alignments, and SHACL/OWL validation for Semantica knowledge graphs. Uses OntologyEngine and OntologyValidator.

repo: semantica-agi/semantica

인기도

GitHub 스타
14k
순위
#11151
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬