What problem does it solve?
Safe, in-place enrichment and maintenance of existing ontology files with upfront OWL2 validation. This Skill ensures modifications are consistent, citations are collected, and broken references are fixed without compromising data integrity.
Core Features & Use Cases
- OWL2 validation before any modification to prevent invalid ontologies
- Perplexity API-based content enrichment with UK English focus and citation extraction
- Link validation and automatic rollback on failures to preserve ontology integrity
- Batch enrichment with rate limiting for large knowledge graphs
- Immutable, core-backed modifications via ontology-core to preserve all fields
Quick Start
Validate an ontology file: python -m ontology_enrich.validate --file mainKnowledgeGraph/pages/AI_Agent.md
Enrich a field (e.g., definition): python -m ontology_enrich.enrich --file mainKnowledgeGraph/pages/AI_Agent.md --field definition --api-key $PERPLEXITY_API_KEY
Fix broken links: python -m ontology_enrich.fix_links --file mainKnowledgeGraph/pages/AI_Agent.md --auto-fix