About
A growing, citation-backed knowledge graph of business knowledge: strategy, innovation, corporate finance, accounting, marketing, operations, organizational behavior, leadership, managerial economics, business models, consulting, government contracting, governance and business history. An hourly scheduled run researches one new topic, writes it as a node with typed edges to the rest of the graph, validates it, and commits it.
Website
Browse the articles at https://john1hsu.github.io/business-knowledge-graph/. The site is generated by scripts/site.py and redeployed by .github/workflows/pages.yml on every push to main, so each new article appears there automatically. To preview locally:
pip install pyyaml networkx markdown
python3 scripts/site.py && python3 -m http.server -d _site 8000
How it's organized
| Layer | What | Where |
|---|---|---|
| Ontology | Business classes (Framework, Theory, Strategy, Practice, Metric, BusinessModel, Company, Case, Regulation, Work, …) and typed relations (createdBy, introducedIn, influencedBy, measuredBy, exemplifiedBy, critiques, alternativeTo, …) on RDFS/OWL, SKOS and PROV-O | ontology/ontology.ttl |
| Nodes | One Markdown article per entity, with YAML frontmatter holding its id, class, hierarchy, typed edges and per-article provenance | articles/<domain>/ |
| Graph exports | Linked-data exports regenerated on every commit: JSON-LD, N-Triples, an index | graph/graph.jsonld, graph/triples.nt, graph/index.json |
| Analytics | PageRank centrality, Louvain communities, connected components, coverage by type and domain | graph/stats.md |
| Frontier | Nodes existing articles point to but nobody has written yet; the hourly run alternates between expanding this (depth) and the least-covered domain (breadth) | graph/frontier.md |
Guarantees enforced by scripts/kg.py
- Cited: at least 3 sources per article, at least 2 strong and at least 1 scholarly, primary or official (peer-reviewed research, original papers, SEC filings, OpenStax, government data, standards bodies); every source is cited and every substantive paragraph carries a citation.
- Unique: no duplicate ids, titles or aliases; near-paraphrase titles and overlapping text are rejected.
- Well-formed: classes and predicates must exist in the ontology.
pip install pyyaml networkx
python3 scripts/kg.py check # validate
python3 scripts/kg.py build # validate + regenerate graph/
python3 scripts/kg.py similar "Topic" # check a candidate for duplicates
Steer what gets written by editing topics/seeds.yaml. The run playbook is CLAUDE.md; the article format is SCHEMA.md. The .nt and .jsonld exports load into RDF tools (Apache Jena, GraphDB, rdflib) or Neo4j via n10s.
Downloads
- graph.jsonld (JSON-LD)
- triples.nt (N-Triples)
- index.json
- ontology.ttl