Human Knowledge Markdown (HKM) is a practical approach to knowledge management that seamlessly integrates freeform notes with powerful knowledge structuring capabilities. It extends beyond simple metadata fields to incorporate capabilities typically found in formal knowledge management systems, but in a more flexible and intuitive manner.
HKM enhances traditional note-taking by allowing for a spectrum of structured information, from simple metadata fields to complex semantic relationships, enabling more effective organization, retrieval, and analysis of knowledge. Moreover, its design allows AI models to directly interpret and leverage the underlying knowledge structure, facilitating deeper understanding and more sophisticated processing of the notes' content.
-
Unified Knowledge Representation: HKM bridges multiple knowledge paradigms, including:
- Unstructured text (Markdown)
- Structured data (YAML)
- Knowledge graphs
- Topic maps
- Formal ontologies
-
Flexible Knowledge Modeling: Embraces a bottom-up approach, allowing unconstrained expression of knowledge while enabling organic emergence of knowledge structures.
-
Semantic Richness: Goes beyond simple key-value pairs to represent complex relationships, hierarchies, and semantic context.
-
AI-Friendly Format: Designed for direct interpretation by AI language models, enhancing capabilities in knowledge extraction, reasoning, and generation.
-
Extensible Framework: Built on a core set of primitives that can be extended for domain-specific knowledge modeling.
-
Interoperability: Compatible with existing knowledge representation standards, facilitating integration with other systems.
HKM uses YAML frontmatter in Markdown files to represent structured knowledge, while allowing freeform content in the Markdown body. This approach enables:
- Capturing structured metadata about knowledge artifacts
- Representing complex relationships between entities
- Organizing knowledge into topics and hierarchies
- Maintaining human-readability while enabling sophisticated machine processing
To start using HKM:
- Familiarize yourself with the core concepts and primitives.
- Review the HKM schema files to understand the available entity types and relationships.
- Create your first HKM document using a text editor that supports Markdown with YAML frontmatter.
Example HKM document:
---
name: Introduction to HKM
is_a: note
author: Your Name
topics:
- Knowledge Management
- Markdown
---
# Introduction to Human Knowledge Markdown
HKM is a flexible knowledge representation format that combines the simplicity of Markdown with the power of formal knowledge systems...
## Key Benefits
1. Intuitive knowledge capture with rich semantic structure
2. Seamless integration of unstructured and structured information
3. Enhanced knowledge discovery and reasoning capabilities
- Technical Specification and Architecture
- Design Decisions and Rationale
- Philosophical Framework and Principles
- compile_hkm_package.py: A utility for compiling individual YAML definition files into a single HKM schema package.
HKM is an open-source project, and contributions are welcome. Whether you're interested in extending the core definitions, creating domain-specific packages, or improving tooling, your input can help shape the future of knowledge representation.
This project is licensed under the Apache License 2.0. See the LICENSE file for details.