Ontology

Manage ontology schemas, concepts, relationships, and alignments for Semantica knowledge graphs.

Hawksight-AI Updated

File contents

/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.

Hawksight-AI/semantica/tree/main/plugins/skills/ontology commit 4702d13723

Frequently asked questions

npx skillmds@latest add hawksight-ai/ontology