Jew.tech → Torah Graph
The Torah knowledge graph
A knowledge graph of Jewish text and tradition, built from CC-BY Sefaria sources: 157,143 nodes and 215,426 relationships in which rabbinic teachings carry their Hebrew, their citable reference and their vector embedding, verses are first-class objects, and the chain of who-taught-whom is machine-readable. Every number on this page was re-verified against the live database on 2 August 2026, and every caveat that verification turned up is published beside it.
CITES_VERSE)The graph runs on Neo4j 5.26 in a container on a single machine. There is no cloud
service behind it and no vendor to take on faith: the counts above come from
MATCH (n) RETURN count(n)-class queries whose exact text is kept in a claims
ledger alongside the result and the date, and they are re-run before anything is published.
What follows is the graph's actual shape — including the parts that are messy.
What a cited teaching looks like
The flagship object in the graph is the teaching. There are 17,147 of them, and the coverage is total rather than typical: every single one carries a citable Sefaria reference, the Hebrew source text, the English, extracted themes, a license, and a 768-dimensional embedding for semantic retrieval. Nothing in this graph can be quoted without its source travelling with it. Here is one node, printed in full except for the embedding:
- ref
- Pirkei Avot 1:1
- work
- Mishnah Avot (Sefaria)
- source
- Mishnah, Avot
- url
- https://www.sefaria.org/Pirkei_Avot_1.1
- license
- CC-BY
- categories
- Mishnah
- themes
- learning, humility, deeds, character, love, justice
- embedding
- 768 floats (omitted here)
- he — Hebrew source text
- משֶׁה קִבֵּל תּוֹרָה מִסִּינַי, וּמְסָרָהּ לִיהוֹשֻׁעַ…
- text — English
- Moses received the Torah at Sinai and transmitted it to Joshua, Joshua to the elders, and the elders to the prophets, and the prophets to the Men of the Great Assembly. They said three things: Be patient in [the administration of] justice, raise many disciples and make a fence round the Torah.
he property, truncated
for display; the stored value is the full Mishnah text. The English is stored verbatim from
Sefaria under CC-BY.
That first sentence is not decoration. Moses received the Torah at Sinai and transmitted it to Joshua is a claim about a graph — a directed edge, asserted at the head of the Mishnah, in a document whose entire purpose is to keep the chain of custody attached to the content. The rest of this page is what happens when you take that seriously and build the edge.
The chain of transmission
Teacher-to-student links are machine-extracted from the corpus — not curated by hand and
not historically vetted — then normalised so that a single TEACHER_OF direction
carries the whole chain. Between rabbi nodes there are
2,504 such links (1,191 TEACHER_OF plus 1,313
STUDENT_OF, reversed), joining 2,185 distinct sages. Those
links do not form one tidy tree: the largest connected component holds
1,163 sages, 53.2% of everyone in the chain. The rest sit in smaller
islands — which is itself the honest finding.
The network below is that largest component, ranked by transmission degree, top 150 taken, with all 288 teacher→student edges among them. Drag a node; hover for a name; scroll to zoom.
Loading the transmission network…
Verified chains present in the export
| Chain | Hops | Note |
|---|---|---|
| Moses → Joshua | 1 | The opening link of Pirkei Avot 1:1, present as an actual edge. |
| Rabbi Yochanan Ben Zakkai → Rebbi Akiva → Rabbi Shimon bar Yochai | 2 | The Yavneh-to-Tannaim line, reconstructed from the corpus. |
| Rava → Abaye | 1 | The Babylonian pairing whose disputes shape much of the Gemara. |
| Moses → … (deepest path) | 5 | The longest transmission path leading out from Moses in this export is 5 hops deep. |
Hillel does not appear as a node in this 150-node export — a direct consequence of the transliteration problem described below rather than an absence in the tradition. The export file itself is public: /assets/data/transmission.json (150 nodes, 288 links, 28.5 KB).
What is in the graph
Counting labels in a multi-labelled graph is a trap — most nodes here carry several
labels at once, so the usual labels(n)[0] shortcut silently undercounts. These
figures come from a per-label membership query instead:
| Label | Nodes | Label | Nodes |
|---|---|---|---|
| KBNode | 66,078 | Extracted | 55,665 |
| Concept | 34,494 | Verse | 33,323 |
| VaultTeaching | 17,147 | Rabbi | 13,935 |
| Character | 12,998 | Sefer | 12,838 |
| GraphText | 12,148 | Place | 7,219 |
| Mitzvah | 5,132 | Theme | 5,092 |
| Myth | 3,719 | Festival | 2,399 |
| Book | 2,048 | Symbol | 1,851 |
| Story | 1,783 | Halacha | 1,246 |
| TorahPortion | 889 | Era | 804 |
| Midrash | 603 | Author | 596 |
| Person | 506 | Organization | 475 |
And the relationships that do the work — citation, thematic linkage, commentary, and transmission:
| Relationship | Count | What it asserts |
|---|---|---|
MENTIONS_THEME | 56,064 | A text engages a named theme. |
MENTIONS | 35,375 | A text names an entity — person, place, work. |
CITES_VERSE | 15,910 | A teaching quotes a specific verse. The citation backbone. |
EXPLAINS | 12,363 | One passage is offered as an explanation of another. |
COMMENTS_ON | 10,850 | Commentary attached to its base text. |
STUDENT_OF | 3,604 | All node types; 1,313 of these are rabbi-to-rabbi. |
TEACHER_OF | 3,340 | All node types; 1,191 of these are rabbi-to-rabbi. |
Retrieval is ranked, not arbitrary: PageRank has been computed across the graph's knowledge-base layer and 66,078 KBNodes — 100% of them — carry a score, so a query can be answered with the most structurally central sources rather than whatever matched first.
Maintained by surgery, not accretion
A graph like this degrades unless it is actively repaired. In July 2026 the teaching layer went through a measured overhaul, staged on a non-live copy first and cut over only after verification: the share of teachings orphaned from the rest of the graph fell from 76.96% to 4.60% — 12,408 teachings wired in — with 28,791 new teaching edges added and zero teaching nodes lost. The before-and-after report is preserved as a documented artifact, and the discipline it followed — never operate on the live instance, measure both sides, keep the rollback path — is the same revision-without-destruction principle the rest of this site describes.
Honest limits
A graph built by extraction is a graph with extraction's problems in it. These are the ones this dataset actually has, and they are the reason the headline numbers above lean on the clean, fully-covered fields rather than the noisy ones.
The transmission chain contains chronological errors. The edge
(Moses)-[:TEACHER_OF]->(Avraham) exists in the graph and is backwards by
centuries. This is a transmission network machine-extracted from the corpus, and it must
not be read as a validated historical record.
:Rabbi is not a clean class. It mixes biblical figures
(Moses, Yaakov, Joshua), classical sages, modern scholars (Rav Kook, the Chazon Ish),
academics, and bare titles of office. No era or generation property
exists on any Rabbi node to filter with.
Transliteration aliases are unmerged. Aaron / Aharon and Rebbi Akiva / Rabbi Akiba / R. Akiba are separate nodes. Akiva alone is split across six or more spellings, which deflates his apparent degree in the network above.
This is 215,426 relationships across a 233-label schema — sprawl, not design. The 2,368 distinct relationship types come from uncontrolled extraction. They are described here as what they are; this is not a designed ontology.
Global edge counts are not chain counts. The raw
TEACHER_OF and STUDENT_OF totals span every node type in the
graph. Only 2,504 of those edges are rabbi-to-rabbi, and that smaller number is the one
published above.
NER-noisy labels are deliberately excluded from the headline metrics. All counts are
from the studio1 neo4j-midrash instance and were verified on 2 August 2026.
The safest single sentence about this dataset — every figure in it verified, none of it dependent on noisy labels — is this: 17,147 rabbinic teachings, each carrying its Hebrew source, a citable Sefaria reference, and a vector embedding — linked to 33,323 verses inside a 157,143-node graph.
Sources and attribution
Text and reference data are drawn from Sefaria
and used under the Creative
Commons Attribution 4.0 license. Every teaching node stores its own
license, source and canonical Sefaria url, so
attribution travels with the data rather than living only on this page. Sefaria's work in
making the Jewish canon openly available is what makes a graph like this possible at all.
Corrections and questions: joshua@digitaltwinpro.com. If a number here disagrees with the database, the database wins and this page gets fixed. See the full research and data estate for everything else that sits behind it.