When Data Becomes a Website, the Real Model Is the One You Can Query
Hatched by Jason Ridge
Aug 04, 2026
10 min read
0 views
84%
The hidden question behind both analytics and publishing
What if the hardest part of building with data is not collecting it, cleaning it, or even visualizing it, but deciding what kind of thing a piece of information is?
That sounds abstract until you hit the practical wall. A date can be a label, a filter, a time axis, or the backbone of a forecast. A number can be a raw fact, a ratio, an average, or the result of several layers of calculation. A Markdown file can be just text, or it can be treated as a structured object with metadata, code blocks, and relationships to other content. The moment you choose one interpretation over another, you are not just organizing information. You are designing what questions the system can answer.
This is the shared tension between data modeling and content pipelines: information is never neutral once it enters a model. The model decides whether something is a dimension or a measure, a file or a record, a label or a computation. And that decision determines what becomes visible, what becomes aggregatable, and what becomes impossible to ask.
A model is not a container for truth. It is a machine for making certain truths easy to retrieve.
That distinction matters more than most people realize.
The difference between storing facts and making them useful
A spreadsheet can store a lot of truth. So can a folder full of Markdown files. But usefulness begins only when the system knows how to interpret those facts. In analytics, that means separating dimensions from measures. In publishing workflows, it means separating content from metadata, and turning loose files into structured records that can be queried, sorted, and transformed.
Dimensions are the names, dates, locations, categories, and segments that give facts context. Measures are the counts, prices, averages, quantities, and amounts that can be summarized. Put differently, dimensions tell you what kind of thing you are looking at, while measures tell you how much of it you have.
This is not just a technical distinction. It is a way of thinking. If you treat a city name as a measure, you can count it but not meaningfully group by it. If you treat sales as a dimension, you can label them but not calculate totals. The model enforces the logic of reality at the level of data use.
That same logic appears in content systems. A Markdown article may contain prose, code blocks, and front matter metadata. If you treat the file as plain text, you can display it. If you parse it into structured fields, you can index it by tag, sort it by date, generate archives, or render related posts. In other words, the content becomes more powerful when it becomes queryable.
A useful test is this: Can the system answer a question without re-reading the raw source each time? If yes, the model is doing real work. If no, you are still storing material, not structuring intelligence.
Why structure is not the enemy of flexibility
Many people hear the word model and think restriction. They imagine rigid schemas, brittle pipelines, and endless maintenance whenever something changes. But good structure is not a prison. It is what makes variation manageable.
Think of a library. Books are not thrown into a heap because that would be flexible in the most useless sense. They are organized by systems that make retrieval possible. You can search by author, subject, publication date, or call number because the library has decided what counts as a useful property. That decision does not reduce knowledge. It increases access to it.
Data models work the same way. The tabs in a model interface, such as tables, columns, expressions, joins, and hierarchies, are not separate chores. They are different levels of the same act: deciding how reality should be described so that analysis can happen. Tables define the entities. Columns define attributes. Expressions define derived meaning. Joins define relationships. Hierarchies define levels of aggregation.
This layered organization is deeply relevant to content systems too. A collection of articles becomes far more valuable when the system knows not only the files, but also the relationships among them: which article belongs to which topic, which tags are parent or child categories, which piece is the latest version, which excerpt belongs to which post. The content is still flexible, but now the flexibility has shape.
Here is the deeper insight: structure does not merely constrain future use, it expands future questions. Without structure, you can only ask the questions you already anticipated manually. With structure, the system can generate new combinations, new views, and new aggregations you did not explicitly hardcode.
That is why the best models feel less like cages and more like instruments.
The real power of a model is composability
The most interesting part of both analytics models and file pipelines is not the individual parts. It is how those parts compose.
A dimension can be used to segment a measure. A measure can be derived from other measures. An expression can transform raw input into something meaningful. A join can connect previously isolated tables. A hierarchy can turn flat records into navigable levels. Likewise, a Markdown file can become an article object, that object can feed a site generator, that generator can create archives, category pages, and search indexes, and each of those outputs can be built from the same underlying source.
This is composability: the ability to build complex systems from small, well-understood pieces.
Concrete example: imagine a retail dashboard and a publishing site.
In the dashboard, you might ask, “What is the average order value by region over the last six months?” That requires a date dimension, a region dimension, and a measure such as revenue. The question is answerable because the system knows what counts as a grouping field and what counts as a number to aggregate.
In the publishing site, you might ask, “Show me all articles tagged with data modeling, published in the last six months, that include code examples.” That requires parsed metadata, a publication date field, and a content structure that distinguishes article body from code blocks. The question is answerable because the file is no longer just a file. It is a record.
In both cases, the model makes recombination possible. You are not manually creating each report or page from scratch. You are defining primitives that can be assembled into many outputs.
The better your model, the less you have to pre-decide the future.
That is the hidden payoff. Good models reduce the need for repeated ad hoc interpretation. They make future transformation cheaper than repeated manual work.
The most important question: what deserves to be a first-class object?
Every model makes a political decision, even when it feels purely technical: what gets promoted to a first-class object?
In analytics, is a date merely a string, or is it a core dimension? Is a customer region a label or a hierarchy? Is profit a base measure or an expression derived from revenue and cost? In publishing, is the front matter just decorative metadata, or is it the engine of retrieval, filtering, and automation? Is a code block just part of the prose, or a distinct content type worth preserving separately?
This is where many systems fail. They flatten important distinctions too early. If everything is just text, then everything is equally searchable and equally unstructured, which means nothing is truly structured. If everything is just a number, then business meaning disappears behind arithmetic. If content and metadata are blended beyond recognition, the site can no longer build smart experiences from the material.
A strong model protects meaning by assigning roles.
That role assignment can be understood with a simple framework:
- Identity: What is this thing?
- Description: What properties does it have?
- Computation: What can be derived from it?
- Relationship: What does it connect to?
- Navigation: How should a human or machine move through it?
A table gives identity. Columns give description. Expressions give computation. Joins give relationship. Hierarchies give navigation. A structured content pipeline does the same for articles, authors, topics, tags, and metadata.
The interesting part is that once you define these roles well, the system starts to behave intelligently even without new code. A dashboard can roll up metrics by month, quarter, or geography. A content site can generate feeds, collections, and archives automatically. The intelligence is not magic. It is the consequence of deciding, early and clearly, which aspects of information should be legible to the machine.
From data model to thinking model
The deepest connection between structured analytics and structured content is not technical. It is epistemological.
A model teaches you how to think about the world. Once you learn to distinguish dimensions from measures, you start noticing when a conversation is mixing categories with quantities. Once you learn to parse files into metadata and content, you start noticing when a system hides context inside raw text. Once you understand joins and hierarchies, you start seeing how isolated facts become meaningful only through relationships and levels.
This is why modeling disciplines improve judgment outside software. They train you to ask: What is the atomic unit here? What is a property? What is a computation? What is a relationship? What is a level of aggregation? These are not just data questions. They are questions about any complex domain.
Consider a company strategy document. The narrative may sound persuasive, but until the key concepts are structured, the organization cannot really work with them. Revenue targets are measures. Customer segments are dimensions. Dependencies are joins. Phases are hierarchies. If you do not make that logic explicit, the plan may read well but remain operationally vague.
Or consider a personal knowledge base. Notes can be beautifully written and still be hard to use later. The moment you add structured fields, links, and categories, the notes become queryable. You can ask, “Show me all ideas I captured last quarter related to product design and pricing.” That is no longer just archiving. It is building a memory model.
The same principle applies everywhere: a good model turns raw accumulation into reusable intelligence.
Key Takeaways
- Decide what kind of thing each piece of information is. A date, a category, and a revenue number should not be treated the same way.
- Separate description from computation. Know what is a dimension and what is a measure, or what is metadata and what is content.
- Use structure to create new questions, not just faster answers. A good model should make it easier to explore combinations you did not anticipate.
- Treat relationships as first-class. Joins, hierarchies, links, and references are often where the real meaning lives.
- Ask whether your system can query meaning without rereading raw input. If not, the model is still too thin.
The model is not the map. It is the lens
People often talk about data models and content structures as if they were maps of reality. That is only partly true. A map helps you navigate what already exists. A model does more than that. It decides what is visible, what is comparable, and what can be recombined.
That is why the leap from a folder of Markdown files to structured article objects feels so similar to the leap from raw numbers to dimensions and measures. In both cases, the transformation is not merely organizational. It is cognitive. The system begins to recognize the world in terms that support analysis, automation, and discovery.
The most powerful models are not the ones with the most fields or the most tabs. They are the ones that make the right distinctions feel obvious in retrospect. They let you ask better questions because they quietly taught the system how to understand your questions in the first place.
So the next time you design a dashboard, a content pipeline, or even a personal note system, do not start by asking how to store the data. Start by asking what deserves to be a dimension, what deserves to be a measure, and what should be turned into an object the system can truly know.
Because once information becomes queryable, it stops being static. It becomes a medium for thought.
Sources
Hatch New Ideas with Glasp AI 🐣
Glasp AI allows you to hatch new ideas based on your curated content. Let's curate and create with Glasp AI :)
Start Hatching 🐣