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.
β οΈ 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 |
π§ How The Nodes Are Related¶
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:
- Docs Coverage Matrix (28 connections β catalogs everything)
- Administration & Service Console (18 β touches all operations)
- Source PDFs Index (15 β every page traces back)
- Security & RLS (15 β cross-cutting governance)
- 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 checkAGENTS.mdβ Used by Codex, Cline, agentic IDEs.cursorrulesβ Used by CursorCLAUDE.mdβ Project rules used by Claude Code, Claude DesktopPROJECT_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)¶
Operation 3 β Lint (Health Check)¶
π 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.
- Fork the repo
- Drop new article/PDF into
raw/articles/orraw/pdfs/ - Open Claude Code: "Ingest the new source"
- Claude updates wiki pages + index + log
- 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 sourceswiki/= LLM-maintained synthesis layerCLAUDE.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 Analytics Cloud Documentation Β© Oracle Corporation
- Oracle Analytics Blog Β© Oracle Corporation
- Oracle Analytics YouTube Β© Oracle Corporation
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:
- OAC Prompt Studio β Open-source learning platform for OAC AI Agents (R.T.C.C.O.E framework)
- Building Effective OAC AI Agents β Medium article
β Star this repo β it helps others discover the LLM Wiki pattern by Andrej Karpathy.