Agent Skills
› semantica-agi/semantica
› ontology
ontology
GitHub用于管理语义网本体的定义、验证及概念描述。支持查看本体概念的详细属性与关系,以及基于本体模式对知识图谱或Schema进行合规性校验并生成修正建议。
Trigger Scenarios
需要查询本体概念详情时
需要验证知识图谱或Schema是否符合本体定义时
Install
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.
Version History
- 9094f1e Current 2026-07-05 09:26


