Skip to content

OAC Knowledge Graph

Built by Ravi Bhuma Β· Medium Β· Companion to OAC Prompt Studio

An open-source community knowledge base for Oracle Analytics Cloud β€” built without RAG, vector databases, or embeddings. Just markdown, grep, and the LLM you already use.

License: MIT Site Status Topic: Oracle Analytics Cloud No Vector DB Pattern: LLM Wiki by A. Karpathy

⚠️ Unofficial / Community-Built. Not affiliated with, sponsored by, or endorsed by Oracle Corporation. "Oracle", "Oracle Analytics Cloud", and related marks are trademarks of Oracle and/or its affiliates. This project is an independent community resource that synthesizes publicly available Oracle documentation, blogs, and tutorials for educational use.


🌟 What This Is

A comprehensive, AI-queryable knowledge base for Oracle Analytics Cloud. The same content serves three different audiences from one source-of-truth:

Audience What They Get
🌐 Browsers A clean, searchable docs site at ravibhuma.github.io/oac-knowledge-graph
πŸ•ΈοΈ Visual learners An interactive force-directed graph of how 30 OAC topics connect
πŸ€– Power users Clone the repo, ask any AI tool (Claude, ChatGPT, Gemini, Codex, ...) β€” get answers with cited sources

By the numbers: - 30 cross-linked wiki pages - 158 logical cross-references between topics - 9 official Oracle PDFs (~6.8 MB searchable text) as deep reference - 80+ OAC data source types documented - 12 AI tool integration guides (Claude Code, Codex, ChatGPT, Gemini, Cursor, Cline, Ollama, OAC AI Agent, ...) - Every wiki page hyperlinks to the canonical Oracle documentation for citation - 0 vector databases. 0 embedding pipelines.


⚑ Try It In 60 Seconds

Option A β€” Browse Online (No Install)

Visit https://ravibhuma.github.io/oac-knowledge-graph/ β€” works on any device.

Option B β€” Open The Knowledge Graph

https://ravibhuma.github.io/oac-knowledge-graph/graph/ β€” see all 30 topics as a network. Hover, click, search.

Option C β€” Clone + Ask Any AI

git clone https://github.com/ravibhuma/oac-knowledge-graph.git
cd oac-knowledge-graph

# Install Claude Code (or use Codex, ChatGPT, Gemini, etc.)
npm install -g @anthropic-ai/claude-code

# Ask anything
claude
> How do I configure row-level security in OAC?
> Walk me through the three-layer Semantic Model architecture
> What's the R.T.C.C.O.E framework for AI Agents?

That's it. No vector database. No chunking pipeline. No embedding model. Just markdown + an LLM.


πŸ•ΈοΈ See The Knowledge As A Graph

πŸ‘‰ Open the Interactive Knowledge Graph

What you'll see:

  • 30 colored nodes β€” one per wiki page
  • 158 lines β€” cross-references between topics
  • Color-coded by category β€” Architecture (dark green), AI Ecosystem (Oracle red), Security (slate), etc.
  • Hover any node β†’ connections light up, others fade
  • Click β†’ info panel with category, connection count, and clickable list of related pages
  • Double-click β†’ opens the actual wiki page
  • Search β†’ highlights and zooms to matching topics

The category coloring shows the mental model of OAC at a glance:

Color Category Pages
🟒 Dark green Architecture OAC Overview, OAC vs OBIEE, Subscribe & Provisioning, What's New
🟒 Mid green Data Layer Data Sources & Connections, Semantic Model, Subject Areas & Datasets
🟒 Bright green Analytics Workbooks, Maps, Classic Dashboards, BI Publisher
🟒 Light green Data Engineering Data Flows, Machine Learning
πŸ”΄ Oracle red AI Ecosystem AI Ecosystem, AI Agents, MCP Server (intentional pop)
βšͺ Slate Security & Admin Security & RLS, Administration
🟒 Forest green Developer Logical SQL, APIs, OCI APIs/CLI, Custom Visualizations
🟒 Mint End User Consumer Guide, Mobile
🟒 Sage Operations KPIs, Migration, FAQs
βšͺ Gray Reference Coverage Matrix, Tutorials, Source PDFs

Connections aren't random. Each line in the graph is an actual [wiki link](OtherPage.md) in the markdown source β€” written deliberately to express a real conceptual relationship.

Functional dependencies β€” "X uses Y" - AI Agents β†’ Subject Areas & Datasets (an Agent is bound to a dataset) - AI Agents β†’ Security & RLS (agent filters use session variables) - BI Publisher β†’ Logical SQL (Publisher data models query Subject Areas via LSQL)

Comparison / alternative β€” "X vs Y" - Subject Areas ↔ Datasets (governed vs self-service) - Workbooks ↔ Classic Dashboards (modern vs legacy)

Architectural composition β€” "X contains Y" - Semantic Model β†’ Physical / BMM / Presentation layers - AI Ecosystem β†’ AI Assistant + AI Agents + MCP Server (5 layers)

Cross-cutting concerns β€” "Y applies to X" - Security & RLS connects to half the wiki (governance touches everything) - Administration β†’ Snapshots, Migration, Mail Server, Connections - Mobile β†’ Workbooks, Dashboards, KPIs (mobile is a different surface for same content)

The most-connected hub topics:

  1. Docs Coverage Matrix (28 connections β€” catalogs everything)
  2. Administration & Service Console (18 β€” touches all operations)
  3. Source PDFs Index (15 β€” every page traces back)
  4. Security & RLS (15 β€” cross-cutting governance)
  5. Workbooks & Visualizations (14 β€” primary user surface)

πŸ€– Use With Any AI Tool

The cloned repo works with every major AI assistant:

Tool Quick Setup Cost
Claude Code npm install -g @anthropic-ai/claude-code β†’ claude Free tier
OpenAI Codex npm install -g @openai/codex β†’ codex Free tier / $20
Google Gemini Upload all 9 PDFs (accepts up to 100MB) Free
ChatGPT Upload PDFs or build a Custom GPT Free / $20
Cursor / Cline Open repo as workspace, ask @workspace ... Free / $20
Ollama + AnythingLLM Local, private, offline Free
OAC AI Agent Bundle wiki into PDFs, build inside OAC Already in OAC

πŸ‘‰ Full guide for all 12 tools: AI_ASSISTANTS.md

🎁 Pre-Built Skills Ship With This Repo

When you clone, you get pre-configured agent skills β€” no manual prompt setup:

  • .claude/skills/oac-knowledge.md β€” Q&A skill for Claude Code (cites sources)
  • .claude/skills/oac-ingest.md β€” Add new content to the wiki
  • .claude/skills/oac-lint.md β€” Periodic health check
  • AGENTS.md β€” Used by Codex, Cline, agentic IDEs
  • .cursorrules β€” Used by Cursor
  • CLAUDE.md β€” Project rules used by Claude Code, Claude Desktop
  • PROJECT_INSTRUCTIONS.md β€” Paste into Claude Project, Custom GPT, Gemini Gem

πŸ‘‰ Full skills guide: AI_SKILLS.md


πŸ““ Browse In Obsidian (Best Local Experience)

Install Obsidian (free) for the most polished local browsing experience:

1. git clone https://github.com/ravibhuma/oac-knowledge-graph.git
2. Open Obsidian β†’ "Open folder as vault" β†’ select the cloned folder
3. Press Ctrl+G β†’ see the same knowledge graph natively in Obsidian

You get:

  • Sidebar β€” file tree of all 30 pages
  • Live preview β€” markdown renders beautifully
  • Backlinks panel β€” see what links to each page
  • Tag search β€” filter by tag (RLS, AI, Semantic Model, etc.)
  • Native graph view (Ctrl+G) β€” Obsidian's signature force-directed graph
  • Offline access β€” works without internet

This is the recommended workflow for daily reference β€” clone, open in Obsidian, search, click, navigate connections.


πŸ”§ How It's Built

oac-knowledge-graph/
β”œβ”€β”€ wiki/                          ← 30 cross-linked .md pages (the brain)
β”‚   β”œβ”€β”€ OAC Overview & Architecture.md
β”‚   β”œβ”€β”€ Semantic Model.md
β”‚   β”œβ”€β”€ Logical SQL Reference.md
β”‚   β”œβ”€β”€ OAC AI Agents.md          ← R.T.C.C.O.E framework
β”‚   β”œβ”€β”€ OAC MCP Server.md
β”‚   β”œβ”€β”€ Security & Row-Level Security.md
β”‚   β”œβ”€β”€ Data Sources & Connections.md   ← 80+ data source types
β”‚   └── … (23 more)
β”œβ”€β”€ raw/
β”‚   β”œβ”€β”€ pdfs/                      ← 9 official Oracle PDFs + searchable .txt
β”‚   β”œβ”€β”€ articles/                  ← Curated blog posts, Medium articles
β”‚   └── notes/                     ← Source references
β”œβ”€β”€ scripts/
β”‚   β”œβ”€β”€ build_graph.py             ← generates interactive vis.js graph
β”‚   β”œβ”€β”€ preprocess_wikilinks.py    ← converts wiki links for site
β”‚   β”œβ”€β”€ audit_links.py             ← finds under-connected pages
β”‚   └── add_doc_references.py      ← Oracle docs hyperlinks per page
β”œβ”€β”€ stylesheets/extra.css          ← OAC green theme (light + dark mode)
β”œβ”€β”€ assets/
β”‚   β”œβ”€β”€ favicon.svg                ← OAC green graph icon
β”‚   └── vendor/vis-network.min.js  ← bundled locally (no CDN dependency)
β”œβ”€β”€ .github/workflows/
β”‚   └── deploy-pages.yml           ← auto-build on every push
β”œβ”€β”€ CLAUDE.md                      ← Operating rules for the AI maintainer
└── README.md                      ← This file

Build pipeline (runs on every git push): 1. Preprocessor converts wiki links to standard markdown 2. Graph builder scans wiki/, generates docs/graph/index.html with vis.js 3. MkDocs Material builds the docs site with OAC green theme 4. GitHub Pages deploys at https://ravibhuma.github.io/oac-knowledge-graph/

Whenever you git push:

  • Wiki page edits β†’ site rebuilds in ~3 minutes
  • New wiki pages β†’ graph regenerates with new nodes
  • New [wiki link](X.md) references β†’ new edges in the graph
  • Auto-sync, zero manual steps

πŸ“š Adding Your Own Documentation

Karpathy's pattern shines beyond just Q&A β€” the wiki compounds as you add sources:

You drop a new source             β†’   raw/articles/new-blog.md
        ↓ ask Claude to "ingest"
LLM updates affected wiki pages   β†’   wiki/relevant-page.md
        ↓ git push
Site rebuilds, graph regenerates  β†’   docs site + interactive graph
        ↓ next user benefits
Knowledge compounds

Three operations:

Operation 1 β€” Ingest (Add New Source)

# Drop new content
cp my-oac-notes.md raw/notes/
# Or for PDFs:
cp new-oracle-guide.pdf raw/pdfs/
cd raw/pdfs && pdftotext -layout new-oracle-guide.pdf new-oracle-guide.txt

# Open Claude Code in the repo
claude
> Ingest the new file in raw/notes/. Update affected wiki pages.

Operation 2 β€” Query (Ask Anything)

claude
> What's the right RLS approach when the data source is Snowflake?

Operation 3 β€” Lint (Health Check)

claude
> Lint the wiki. Find broken links, contradictions, orphan pages, stale claims.

πŸš€ Apply To YOUR Domain

The OAC Knowledge Graph is a template. Fork it, swap the content, and you have an instant knowledge base for any domain.

# 1. Fork the repo on GitHub
# 2. Clone your fork
git clone https://github.com/YOUR-USERNAME/oac-knowledge-graph.git
cd oac-knowledge-graph

# 3. Empty the content folders
rm wiki/*.md raw/articles/*.md raw/pdfs/*.pdf raw/pdfs/*.txt

# 4. Drop in your sources
cp /path/to/your-docs/*.pdf raw/pdfs/
cd raw/pdfs && for f in *.pdf; do pdftotext -layout "$f" "${f%.pdf}.txt"; done

# 5. Update CLAUDE.md with YOUR domain context

# 6. Build wiki pages from sources
claude
> Read all files in raw/. Create wiki pages organized by topic.
> Each page: summary, sections, related links, doc references.

# 7. Customize the brand color in stylesheets/extra.css

# 8. Push to your repo and enable GitHub Pages β†’ GitHub Actions
git add . && git commit -m "Initial knowledge base" && git push

The interactive graph regenerates automatically from your wiki content. Done.


🎯 Why No RAG Or Vector DB?

Most "AI Q&A over docs" projects in 2025 use RAG (Retrieval-Augmented Generation):

  • Chunk documents into 500-token pieces
  • Compute vector embeddings
  • Store in a vector database
  • At query time: vectorize the question, retrieve nearest chunks, send to LLM

For focused-domain knowledge bases under ~10MB, this is overkill.

                  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
                  β”‚  Modern LLM (200K-2M context)     β”‚
                  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
                                β”‚
                    Whole files + grep results
                                β”‚
   β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
   β”‚                                                            β”‚
   β”‚     wiki/ (cross-linked .md)        raw/pdfs/*.txt          β”‚
   β”‚     - Karpathy-style synthesis      - Authoritative source β”‚
   β”‚     - Manual semantic cross-refs    - Grep at query time   β”‚
   β”‚     - Folder = semantic grouping    - Cite exact lines     β”‚
   β”‚                                                            β”‚
   β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

No vectors. No embedding model. No vector DB. No re-ranker.

RAG vs LLM Wiki β€” Side By Side

Aspect Traditional RAG LLM Wiki Pattern
Storage Vector database Plain markdown in Git
Indexing pipeline Chunk β†’ embed β†’ upsert None β€” git pull
Retrieval Cosine similarity grep + folder + wiki links
Chunking Required, lossy None
Citation precision Chunk-level (fuzzy) File + line (exact)
Cost (running) DB + embedding + LLM LLM only
Setup time Hours-days Minutes
Update latency Re-embed pipeline Immediate
Best for Millions of documents Focused domain

LLM Wiki wins when the knowledge fits in ~5-10MB and you have a modern LLM (Claude, GPT-4, Gemini all qualify).

For Oracle Analytics Cloud (~7MB of canonical docs), LLM Wiki wins on every dimension.


πŸ’‘ Sample Questions To Try

"How do I configure row-level security in OAC?"
"Walk me through the three-layer Semantic Model"
"What's the R.T.C.C.O.E framework for AI Agents?"
"Compare OAC vs OBIEE migration paths"
"Show me Logical SQL syntax for time-series functions"
"What's the difference between Subject Areas and Datasets?"
"How does the OAC MCP Server work with Claude Desktop?"
"Walk me through provisioning an OAC instance on OCI"
"Explain BI Publisher bursting with a sales use case"
"List every option for connecting to private/on-prem databases"

πŸ“š Topics Covered

Platform & Architecture Β· OAC Overview Β· OAC vs OBIEE vs OAS Β· Subscribe & Provisioning Β· What's New Data Layer Β· Data Sources & Connections (80+ types) Β· Semantic Model Β· Subject Areas & Datasets Analytics & Reporting Β· Workbooks & Visualizations Β· Maps & Geospatial Β· Classic Dashboards Β· BI Publisher Data Engineering Β· Data Flows & Preparation Β· Machine Learning & AI Features AI Ecosystem Β· OAC AI Ecosystem Β· OAC AI Agents (R.T.C.C.O.E) Β· OAC MCP Server Governance & Security Β· Security & RLS Β· Administration & Service Console Developer Reference Β· Logical SQL Β· APIs & Embedding Β· OCI REST APIs & CLI Β· Custom Visualizations End User Β· Consumer Guide Β· Mobile App Operations Β· KPIs & Alerts Β· Migration & Lifecycle Β· FAQs & Troubleshooting

πŸ“‹ Full topic index Β· πŸ“Š Coverage matrix vs Oracle docs Β· πŸ“– Source PDFs Index

Every page links to the corresponding canonical Oracle documentation at the top β€” proper citation chain for every claim.


🀝 Contributing

Found a gap, error, or want to add a source? Welcome.

  1. Fork the repo
  2. Drop new article/PDF into raw/articles/ or raw/pdfs/
  3. Open Claude Code: "Ingest the new source"
  4. Claude updates wiki pages + index + log
  5. Submit a PR

Or just open an issue describing what's missing.


πŸ™ Acknowledgments

The LLM Wiki Pattern β€” Andrej Karpathy

This project is a direct application of Andrej Karpathy's LLM Wiki pattern, originally published as a public gist:

πŸ“˜ Original gist: karpathy/442a6bf555914893e9891c11519de94f

Karpathy's core insight β€” "the wiki is a persistent, compounding artifact; the cross-references are already there" β€” guides every architectural decision in this repo:

  • raw/ = curated immutable sources
  • wiki/ = LLM-maintained synthesis layer
  • CLAUDE.md = operating rules for the agent
  • Three operations: Ingest, Query, Lint
  • Human curates, LLM does everything else

This repo demonstrates the pattern applied to enterprise documentation. All credit for the pattern itself goes to Andrej Karpathy. He is not affiliated with this project.

Source Materials

Knowledge content synthesized from publicly available materials:

Oracle documentation is included as searchable PDFs for fair-use review and educational reference. All Oracle copyrights, trademarks, and brand assets remain property of Oracle Corporation.


πŸ“œ License & Trademark Notices

Code & synthesized wiki content: MIT License β€” see LICENSE.

Oracle documentation in raw/pdfs/: Β© Oracle Corporation. Used for fair-use review/educational purposes.

Trademarks: - "Oracle", "Oracle Analytics Cloud", "OBIEE", "OAS", and related product names are trademarks of Oracle Corporation - "Claude" and "Claude Code" are trademarks of Anthropic - "ChatGPT" and "OpenAI" are trademarks of OpenAI - "Gemini" is a trademark of Google LLC - "Obsidian" is a trademark of Dynalist, Inc. - All other trademarks are property of their respective owners

This project is not affiliated with, sponsored by, or endorsed by Oracle, Anthropic, OpenAI, Google, or any other entity mentioned. It is an independent community resource.


πŸ‘€ Author

Maintained by @ravibhuma (Medium).

Companion projects:

⭐ Star this repo β€” it helps others discover the LLM Wiki pattern by Andrej Karpathy.