The Tolkien Atlas - a Folio prototype

Published

November 7, 2026

Folio - Within the Text. Beyond the Page.

Folio is a project where I want to organize research focused on one or several tightly bound groups of text (a corpus). This contrasts with some other work, such as Thoughtlines, where I am looking to connect large groups of ideas across time and thinkers. They both share a common thread, though. I want to create better artifacts for working with text, mediated with modern language models.

These models have, in many respects, ‘solved’ textual machine learning - natural language processing. It’s a field I’ve been connected to indirectly through research, learning about early methods through my education, using them in some personal projects, and then applying them sometimes very directly in my career particularly in some scientific database work (similar to Research Atlas ). Despite this, language models in many respects are too effective, basically skipping the intermediate parts for a summary prediction suitable for general audiences and leaving little ‘artifact’ behind to work with. There is still utility to the intermediate products of natural language work in better understanding text, which this project aims to surface. Often times a summary is not the goal.

My first prototype within Folio was an application of some of these methods to my dissertation Characterizing the temporal dynamics in functional connectivity measured with fMRI.. This formalized some steps, and produced something interesting, but wasn’t exactly my initial goal with this kind of project.

Here I’ll go through my first early steps at something I’ll call deep hypertext. This continues in the tradition of the original hypertext project from Xanadu Project Xanadu.

Deep hypertext is analyzed text enriched with multiple layers of annotation, evidence, and interpretation that become material for further inquiry. An annotation can identify a concept, locate a reference, propose a relationship, or record a disputed reading. Once these observations have a defined, explicit structure, and recorded connections to their source passages, they can be compared, combined, queried, and visualized.

In Folio, this describes an approach to developing highly contextualized layers of analysis over a source corpus. Passages remain connected to the original work, while accumulated annotations, references, embeddings and labels support investigations across it: tracing a concept through chapters, comparing how a source is used, mapping relationships among passages, or examining a proposed pattern. The results can then suggest further questions and annotations, gradually enriching the text itself.

The core principle is that this becomes reusable research material. Their origins, supporting evidence, and interpretive status remain visible as they enter subsequent analyses. This allows the text itself to develop into an environment, while preserving the distinction between what the work says, what a method detects, and what we can actually infer.

Tolkien as an example

Folio - Tolkien Explorer

So far, I’ve begun formalizing workflows to process text into subsequent layers of meaning, using well established forms of NLP. Tolkien was chosen for multiple reasons - first of all, it’s a body of work I’ve been fascinated with since I was very young. Tolkien created an extraordinarily rich world, not just a work of fantasy, but a mythological and linguistic structure that makes it feel substantial. His work has become one of the most read and studied, leading to an incredibly rich set of secondary sources, wikis, and commentary. All of this presents an opportunity to ‘link’ these in a rich layered analytical artifact.

Summary of labeled text

From the source text (LOTR only going through all of the existing alpha workflow) we have ~350 named entities, over 13000 annotations, close to 300 chronological records.

Some of this has been lightly documented within Folio itself Text, entities and context

Annotation dashboard

After identifying entities, we do a deep scan of inter-entity annotated actions

A view of annotations

A different explorer for annotations showing more detail.

Briefly, we structure text, extract entities, link them to references when available, disambiguate them (for example, Gandalf has multiple names), and then do a thorough analysis of annotations. This leverages language models, together with local analysis/GPU when possible. Tolkien has some perhaps unique workflow created as well, mapping these both chronologically and geographically.

Geographic tooling

A tool used to construct a vector-based geography from reference maps.

So far I’ve done a pass of this workflow through The three Lord of the Rings texts, with plans to extend through at least the Hobbit and Silmarillion. The application, so far, provides a helpful way to understand the ‘journey’ of characters through the book, for example following the fellowship.

Following the fellowship

A rendering of the fellowship journey, showing their placement before Frodo and Sam go into Mordor. Use this link to go here: Cross-roads of Ithilien

I hope to extend this in directions more similar to the earlier dissertation pilot - that is, to create a more analytical view of text and connections for exploration of Tolkien’s work more generally, and the discussions around it. And then make this an approach that can be applied to other rich texts, some of which I already have in mind.