ontology-validator

Validate TTL ontologies with OWL reasoning, SHACL, CQ tests, and ROBOT reports.

68|13|Updated Aug 9, 2025
One-click install
npx skills add https://github.com/kriegcloud/beep-effect --skill ontology-validator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ontology-validator
Source: https://github.com/kriegcloud/beep-effect/tree/main/.repos/ontology-skill/.claude/skills/ontology-validator
Command: npx skills add https://github.com/kriegcloud/beep-effect --skill ontology-validator

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires robotframework, pyshacl, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the critical need for robust validation of ontologies, ensuring logical consistency, structural integrity, and adherence to quality standards before deployment or integration.

Core Features & Use Cases

  • Comprehensive Validation: Executes logical reasoning (OWL), structural validation (SHACL), query-based tests (CQ), and quality reports (ROBOT).
  • Quality Assurance: Computes key metrics like label and definition coverage, identifies unsatisfiable classes, and checks for orphan classes.
  • Change Management: Generates diff reports to highlight changes between ontology versions, crucial for tracking modifications in pull requests or releases.
  • Use Case: Before merging a new set of axioms into the main ontology, use this Skill to automatically run all validation checks, ensuring no logical contradictions or structural violations are introduced.

Quick Start

Use the ontology-validator skill to check the quality of the ontology file 'ontology.ttl'.

Frequently Asked Questions about ontology-validator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I validate an ontology for logical consistency and structural integrity?

Ontology validation checks TTL files for logical consistency and structural integrity using OWL reasoners, SHACL, and ROBOT. It computes metrics, identifies unsatisfiable classes, and detects anti-patterns to ensure quality standards before deployment.

What does SHACL validation check for in an OWL ontology?

SHACL validation in an OWL ontology verifies structural integrity and adherence to quality standards. It checks for orphan classes, computes label and definition coverage metrics, and ensures no structural violations are introduced.

Can I generate a diff report between two ontology versions in TTL format?

Yes, ontology validation generates diff reports between TTL ontology versions. It highlights modifications, making it crucial for tracking changes in pull requests or releases before merging new axioms into the main ontology.

Does ontology validation work with ROBOT quality reports and SPARQL queries?

Yes, ontology validation uses ROBOT for quality reports and SPARQL for query-based competency test (CQ) validation. It combines these with OWL reasoners and SHACL to comprehensively validate ontologies in TTL format.

Do I need pyshacl and robotframework to run ontology validation checks?

Yes, pyshacl and robotframework are required dependencies for ontology validation. Pyshacl executes SHACL structural validation while robotframework supports automated quality assurance testing workflows.