Ontology
DevelopmentontologyOntology is an Agent Skill for development published in the semantica-agi/semantica repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Manage ontology schemas, concepts, relationships, and alignments for Semantica knowledge graphs.
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Inspect the Agent Skill at https://github.com/semantica-agi/semantica/blob/HEAD/plugins/skills/ontology/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ontology, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
/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.