graph
SKILL.md
Graph: Extraction, Analysis & Categorical Compression
Systematic extraction and analysis of entities, relationships, and ontological structures from unstructured text—enhanced with categorical metagraph compression enabling scale-invariant representation through structural equivalence, k-bisimulation summarization, and quotient constructions that preserve query-answering capabilities while achieving dramatic size reductions.
Quick Start
Basic Extraction
- Load schema: Read
/mnt/skills/user/knowledge-graph/schemas/core_ontology.mdfor entity/relationship types - Extract entities and relationships using the schema as a guide
- Format as JSON following
/mnt/skills/user/knowledge-graph/templates/extraction_template.md - Validate: Run validation script on extracted graph
Compression Workflow
# 1. Extract → validate → analyze topology
python scripts/validate_graph.py graph.json
python scripts/analyze_graph.py graph.json --topology