ontology
What it does
This skill manages the ontology, which is the vocabulary and rules that define how a knowledge graph is structured. It is for people designing or checking the structure behind their graph.
When to use it
- ✓When you want to list the concepts in an existing vocabulary.
- ✓When you want to check an ontology for contradictions or terms that cannot be satisfied.
- ✓When you want to create an ontology from a text description or a set of records.
Skill link
https://github.com/semantica-agi/semantica/blob/main/plugins/skills/ontology/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you check my ontology for contradictions and tell me which terms cause problems?”
5 new skills a week. 1 minute to read.
How it works
The agent loads the ontology, checks it for consistency and satisfiability, and reports errors and warnings. It can also list concepts, build a new ontology from text or records, and check instance data against shape rules.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
/semantica:ontology
Manage ontology definitions and validation. Usage: /semantica:ontology <task> [args]
Entry points:
OntologyEngine(authoring, export, alignments) andOntologyValidator(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)
FAQ
What is an ontology?
It is a formal set of terms and rules describing the kinds of things in your data and how they relate.
What does a consistency check find?
It flags contradictions in the rules that would make the ontology unreliable.
Does it need a special store?
Some listing tasks need a configured triple store, and the skill says so if one is missing.
Details
Original description by the author
Manage ontology schemas, concepts, alignments, and SHACL/OWL validation for Semantica knowledge graphs. Uses OntologyEngine and OntologyValidator.
repo: semantica-agi/semantica
Popularity
- GitHub stars
- 14k
- Ranking position
- #11151
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
semantica
14kGives your agent a full toolkit for knowledge graphs, covering extraction, reasoning, provenance, ontologies, policies and exports.
causal
14kHelps your agent trace cause-and-effect links in a knowledge graph, including chains of causes, what-if scenarios and influence scores.
change
14kShows your agent how a knowledge graph looked at an earlier date, and what changed between two dates or two ontology versions.
decision
14kHelps your agent record, search, explain and review decisions in a knowledge graph, from the first note through to its outcome.
Similar skills
discrawl
394kLets your agent search and summarize a saved local archive of Discord messages, check how fresh it is, and read direct messages.
clickhouse-io
280kHelps your agent optimize queries and schemas in ClickHouse databases. It applies best practices for high-performance analytical workloads. Use when analytical queries are too slow.
scientific-db-pubmed-database
280kHelps your agent search for scientific articles in the biomedical field. It's useful for research needing specific medical information.