Agent Skills
› semantica-agi/semantica
› ontology
ontology
GitHub管理 Semantica 知识图谱的本体模式、概念、关系和对齐。支持描述本体概念详情及验证图或模式是否符合本体定义,提供错误纠正建议。
触发场景
查询本体概念详细信息
验证知识图谱或Schema文件与本体的合规性
安装
npx skills add semantica-agi/semantica --skill ontology -g -y
SKILL.md
Frontmatter
{
"name": "ontology",
"description": "Manage ontology schemas, concepts, relationships, and alignments for Semantica knowledge graphs."
}
/semantica:ontology
Manage ontology definitions and validation. Usage: /semantica:ontology <task> [args]
$ARGUMENTS = task + optional ontology item or schema file.
describe <concept>
Show ontology concept details.
from semantica.ontology import OntologyManager
manager = OntologyManager()
concept = manager.get_concept(concept_name)
Output: properties, relationships, inherited types, and examples.
validate [--schema <file>]
Validate the graph or schema against the ontology.
result = manager.validate_graph(graph=graph, schema_file=schema_file)
Return: validation status, errors, and correction suggestions.
版本历史
- 9094f1e 当前 2026-07-05 09:26


