Files
encyclopedia-knowledge-graph/README.md
T

55 lines
3.0 KiB
Markdown

# Encyclopedia Knowledge Graph (`v1.0.0`)
Standalone open-source interactive knowledge graph workbench, multi-format graph compiler (`JSON`, `GraphML`, `GEXF`, `Obsidian JSON Canvas`), visual atlas renderer, and operator's manual for the **Encyclopedia of Technocapital Singularity Zoology**.
Operates as a peer sibling Git repository in `/workspace/encyclopedia-knowledge-graph`, ingesting `/workspace/technocapital-singularity-zoology` strictly in **read-only mode** with cryptographic pre/post `SHA-256` isolation verification so zero knowledge-graph or visualization concepts ever enter the upstream glossary or encyclopedia.
---
## Repository Structure
| Path | Description |
| :--- | :--- |
| `OPERATORS-MANUAL-ENCYCLOPEDIA-KNOWLEDGE-GRAPH.{md,pdf}` | Step-by-step Operator's Manual (Write -> Test -> Edit -> Publish verified) |
| `scripts/build_encyclopedia_knowledge_graph.py` | Deterministic 100%-FOSS graph compiler, 6-gate verifier, and CLI ego-network query engine |
| `index.html` & `graph-data.js` | Offline-capable interactive dark-mode HTML5/Canvas workbench (5 layout modes, live filters, PDF drawer) |
| `encyclopedia-graph.json` | Full 388-node, 1,282-edge property graph & centrality analytics JSON |
| `encyclopedia-graph.graphml` & `encyclopedia-graph.gexf` | Standard XML exports for Gephi, Cytoscape Desktop, yEd, and NetworkX |
| `encyclopedia.canvas` | Obsidian JSON Canvas 1.0 (`282` cards, `1,120` edges) |
| `atlas-mode{1,2,3}.png` | High-resolution (`1600x1060`) visual atlas boards (Trophic Food-Web, Concentric ETI Radar `S+ -> D Periphery`, and Bipartite `Gen 0 -> Gen 1` Funnel) |
| `docs/` | Architecture plan (`plan-interactive-knowledge-graph-encyclopedia.{md,pdf}`), `D Periphery` radar specification (`specification-concentric-eti-tier-ring-radar-d-periphery.{md,pdf}`), and dependency/push guide (`DEPENDENCIES-AND-FIRST-PUSH-GUIDE.{md,pdf}`) |
| `requirements.txt` | Python package manifest (`Pillow`, `reportlab`, `pypdf`, `pdfplumber`) |
| `push-to-origin.sh` | Executable helper script for configuring remote `origin` and executing the first push |
---
## Quickstart Commands
```bash
# 1. Check upstream Glossary & Encyclopedia SHA-256 isolation
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --check-isolation
# 2. Rebuild all graph exports, atlas PNGs & run 6-gate verification
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py
# 3. Run standalone 6-gate verification without rebuilding
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --verify-only
# 4. Query any node & inspect its 1-hop ego-network
python3 /workspace/encyclopedia-knowledge-graph/scripts/build_encyclopedia_knowledge_graph.py --query-node "125"
```
---
## First Push to Remote `origin`
```bash
cd /workspace/encyclopedia-knowledge-graph
git remote add origin <REMOTE_GIT_URL>
git push -u origin main
git push origin v1.0.0
# Or via the bundled verification + push script:
/workspace/encyclopedia-knowledge-graph/push-to-origin.sh <REMOTE_GIT_URL>
```