What problem does it solve?
This skill helps data teams manage and consolidate ontology data within a Neo4j staging database, enabling safe isolation and easier transition to production schemas.
Core Features & Use Cases
- Staging Data: copy classes and relationships to the staging database using staging_materialized_schema, with an optional setting flatten_inheritance=True to propagate ancestors.
- Consolidating Inheritance: flatten the hierarchy with consolidate_inheritance after staging to ensure each class is self-descriptive.
- Structural Consolidation: convert complex classes into simpler rdfs__Datatype nodes via consolidate_staging_db, with automatic de-duplication of URIs, labels, and relationships.
- Best Practices: Isolation, consistency, and integrity to maintain clean staging environments for production use.
Quick Start
Move your ontology into stagingdb by running staging_materialized_schema to copy classes and relationships, with optional flatten_inheritance to propagate ancestors.