Jimmi (Jimmycarroll2021)47 downloadsBuild a typed knowledge graph from your vault with triples, provenance, GraphRAG prompts, and competency questions.
Plugin ID: kg-forge
Package: obsidian-kg-forge
Author: Jimmi (Jimmycarroll2021)
License: MIT
Turn your Obsidian vault into a best-in-class knowledge graph workspace. KG Forge extracts typed subject-predicate-object triples from your notes, enforces provenance on every fact, and gives you graph-powered tools such as GraphRAG prompts, schema validation, and competency-question tracking — all local-first and offline.
KG Forge is a standalone community plugin with zero external plugin dependencies. It reads the same markdown conventions used by tools like Breadcrumbs and Dataview, but does not require them to be installed.
## Connections fields, and wikilinks.algorithms/=algorithm, books/=book, concepts/=concept, papers/=paper).source_ids, missing provenance, broken source links.MERGE statements or as Dataview query templates..obsidian/plugins/kg-forge/ folder.npm install
npm run build
algorithms, books, concepts, papers).papers/index.md).KG Forge is local-first and does not send data to remote services. The plugin does request the following capabilities:
.kg-forge).No telemetry, analytics, or network requests are performed by the plugin.
| Command | What it does |
|---|---|
| KG Forge: Extract triples from current note | Parses the active note into triples and caches them. Shows a notice with the count. |
| KG Forge: Validate vault schema | Scans the vault for schema violations and opens a report. |
| KG Forge: Build GraphRAG prompt | Opens a modal to pick an anchor note and hop count, then copies the prompt. |
| KG Forge: Export triples as Cypher | Exports the current vault triples to a .cypher file (node-then-edge MERGE). |
| KG Forge: Generate Dataview query templates | Creates a note with Dataview query templates matching the master map. |
| KG Forge: Open Competency Questions | Opens the CQ view to add, edit, and validate questions. |
| KG Forge: Open Knowledge Graph | Opens the typed triple explorer / graph view. |
The plugin understands the Breadcrumbs edge vocabulary used in the research vault:
| Predicate | Directionality | Meaning |
|---|---|---|
rdf:type / type |
— | fileClass typing from folder mapping |
source |
outgoing | derived from |
requires ↔ enables |
inverse pair | prerequisite relationship |
related_to |
symmetric | general association |
up ↔ down |
inverse pair | hierarchy |
same |
symmetric | peer equivalence |
next ↔ prev |
inverse pair | sequence |
links_to |
directed | linked by mention |
source_id |
outgoing | maps SRC-XXX to paper path |
ItemView) — browse triples as typed edges, filter by predicate, and inspect provenance.1.13.0 and later.See DEVELOPMENT.md for build instructions and contribution guidelines.
For bugs or feature requests, open an issue with: