Ology

From Messy Files to Living Knowledge

AI-driven systems transform messy sources into interconnected knowledge bases, tracking provenance, uncertainty, and knowledge gaps.

5 sessions · 20 readings · 604 views

Curated by Sam Delacroix

The Document Is Not the Textsession 1Names, Schemas, and False Matchessession 2Graphs Without the Graph Hypesession 3Every Answer Has a Historysession 4The Knowledge Base Must Know Its Gapssession 5

Opening

AI knowledge systems are moving beyond “search over documents.” The harder ambition is to turn PDFs, spreadsheets, databases, code, and web pages into a shared substrate that can be queried, updated, audited, and trusted. Recent systems increasingly combine document parsing, schema metadata, retrieval, structured extraction, graph construction, tool use, and evaluation rather than treating knowledge as a pile of text chunks.

That shift matters because the most damaging failures often occur before generation. A PDF parser can destroy table structure; a schema mapper can confuse similar fields; an entity resolver can merge two people or split one organization; a retrieval system can surface a stale policy while presenting it as current. Better language models help, but they do not eliminate these data and systems problems.

The emerging designs also disagree about what the “knowledge base” should be. Some favor contextualized text and hybrid retrieval; others build explicit graphs, ontologies, or executable metadata layers. Some preserve uncertainty and conflicting claims, while others normalize toward a single operational representation. The central question is not whether AI can extract knowledge, but how much structure, evidence, and revision machinery a system needs before its answers deserve trust.

The five sessions follow that transformation from ingestion to maintenance: preserving structure, resolving meaning, choosing representations, tracing claims through transformations, and evaluating whether the resulting system knows what it does not know.

Five questions worth arguing about

  1. 1Should document pipelines optimize for faithful preservation or aggressive normalization before language models ever see the data?
  2. 2Can schema and entity resolution be automated without quietly turning ambiguity into false certainty?
  3. 3When does a knowledge graph improve reasoning enough to justify its construction and maintenance costs?
  4. 4Is provenance useful only after an answer fails, or should it shape every intermediate representation?
  5. 5How should a living knowledge system represent stale, conflicting, missing, or weakly supported beliefs?

The Sessions

1Session 1start here

The Document Is Not the Text

The problem

The first mistake in building a knowledge system is to assume that extraction is mainly transcription. PDFs encode visual layout rather than semantic structure; spreadsheets encode meaning through headers, formulas, and neighboring cells; web pages mix navigation, prose, tables, and metadata. A system that extracts every character correctly can still produce a semantically corrupted representation.

Hugging Face’s Document AI survey frames parsing as a collection of distinct problems—OCR, layout analysis, table detection, table structure recognition, and document question answering. OpenAI’s contract workflow shows the operational consequence: scanned contracts and handwritten edits must become structured fields while retaining annotations and references for human review. The two readings therefore pull in different directions: one emphasizes model and task decomposition, while the other emphasizes a reviewable business workflow.

Anthropic’s Contextual Retrieval adds a second complication. Even after extraction, chunking can erase the document-level context needed to interpret a passage. Its proposed remedy is not full symbolic normalization, but contextual enrichment before hybrid retrieval. The session establishes the first design tension: should a knowledge pipeline preserve the original artifact, reconstruct a normalized intermediate representation, or maintain both?

2Session 2

Names, Schemas, and False Matches

The problem

Once heterogeneous sources have been parsed, the system must decide whether different fields, records, and mentions refer to the same thing. This is where “normalization” becomes an epistemic act rather than a formatting step. Mapping company_name, merchant, and legal_entity to a shared schema may make downstream queries possible, but it can also erase distinctions that mattered in the source systems.

Google Cloud’s enterprise knowledge graph walkthrough presents a deliberately explicit solution: source tables are mapped to a common ontology, reconciliation jobs produce stable cluster identifiers, and confidence scores expose the likelihood of a match. Neo4j’s knowledge graph generation post describes a more iterative approach in which duplicate candidates are identified through graph algorithms, LLM processing, named-entity linking, and domain-specific validation queries.

OpenAI’s in-house data agent complicates both approaches by treating schema meaning as distributed across table definitions, historical queries, human annotations, code, institutional documents, and runtime inspection. In that design, the “schema” is not a static ontology but a living context layer. The question is whether resolution should converge on one canonical representation or preserve competing interpretations and source-specific semantics.

3Session 3

Graphs Without the Graph Hype

The problem

Explicit connections promise to solve a problem that flat retrieval handles poorly: questions whose answers depend on multiple entities, relationships, or themes distributed across a corpus. Microsoft’s GraphRAG constructs an entity-and-relationship graph, detects communities, and produces hierarchical summaries before users ask global questions. Its strongest case is not ordinary lookup but synthesis over an entire dataset.

That promise should not be accepted uncritically. Hamel Husain’s discussion with Jo Kristian Bergum argues that a graph database is often an infrastructure decision made before the retrieval problem has been measured. The expensive part is not merely storing edges; it is extracting them accurately, resolving duplicates, maintaining them as sources change, and proving that graph traversal improves the target task.

Neo4j’s construction guide supplies the practical middle ground: a graph can combine lexical data, embeddings, metadata, entities, relationships, graph algorithms, and validation checks. Together, these readings distinguish three claims that are often conflated: graphs can improve certain retrieval patterns; graph construction is a data-quality problem; and a specialized graph database is not automatically required.

4Session 4

Every Answer Has a History

The problem

A final answer is often the endpoint of a long chain: source fragments are extracted, entities are merged, relationships are summarized, communities are formed, and intermediate answers are synthesized. A citation attached only to the final response does not necessarily explain which transformation introduced an error.

Microsoft’s VeriTrail makes this problem explicit by representing multi-step generation as a directed acyclic graph of source text, intermediate outputs, and final claims. Its contribution is not simply citation generation; it is provenance and error localization across transformations. The framework treats an answer as a traceable derivation rather than a single model output.

Google DeepMind’s Backstory approaches provenance from a different direction. It combines origin, metadata, prior uses, edits, and contextual interpretation, while warning that authenticity and trustworthiness are not equivalent. This matters for knowledge bases as well: a source can be genuine but outdated, or accurately extracted but misleading when detached from its historical context. The next session therefore asks how systems should update beliefs rather than merely append documents.

5Session 5finish here

The Knowledge Base Must Know Its Gaps

The problem

A system that always produces one normalized answer has already made a strong claim: that ambiguity, missingness, conflict, and uncertainty can be safely collapsed. In real knowledge systems, that is rarely true. Sources disagree, schemas drift, entities remain unresolved, and evidence may cover one part of a question while leaving another unsupported.

Hamel Husain and Shreya Shankar argue that retrieval and generation require different evaluation regimes. Retrieval should be tested with information-retrieval metrics, while answer quality requires error analysis, human labels, and validated judges. Their advice is practical, but it also reveals a deeper issue: “correctness” depends on whether the system retrieved all the evidence needed, not merely whether it found one relevant passage.

Microsoft’s BenchmarkQED pushes this further by separating local from global queries and evaluating coverage, diversity, and answer quality across datasets. OpenAI’s harness engineering provides an operational complement: track documentation gaps, freshness, ownership, and cross-links as maintainable system properties. Together, the readings suggest that unknowns should not be treated as failed answers alone; they should become explicit objects for evaluation, maintenance, and future ingestion.

Interested in joining a reading club with top AI experts?

Small groups, great readings, real conversations. Learn faster and grow your network.

A friend that hands you reading lists, not search results.

© Ology 2026