liveBook · Manning

Unstructured data

As explained in Essential GraphRAG

Unstructured data is information without a predefined tabular or schema-based organization, such as free-form text.

Unstructured data lacks a rigid predefined schema and commonly appears as article text, documents, transcripts, images, audio, or video. It preserves rich context and nuance but does not directly support precise filtering, counting, sorting, or aggregation. section 1.4 section 1.0

In retrieval-augmented generation, unstructured data supports open-ended or fuzzy questions. Text embeddings retrieve semantically similar chunks, but retrieval can mix content from unrelated documents when several contain overlapping terms. section 1.4 section 6.1

Unstructured data becomes difficult to use when a task requires:

  • Selecting information from one specific document among many similar documents. section 6.1
  • Filtering records by attributes such as status or organization. section 6.1
  • Counting, sorting, or aggregating entities and relationships. section 1.4

A practical workflow uses LLMs to extract structured information from raw text, model entities and relationships in a knowledge graph, and import the result into a graph database. This preserves textual context while enabling precise queries. section 6.0 section 1.4

Contract retrieval

A question about ACME Inc.'s payment terms may retrieve chunks from several contracts because they share words such as “payment” and “terms.” Structuring contract identity, status, and terms enables document-specific retrieval and questions such as counting active ACME contracts. section 6.1

Figure 1.14 A knowledge graph can store complex structured and unstructured data in a single database system.
figure

Shows how one knowledge graph can store structured records alongside unstructured article content. section 1.4

How Essential GraphRAG covers it

How deep it goes
Explains retrieval limits and extraction into graphs, but stops short of detailing extraction prompts or database schemas.
Examples
Uses article text, legal contracts, customer-support transcripts, and medical information as representative unstructured sources.
What it assumes
Assumes familiarity with document chunking, embeddings, and retrieval while teaching why structured extraction is needed.
What you can do after
Build it from scratch by extracting structured information from raw text and importing it into a knowledge graph.
How it connects
Connects unstructured data with RAG, text embeddings, structured data, knowledge graphs, and graph databases.

Also explained in

Compare how 11 books explain unstructured data →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Essential GraphRAG. The section links point to the parts of the book it draws on.