<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel Yarmoluk</title>
    <description>The latest articles on DEV Community by Daniel Yarmoluk (@daniel_yarmoluk_79a9d0364).</description>
    <link>https://dev.to/daniel_yarmoluk_79a9d0364</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3834735%2F90e3ec95-9989-450b-9224-c2fbd95a921f.png</url>
      <title>DEV Community: Daniel Yarmoluk</title>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/daniel_yarmoluk_79a9d0364"/>
    <language>en</language>
    <item>
      <title>.md is the universal AI interface</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 10:24:28 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/md-is-the-universal-ai-interface-1mo7</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/md-is-the-universal-ai-interface-1mo7</guid>
      <description>&lt;p&gt;I built an interactive healthcare knowledge graph — conditions, medications, drug interactions, diagnostics, billing codes, care pathways — and structured it as a compressed markdown file that any AI model can reason over.&lt;/p&gt;

&lt;p&gt;Not a summary. Not a document. &lt;strong&gt;A traversable knowledge graph in .md format.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;~3,000 tokens instead of ~500,000. Same reasoning quality. 170x more efficient.&lt;/p&gt;

&lt;p&gt;Here's the live interactive demo: &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" alt="Healthcare Knowledge Graph — interactive D3 visualization"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;85% of enterprise AI pilots fail to scale. Not because the models are bad. Because the &lt;strong&gt;context&lt;/strong&gt; is.&lt;/p&gt;

&lt;p&gt;An LLM can't reason about drug interactions if it doesn't know that metformin relates to renal function relates to GFR thresholds relates to dosing adjustments. That's not a retrieval problem. That's a relationship problem.&lt;/p&gt;

&lt;p&gt;RAG retrieves text chunks. Knowledge graphs traverse relationships. The difference is the difference between searching a library index and having a librarian who knows which books reference each other — and why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Raw clinical data (~2MB)
    ↓
Knowledge graph extraction (200 entities, 500+ relationships)
    ↓
Graph distillation (typed relationships + traversal rules)
    ↓
Compressed .md (~12KB, ~3,000 tokens)
    ↓
Deploy anywhere
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the .md looks like
&lt;/h2&gt;

&lt;p&gt;Here's a fragment of the cardiology domain graph compressed to markdown:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Entities&lt;/span&gt;

&lt;span class="gu"&gt;### Conditions&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Atrial Fibrillation | ICD: I48 | prevalence: 2.7M US
&lt;span class="p"&gt;-&lt;/span&gt; Heart Failure | ICD: I50 | prevalence: 6.2M US
&lt;span class="p"&gt;  -&lt;/span&gt; subtypes: HFrEF (EF≤40%), HFpEF (EF≥50%)

&lt;span class="gu"&gt;### Medications&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Apixaban | class: DOAC | no INR monitoring
&lt;span class="p"&gt;-&lt;/span&gt; Warfarin | class: anticoagulant | INR target: 2-3
&lt;span class="p"&gt;-&lt;/span&gt; Amiodarone | class: antiarrhythmic | ⚠️ toxicity

&lt;span class="gu"&gt;## Relationships&lt;/span&gt;

AFib → TREATED_BY → Apixaban (first-line DOAC)
AFib → RISK_FACTOR_FOR → Stroke (5x risk)
HFrEF → TREATED_BY → Metoprolol (mortality ↓35%)
Warfarin → INTERACTS_WITH → Amiodarone ⚠️
  ↳ RULE: ↑INR 50-70%. Reduce warfarin dose 30-50%.
Apixaban → REQUIRES → CrCl assessment
  ↳ RULE: Reduce dose if CrCl 15-29, avoid if &amp;lt;15

&lt;span class="gu"&gt;## Traversal Examples&lt;/span&gt;

Q: Patient with AFib + CKD Stage 4. Anticoagulation?
AFib → TREATED_BY → Apixaban
Apixaban → REQUIRES → CrCl
CKD Stage 4 → CrCl 15-29 → DOSE_ADJUST Apixaban
→ Answer: Apixaban 2.5mg BID (reduced dose)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model doesn't guess. It follows the chain. Multi-hop reasoning with an audit trail.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Raw Data&lt;/th&gt;
&lt;th&gt;Knowledge Graph .md&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;~2MB&lt;/td&gt;
&lt;td&gt;~12KB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tokens&lt;/td&gt;
&lt;td&gt;~500,000&lt;/td&gt;
&lt;td&gt;~3,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Density&lt;/td&gt;
&lt;td&gt;1x&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;170x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compression&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;93%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CO₂ per query&lt;/td&gt;
&lt;td&gt;~0.34 kg&lt;/td&gt;
&lt;td&gt;~0.002 kg&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That last line matters. Fewer tokens = less compute = lower energy. 99.4% carbon reduction per query. Structured intelligence is greener intelligence.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" alt="Graphify.md — the intelligence is the product"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;March Madness knowledge graph — 68 teams, built live with graduate software engineers&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  It works everywhere
&lt;/h2&gt;

&lt;p&gt;The same .md file works across every AI environment without modification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Projects&lt;/strong&gt; — upload as project knowledge&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code&lt;/strong&gt; — CLAUDE.md project context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT&lt;/strong&gt; — custom GPT instructions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor / Windsurf&lt;/strong&gt; — context file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex CLI&lt;/strong&gt; — AGENTS.md&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Server&lt;/strong&gt; — serve as tool context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API&lt;/strong&gt; — system prompt injection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email&lt;/strong&gt; — it's just text. Paste it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No vendor lock-in. No format conversion. No special tooling. Markdown is the universal interface.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why not just use RAG?
&lt;/h2&gt;

&lt;p&gt;RAG retrieves the top-k text chunks that match your query. It's single-hop — find the most similar text, return it.&lt;/p&gt;

&lt;p&gt;A knowledge graph traverses relationships. When you ask about a patient with AFib and kidney disease, the graph follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AFib → treatment options → Apixaban → renal requirements →
CrCl thresholds → CKD staging → dose adjustment rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's 5 hops. RAG would need to independently retrieve and stitch together 5 separate chunks and hope the model connects them. The graph has already connected them.&lt;/p&gt;

&lt;p&gt;Microsoft's 2024 research showed knowledge graphs achieve an 83% win rate vs vector RAG. HopRAG (ACL 2025) showed 77% higher accuracy on multi-hop questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm building
&lt;/h2&gt;

&lt;p&gt;I run &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — we build domain knowledge graphs and compress them to portable .md for any industry. Healthcare is one vertical. We've also built graphs for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/march-madness.html" rel="noopener noreferrer"&gt;March Madness tournament&lt;/a&gt; — 68 teams, real-time scores, built live with grad students&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/linkedin-groups-kg.html" rel="noopener noreferrer"&gt;LinkedIn Groups ecosystem&lt;/a&gt; — 200+ groups, 15 verticals, relationship edges&lt;/li&gt;
&lt;li&gt;Defense, legal, construction, supply chain, GovTech, education — &lt;a href="https://graphifymd.com/verticals.html" rel="noopener noreferrer"&gt;12 verticals mapped&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The methodology works on any domain. If your data has entities and relationships — and all data does — it can be graphed, compressed, and deployed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The interactive demo is live. Hover over nodes to see relationship chains light up:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built entirely with Claude Code. The whole thing — knowledge graph extraction, D3 visualization, .md compression, the site — solo, in days not months.&lt;/p&gt;

&lt;p&gt;If you're working on a domain where AI keeps hallucinating or RAG keeps missing context, the problem might not be the model. It might be the structure.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Daniel Yarmoluk — &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — &lt;a href="https://calendly.com/daniel-yarmoluk/30min" rel="noopener noreferrer"&gt;Book a call&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>knowledgegraph</category>
      <category>claude</category>
      <category>graphrag</category>
    </item>
    <item>
      <title>Tired of being on the RAG? Try GraphRAG</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 09:17:34 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/tired-of-being-on-the-rag-try-graphrag-2dh8</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/tired-of-being-on-the-rag-try-graphrag-2dh8</guid>
      <description>&lt;p&gt;Are you tired of the aches and pains of Vector search guessing...There's gotta be a better way to endure the toil. &lt;/p&gt;

&lt;p&gt;Maybe just try a knowledge graph at the .md level to fit more through the context pipeline?  There's gotta be a better way...&lt;/p&gt;

</description>
      <category>ai</category>
    </item>
    <item>
      <title>Knowledge Graph Creation</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 08:20:22 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/knowledge-graph-creation-40c3</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/knowledge-graph-creation-40c3</guid>
      <description>&lt;p&gt;I am looking for co-creators, people that want to solve real problems.  If you have a hairy issue, we can knowledge graph and compress it.  If I'm wrong, block me, who cares right?  &lt;/p&gt;

&lt;p&gt;I need to feed my family.  I have real problems.  I'm trying to do real things with my knowledge graph to the .md file level.  If someone has a really complicated layered value chain or problem that you feel would benefit from a knowledge graph compressed to .md level in which you can layer on more complications, please reach out.  &lt;/p&gt;

</description>
      <category>ai</category>
      <category>graphdatabase</category>
    </item>
    <item>
      <title>Looking for audio/video geeks -- knowledge context architect seeking creativity for applications</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 08:16:29 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/looking-for-audiovideo-geeks-knowledge-context-architect-seeking-creativity-for-applications-1gn</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/looking-for-audiovideo-geeks-knowledge-context-architect-seeking-creativity-for-applications-1gn</guid>
      <description>&lt;p&gt;My post is up there, so many rules, jeez...&lt;/p&gt;

&lt;p&gt;the anti-framework -- problem / solution -- cuts through stuff&lt;/p&gt;

</description>
    </item>
    <item>
      <title>First Post Ever! -- I compressed 2MB of healthcare data into 12KB of markdown - here's the knowledge graph</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 08:14:09 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/first-post-ever-i-compressed-2mb-of-healthcare-data-into-12kb-of-markdown-heres-the-52hi</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/first-post-ever-i-compressed-2mb-of-healthcare-data-into-12kb-of-markdown-heres-the-52hi</guid>
      <description>&lt;p&gt;I built an interactive healthcare knowledge graph — conditions, medications, drug interactions, diagnostics, billing codes, care pathways — and structured it as a compressed markdown file that any AI model can reason over.&lt;/p&gt;

&lt;p&gt;Not a summary. Not a document. &lt;strong&gt;A traversable knowledge graph in .md format.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;~3,000 tokens instead of ~500,000. Same reasoning quality. 170x more efficient.&lt;/p&gt;

&lt;p&gt;Here's the live interactive demo: &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" alt="Healthcare Knowledge Graph — interactive D3 visualization"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;85% of enterprise AI pilots fail to scale. Not because the models are bad. Because the &lt;strong&gt;context&lt;/strong&gt; is.&lt;/p&gt;

&lt;p&gt;An LLM can't reason about drug interactions if it doesn't know that metformin relates to renal function relates to GFR thresholds relates to dosing adjustments. That's not a retrieval problem. That's a relationship problem.&lt;/p&gt;

&lt;p&gt;RAG retrieves text chunks. Knowledge graphs traverse relationships. The difference is the difference between searching a library index and having a librarian who knows which books reference each other — and why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Raw clinical data (~2MB)
    ↓
Knowledge graph extraction (200 entities, 500+ relationships)
    ↓
Graph distillation (typed relationships + traversal rules)
    ↓
Compressed .md (~12KB, ~3,000 tokens)
    ↓
Deploy anywhere
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the .md looks like
&lt;/h2&gt;

&lt;p&gt;Here's a fragment of the cardiology domain graph compressed to markdown:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Entities&lt;/span&gt;

&lt;span class="gu"&gt;### Conditions&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Atrial Fibrillation | ICD: I48 | prevalence: 2.7M US
&lt;span class="p"&gt;-&lt;/span&gt; Heart Failure | ICD: I50 | prevalence: 6.2M US
&lt;span class="p"&gt;  -&lt;/span&gt; subtypes: HFrEF (EF≤40%), HFpEF (EF≥50%)

&lt;span class="gu"&gt;### Medications&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Apixaban | class: DOAC | no INR monitoring
&lt;span class="p"&gt;-&lt;/span&gt; Warfarin | class: anticoagulant | INR target: 2-3
&lt;span class="p"&gt;-&lt;/span&gt; Amiodarone | class: antiarrhythmic | ⚠️ toxicity

&lt;span class="gu"&gt;## Relationships&lt;/span&gt;

AFib → TREATED_BY → Apixaban (first-line DOAC)
AFib → RISK_FACTOR_FOR → Stroke (5x risk)
HFrEF → TREATED_BY → Metoprolol (mortality ↓35%)
Warfarin → INTERACTS_WITH → Amiodarone ⚠️
  ↳ RULE: ↑INR 50-70%. Reduce warfarin dose 30-50%.
Apixaban → REQUIRES → CrCl assessment
  ↳ RULE: Reduce dose if CrCl 15-29, avoid if &amp;lt;15

&lt;span class="gu"&gt;## Traversal Examples&lt;/span&gt;

Q: Patient with AFib + CKD Stage 4. Anticoagulation?
AFib → TREATED_BY → Apixaban
Apixaban → REQUIRES → CrCl
CKD Stage 4 → CrCl 15-29 → DOSE_ADJUST Apixaban
→ Answer: Apixaban 2.5mg BID (reduced dose)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model doesn't guess. It follows the chain. Multi-hop reasoning with an audit trail.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Raw Data&lt;/th&gt;
&lt;th&gt;Knowledge Graph .md&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;~2MB&lt;/td&gt;
&lt;td&gt;~12KB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tokens&lt;/td&gt;
&lt;td&gt;~500,000&lt;/td&gt;
&lt;td&gt;~3,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Density&lt;/td&gt;
&lt;td&gt;1x&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;170x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compression&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;93%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CO₂ per query&lt;/td&gt;
&lt;td&gt;~0.34 kg&lt;/td&gt;
&lt;td&gt;~0.002 kg&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That last line matters. Fewer tokens = less compute = lower energy. 99.4% carbon reduction per query. Structured intelligence is greener intelligence.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" alt="Graphify.md — the intelligence is the product"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;March Madness knowledge graph — 68 teams, built live with graduate software engineers&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  It works everywhere
&lt;/h2&gt;

&lt;p&gt;The same .md file works across every AI environment without modification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Projects&lt;/strong&gt; — upload as project knowledge&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code&lt;/strong&gt; — CLAUDE.md project context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT&lt;/strong&gt; — custom GPT instructions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor / Windsurf&lt;/strong&gt; — context file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex CLI&lt;/strong&gt; — AGENTS.md&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Server&lt;/strong&gt; — serve as tool context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API&lt;/strong&gt; — system prompt injection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email&lt;/strong&gt; — it's just text. Paste it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No vendor lock-in. No format conversion. No special tooling. Markdown is the universal interface.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why not just use RAG?
&lt;/h2&gt;

&lt;p&gt;RAG retrieves the top-k text chunks that match your query. It's single-hop — find the most similar text, return it.&lt;/p&gt;

&lt;p&gt;A knowledge graph traverses relationships. When you ask about a patient with AFib and kidney disease, the graph follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AFib → treatment options → Apixaban → renal requirements →
CrCl thresholds → CKD staging → dose adjustment rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's 5 hops. RAG would need to independently retrieve and stitch together 5 separate chunks and hope the model connects them. The graph has already connected them.&lt;/p&gt;

&lt;p&gt;Microsoft's 2024 research showed knowledge graphs achieve an 83% win rate vs vector RAG. HopRAG (ACL 2025) showed 77% higher accuracy on multi-hop questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm building
&lt;/h2&gt;

&lt;p&gt;I run &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — we build domain knowledge graphs and compress them to portable .md for any industry. Healthcare is one vertical. We've also built graphs for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/march-madness.html" rel="noopener noreferrer"&gt;March Madness tournament&lt;/a&gt; — 68 teams, real-time scores, built live with grad students&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/linkedin-groups-kg.html" rel="noopener noreferrer"&gt;LinkedIn Groups ecosystem&lt;/a&gt; — 200+ groups, 15 verticals, relationship edges&lt;/li&gt;
&lt;li&gt;Defense, legal, construction, supply chain, GovTech, education — &lt;a href="https://graphifymd.com/verticals.html" rel="noopener noreferrer"&gt;12 verticals mapped&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The methodology works on any domain. If your data has entities and relationships — and all data does — it can be graphed, compressed, and deployed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The interactive demo is live. Hover over nodes to see relationship chains light up:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built entirely with Claude Code. The whole thing — knowledge graph extraction, D3 visualization, .md compression, the site — solo, in days not months.&lt;/p&gt;

&lt;p&gt;If you're working on a domain where AI keeps hallucinating or RAG keeps missing context, the problem might not be the model. It might be the structure.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Daniel Yarmoluk — &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — &lt;a href="https://calendly.com/daniel-yarmoluk/30min" rel="noopener noreferrer"&gt;Book a call&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>healthtech</category>
      <category>knowledgegraph</category>
      <category>claude</category>
    </item>
    <item>
      <title>I compressed 2MB of healthcare data into 12KB of markdown — here's the knowledge graph -- first time to Dev.to in my life...</title>
      <dc:creator>Daniel Yarmoluk</dc:creator>
      <pubDate>Fri, 20 Mar 2026 06:40:25 +0000</pubDate>
      <link>https://dev.to/daniel_yarmoluk_79a9d0364/i-compressed-2mb-of-healthcare-data-into-12kb-of-markdown-heres-the-knowledge-graph-first-3hcm</link>
      <guid>https://dev.to/daniel_yarmoluk_79a9d0364/i-compressed-2mb-of-healthcare-data-into-12kb-of-markdown-heres-the-knowledge-graph-first-3hcm</guid>
      <description>&lt;p&gt;I built an interactive healthcare knowledge graph — conditions, medications, drug interactions, diagnostics, billing codes, care pathways — and structured it as a compressed markdown file that any AI model can reason over.&lt;/p&gt;

&lt;p&gt;Not a summary. Not a document. &lt;strong&gt;A traversable knowledge graph in .md format.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;~3,000 tokens instead of ~500,000. Same reasoning quality. 170x more efficient.&lt;/p&gt;

&lt;p&gt;Here's the live interactive demo: &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdf2o0n068i89dh4w1q9b.png" alt="Healthcare Knowledge Graph — interactive D3 visualization" width="800" height="418"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Why this matters
&lt;/h2&gt;

&lt;p&gt;85% of enterprise AI pilots fail to scale. Not because the models are bad. Because the &lt;strong&gt;context&lt;/strong&gt; is.&lt;/p&gt;

&lt;p&gt;An LLM can't reason about drug interactions if it doesn't know that metformin relates to renal function relates to GFR thresholds relates to dosing adjustments. That's not a retrieval problem. That's a relationship problem.&lt;/p&gt;

&lt;p&gt;RAG retrieves text chunks. Knowledge graphs traverse relationships. The difference is the difference between searching a library index and having a librarian who knows which books reference each other — and why.&lt;/p&gt;

&lt;h2&gt;
  
  
  The pipeline
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Raw clinical data (~2MB)
    ↓
Knowledge graph extraction (200 entities, 500+ relationships)
    ↓
Graph distillation (typed relationships + traversal rules)
    ↓
Compressed .md (~12KB, ~3,000 tokens)
    ↓
Deploy anywhere
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What the .md looks like
&lt;/h2&gt;

&lt;p&gt;Here's a fragment of the cardiology domain graph compressed to markdown:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;## Entities&lt;/span&gt;

&lt;span class="gu"&gt;### Conditions&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Atrial Fibrillation | ICD: I48 | prevalence: 2.7M US
&lt;span class="p"&gt;-&lt;/span&gt; Heart Failure | ICD: I50 | prevalence: 6.2M US
&lt;span class="p"&gt;  -&lt;/span&gt; subtypes: HFrEF (EF≤40%), HFpEF (EF≥50%)

&lt;span class="gu"&gt;### Medications&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; Apixaban | class: DOAC | no INR monitoring
&lt;span class="p"&gt;-&lt;/span&gt; Warfarin | class: anticoagulant | INR target: 2-3
&lt;span class="p"&gt;-&lt;/span&gt; Amiodarone | class: antiarrhythmic | ⚠️ toxicity

&lt;span class="gu"&gt;## Relationships&lt;/span&gt;

AFib → TREATED_BY → Apixaban (first-line DOAC)
AFib → RISK_FACTOR_FOR → Stroke (5x risk)
HFrEF → TREATED_BY → Metoprolol (mortality ↓35%)
Warfarin → INTERACTS_WITH → Amiodarone ⚠️
  ↳ RULE: ↑INR 50-70%. Reduce warfarin dose 30-50%.
Apixaban → REQUIRES → CrCl assessment
  ↳ RULE: Reduce dose if CrCl 15-29, avoid if &amp;lt;15

&lt;span class="gu"&gt;## Traversal Examples&lt;/span&gt;

Q: Patient with AFib + CKD Stage 4. Anticoagulation?
AFib → TREATED_BY → Apixaban
Apixaban → REQUIRES → CrCl
CKD Stage 4 → CrCl 15-29 → DOSE_ADJUST Apixaban
→ Answer: Apixaban 2.5mg BID (reduced dose)
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The model doesn't guess. It follows the chain. Multi-hop reasoning with an audit trail.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Metric&lt;/th&gt;
&lt;th&gt;Raw Data&lt;/th&gt;
&lt;th&gt;Knowledge Graph .md&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Size&lt;/td&gt;
&lt;td&gt;~2MB&lt;/td&gt;
&lt;td&gt;~12KB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Tokens&lt;/td&gt;
&lt;td&gt;~500,000&lt;/td&gt;
&lt;td&gt;~3,000&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Density&lt;/td&gt;
&lt;td&gt;1x&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;170x&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Compression&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;93%&lt;/strong&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;CO₂ per query&lt;/td&gt;
&lt;td&gt;~0.34 kg&lt;/td&gt;
&lt;td&gt;~0.002 kg&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;That last line matters. Fewer tokens = less compute = lower energy. 99.4% carbon reduction per query. Structured intelligence is greener intelligence.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fomc9cdooucot6wc8rboh.png" alt="Graphify.md — the intelligence is the product" width="800" height="418"&gt;&lt;/a&gt;&lt;br&gt;
&lt;em&gt;March Madness knowledge graph — 68 teams, built live with graduate software engineers&lt;/em&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  It works everywhere
&lt;/h2&gt;

&lt;p&gt;The same .md file works across every AI environment without modification:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude Projects&lt;/strong&gt; — upload as project knowledge&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code&lt;/strong&gt; — CLAUDE.md project context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;ChatGPT&lt;/strong&gt; — custom GPT instructions&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cursor / Windsurf&lt;/strong&gt; — context file&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Codex CLI&lt;/strong&gt; — AGENTS.md&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;MCP Server&lt;/strong&gt; — serve as tool context&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;API&lt;/strong&gt; — system prompt injection&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Email&lt;/strong&gt; — it's just text. Paste it.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No vendor lock-in. No format conversion. No special tooling. Markdown is the universal interface.&lt;/p&gt;
&lt;h2&gt;
  
  
  Why not just use RAG?
&lt;/h2&gt;

&lt;p&gt;RAG retrieves the top-k text chunks that match your query. It's single-hop — find the most similar text, return it.&lt;/p&gt;

&lt;p&gt;A knowledge graph traverses relationships. When you ask about a patient with AFib and kidney disease, the graph follows:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;AFib → treatment options → Apixaban → renal requirements →
CrCl thresholds → CKD staging → dose adjustment rules
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's 5 hops. RAG would need to independently retrieve and stitch together 5 separate chunks and hope the model connects them. The graph has already connected them.&lt;/p&gt;

&lt;p&gt;Microsoft's 2024 research showed knowledge graphs achieve an 83% win rate vs vector RAG. HopRAG (ACL 2025) showed 77% higher accuracy on multi-hop questions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I'm building
&lt;/h2&gt;

&lt;p&gt;I run &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — we build domain knowledge graphs and compress them to portable .md for any industry. Healthcare is one vertical. We've also built graphs for:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/march-madness.html" rel="noopener noreferrer"&gt;March Madness tournament&lt;/a&gt; — 68 teams, real-time scores, built live with grad students&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://graphifymd.com/linkedin-groups-kg.html" rel="noopener noreferrer"&gt;LinkedIn Groups ecosystem&lt;/a&gt; — 200+ groups, 15 verticals, relationship edges&lt;/li&gt;
&lt;li&gt;Defense, legal, construction, supply chain, GovTech, education — &lt;a href="https://graphifymd.com/verticals.html" rel="noopener noreferrer"&gt;12 verticals mapped&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The methodology works on any domain. If your data has entities and relationships — and all data does — it can be graphed, compressed, and deployed.&lt;/p&gt;

&lt;h2&gt;
  
  
  Try it
&lt;/h2&gt;

&lt;p&gt;The interactive demo is live. Hover over nodes to see relationship chains light up:&lt;/p&gt;

&lt;p&gt;👉 &lt;a href="https://graphifymd.com/healthcare-kg-demo.html" rel="noopener noreferrer"&gt;graphifymd.com/healthcare-kg-demo.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Built entirely with Claude Code. The whole thing — knowledge graph extraction, D3 visualization, .md compression, the site — solo, in days not months.&lt;/p&gt;

&lt;p&gt;If you're working on a domain where AI keeps hallucinating or RAG keeps missing context, the problem might not be the model. It might be the structure.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Daniel Yarmoluk — &lt;a href="https://graphifymd.com" rel="noopener noreferrer"&gt;Graphify.md&lt;/a&gt; — &lt;a href="https://calendly.com/daniel-yarmoluk/30min" rel="noopener noreferrer"&gt;Book a call&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>healthtech</category>
      <category>graphdatabase</category>
    </item>
  </channel>
</rss>
