Datasets:
Languages:
English
Size:
10K<n<100K
Tags:
knowledge-graph
intellectual-history
marxism
political-philosophy
computational-humanities
temporal-graph
License:
File size: 6,422 Bytes
d0247ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | ---
license: cc-by-4.0
language:
- en
tags:
- knowledge-graph
- intellectual-history
- marxism
- political-philosophy
- computational-humanities
- temporal-graph
task_categories:
- text-classification
- graph-ml
pretty_name: MarxGraph
size_categories:
- 10K<n<100K
---
# MarxGraph: A Temporal Knowledge Graph of Marxist Intellectual History
MarxGraph traces how core concepts in Marxist theory (class struggle, the
vanguard party, imperialism, permanent revolution, and 40+ others) were
inherited, extended, contested, or rejected as they moved from Marx and
Engels through Lenin, Luxemburg, Trotsky, Stalin, and Mao. Unlike a simple
"who-influenced-whom" graph, every edge in MarxGraph is grounded in a specific
textual claim with a verbatim evidence span, and the dataset explicitly
distinguishes **documentary facts** (what a text says) from **interpretive
judgments** (how a later thinker's treatment relates to an earlier one); the
latter always carrying a `perspective` and `confidence` field rather than
being asserted as settled fact.
## Dataset summary
| | |
|---|---|
| Works | 50 |
| Passages | ~14,862 |
| Concept mentions | 21,933 |
| Claims (with evidence spans) | 71,572 |
| Explicit references/citations | 19,471 |
| Concept-evolution edges | 446 |
| Thinkers | Marx, Engels, Lenin, Luxemburg, Trotsky, Stalin, Mao |
| Traditions | Classical Marxism, Leninism, Marxism-Leninism, Trotskyism, Maoism |
Source texts: the [Marxists Internet Archive](https://www.marxists.org).
## Dataset structure
Six linked tables (Parquet):
| File | Grain | Key columns |
|---|---|---|
| `works.parquet` | one work | `work_id`, `author`, `title`, `year`, `tradition`, `license`, `source_url` |
| `passages.parquet` | ~220-word passage | `passage_id`, `work_id`, `chapter`, `text` |
| `concept_mentions.parquet` | one mention | `passage_id`, `concept`, `surface_form` |
| `claims.parquet` | one proposition | `claim_id`, `claim`, `concepts`, `evidence_span`, `confidence` |
| `references.parquet` | explicit citation/attack | `work_id`, `target_thinker`, `stance`, `evidence_span` |
| `concept_evolution.parquet` | concept × (earlier, later) author pair | `transformation`, `rationale`, `confidence`, `perspective` |
Plus a graph export (`graph/marxgraph.graphml`, `graph/marxgraph.jsonl`) built
from the tables above: thinkers, works, claims, and concepts as nodes;
`WROTE`, `CONTAINS`, `MENTIONS`, citation-stance, and `TRANSFORMS_<label>`
edges.
### Transformation labels
Each `concept_evolution` row classifies how a concept changed between two
chronologically-ordered thinkers:
- `PRESERVED`: restated with essentially the same content and scope
- `EXTENDED`: same core meaning, new components or scope added
- `REFORMULATED`: same term, different core content or theoretical role
- `CONTEXTUALIZED`: adapted to new historical/national conditions
- `CONTESTED`: later thinker explicitly argues against the earlier treatment
- `REJECTED`: concept abandoned or repudiated
- `INSUFFICIENT`: evidence too thin to support any label (the model declines
to force a verdict rather than fabricate one)
Distribution across the 446 edges: 76.0% EXTENDED, 10.1% CONTEXTUALIZED, 6.3%
REFORMULATED, 4.7% CONTESTED, 2.0% PRESERVED, 0.7% INSUFFICIENT, 0.2% REJECTED.
## Construction
Built with a five-stage pipeline (full code included):
EPUB download → passage segmentation → LLM claim/mention/reference extraction
→ LLM concept-transformation typing (constrained to a documented set of
plausible lineage pairs) → graph assembly. Primary extraction model:
`openai/gpt-oss-120b` via Groq. See `README.md` in the code repository for the
full pipeline and `config/ontology.yaml` for the entity/relation schema.
## Validation
100 claims and 50 evolution edges were checked against a stratified sample
protocol, with an automated first pass followed by domain-expert human
adjudication of every uncertain case. **Result: 99% claims accuracy (99/100),
100% evolution-edge coherence (50/50)** on the reviewed sample. Full
methodology, including the one documented failure case and important caveats
about sample size and the narrowness of the model's confidence scores, is in
[`VALIDATION.md`](VALIDATION.md); please read it before citing accuracy
figures out of context.
## Known limitations
- **Confidence scores are not calibrated.** Evolution-edge confidence values
cluster tightly (mean 0.852, std 0.035) and should not be used as a
reliability filter.
- **A likely duplicate work has not yet been removed.** Trotsky's *History of
the Russian Revolution* appears to be ingested twice (single-file and
3-volume editions), inflating Trotsky's claim counts on affected concepts.
A deduplication tool (`src/dedupe_works.py`) exists but has not been applied
to this release.
- **Interpretive edges are one LLM-assisted reading, not a canonical verdict.**
Especially for ideologically contested relationships (e.g., Stalin's
relationship to Lenin, or Trotsky's to Stalin), different traditions
characterize continuity/rupture differently. Treat `CONTESTED`/`REJECTED`
labels as a documented, evidence-linked interpretation, open to challenge,
not as settled historiography.
- **Extraction quality reflects the extraction model.** `openai/gpt-oss-120b`
is far smaller than frontier models; the validation pass documents at least
one case of the model adding a plausible but unsupported evaluative gloss
to an otherwise accurate paraphrase.
- **Licensing is mixed at the work level.** `works.parquet.license` marks each
work `pd` (public domain, safe to redistribute as text) or `verify` (check
the specific translation/edition's copyright status on MIA before
redistributing raw text; this applies especially to some Stalin, Mao, and
Luxemburg translations). Annotations (claims, relations, evolution edges)
are original analysis and released under this dataset's license regardless
of source-text status.
## Citation
If you use MarxGraph, please cite the dataset directly:
```
Bose, J. (2026). MarxGraph: A Temporal Knowledge Graph of Marxist Intellectual
History [Dataset]. Hugging Face. https://huggingface.co/datasets/<your-repo-id>
```
## Credits
Source texts: [Marxists Internet Archive](https://www.marxists.org), a
volunteer-run archive; please support their work if you can.
Dataset construction, ontology design, and validation: Joy Bose
(joy.bose@ieee.org). |