How arthursrz/knowledge_glossary works
1. Repository type and purpose
- This is not an application codebase; it is a knowledge graph vault built in Markdown, centered on data science, machine learning, and AI concepts.
- The repository’s main asset is the graph/ directory, which contains the graph nodes as human-readable notes.
2. Primary storage layer: one concept per file
- Each concept is represented by a single Markdown file such as graph/AI.md, graph/Knowledge graph.md, or graph/Retrieval Augmented Generation.md.
- File names act as canonical node identifiers in the graph.
3. Node structure
- A node usually contains:
- YAML frontmatter for structured metadata
- A prose definition/description
- Wiki-links like [[Ontology]] or [[Taxonomy]] that create cross-links between concepts
- The README shows typed relationships such as uses, partOf, subclass of, and studied in.
4. Relationship model
- The graph is typed, not just a pile of backlinks.
- Relationship types encode semantics: hierarchy, composition, usage, study context, and similar ontology-style links.
- This makes the repository suitable as a lightweight domain ontology rather than only a note collection.
5. Graph topology
- The content spans multiple connected domains:
- ML concepts: training, evaluation, feature engineering, model selection
- Data engineering: pipelines, lineage, quality, warehousing
- NLP/LLM topics: embeddings, transformers, RAG, prompt engineering
- MLOps: deployment, monitoring, drift, retraining
- Privacy/compliance and knowledge representation
- The repository is therefore a semantic network of concepts, not a single linear document set.
6. Primary interaction surface
- The vault is designed for Obsidian, which provides graph navigation and wiki-link rendering.
- In practice, Obsidian is the main UI for reading, traversing, and editing the knowledge graph.
7. Derived analytics and stats
- The scripts/count_richness.py script suggests a small analytics pipeline for measuring graph “richness” or content growth.
- stats/data.json stores generated statistics, and stats/chart.png is the visual output shown in the README.
- This separates raw knowledge content from derived metrics.
8. Automation
- .github/workflows/daily-stats.yml indicates GitHub Actions is used to run the stats update on a schedule.
- The repo therefore has a lightweight CI-like automation path for keeping the chart and metrics current.
9. Output and presentation boundary
- media/ likely holds embedded visual assets used by notes or documentation.
- The README is the only top-level narrative document and explains the intended uses and graph conventions.
10. External export targets
- The repository is explicitly positioned for conversion into more formal graph systems:
- Neo4j via Cypher
- RDF/OWL
- JSON-LD
- That means the Markdown vault is the source of truth, and other graph formats are downstream projections.
11. Main architectural boundary
- The core boundary is between:
- authoring layer: Markdown notes + frontmatter in graph/
- derived layer: stats, charting, and potential formal graph exports
- Nothing here suggests runtime services, APIs, or application state; the system is content-centric.
12. How to diagram it
- The cleanest architecture diagram would show:
- graph/ as the central knowledge store
- wiki-links and frontmatter as the relationship fabric
- Obsidian as the primary editor/viewer
- scripts/ and GitHub Actions as the metrics automation path
- stats/ as generated artifacts
- optional downstream consumers like Neo4j/RDF/LLM grounding systems
Main entry points: Knowledge graph.md Knowledge graph · graph Graph vault · README.md README · daily-stats.yml Scheduled workflow
Components 16
Authoring layer
Markdown knowledge notes and linking conventions
- README · Top-level narrative and conventions for the vault.
README.md - Graph vault · Canonical concept notes stored one idea per file.
graph - Typed links · Wiki-links and semantic relations such as uses, partOf, subclass of, and studied in.
- Ontology · The conceptual structure that organizes terms, types, and relationships.
graph/ontology.md - Knowledge graph · The repository's central representation of connected concepts.
graph/Knowledge graph.md - ML concepts · Training, evaluation, model selection, feature engineering, and related machine learning ideas.
- LLM & RAG · Embeddings, transformers, prompt engineering, retrieval augmented generation, and related NLP topics.
graph/Retrieval Augmented Generation.md - Data engineering · Data pipelines, lineage, quality, warehousing, and preparation concepts.
- MLOps · Deployment, monitoring, drift, retraining, and operational model lifecycle concepts.
- Privacy & governance · Privacy, compliance, fairness, accountability, and governance concepts.
Derived layer
Generated metrics and automation outputs
- Stats script · Counts content richness and supports repository metrics generation.
scripts/count_richness.py - Scheduled workflow · GitHub Actions job that runs the daily stats update.
.github/workflows/daily-stats.yml - Stats data · Machine-generated metrics stored as JSON.
stats/data.json - Media assets · Visual or embedded files referenced by notes and documentation.
media
External consumers
Downstream graph systems and reading/editing surfaces
- Obsidian · Primary surface for navigating, editing, and visualizing the vault.
- Graph exports · Formal graph projections such as Neo4j/Cypher, RDF/OWL, and JSON-LD.
graph/CYPHER.md
Connections 18
- README → Graph vault: describes · Explains the note corpus and how it is organized.
- README → Obsidian: uses · Positions Obsidian as the main interaction surface.
- Graph vault → Typed links: expresses · Notes encode relationships through wiki-links and frontmatter.
- Graph vault → Ontology: organizes · The corpus functions as a lightweight ontology.
- Graph vault → Knowledge graph: contains · The repository's main content is the concept graph itself.
- Ontology → Knowledge graph: shapes · Ontology concepts define the graph's structure and semantics.
- Knowledge graph → ML concepts: includes · Covers classic machine learning concepts and workflows.
- Knowledge graph → LLM & RAG: includes · Covers LLM, embedding, and retrieval concepts.
- Knowledge graph → Data engineering: includes · Covers data preparation, lineage, and warehousing concepts.
- Knowledge graph → MLOps: includes · Covers deployment, monitoring, and retraining concepts.
- Knowledge graph → Privacy & governance: includes · Covers privacy, fairness, accountability, and compliance.
- Knowledge graph → Obsidian: edited in · Obsidian is the intended authoring and browsing environment.
- Graph exports → Knowledge graph: projects · Downstream formal graph systems consume the vault as source material.
- Stats script → Stats data: generates · Script computes or refreshes the richness metrics artifact.
- Scheduled workflow → Stats script: runs · Scheduled automation executes the stats pipeline.
- Scheduled workflow → Stats data: updates · Workflow refreshes generated metrics on a schedule.
- Media assets → README: supports · Embedded assets can be referenced from documentation and notes.
- Typed links → Obsidian: rendered by · Wiki-link semantics are surfaced through Obsidian navigation.