Search topics and sections

Unstructured data is information that does not follow a data model set in advance. A data model is the set of rules that fixes which fields each record has.[1][2] Common examples include:[1]

  • emails
  • text documents
  • social media posts
  • photos
  • audio
  • video

Its opposite is structured data, which is arranged in fixed fields, such as the rows and columns of a relational database that holds a company's staff records.[2][3] People often say unstructured data makes up 80 to 90 percent of an organization's data. In 2008 the analyst Seth Grimes could find no original research behind these figures.[4]

Structured, semi-structured, and unstructured

In data management and computer science, data is usually sorted into three groups by how much fixed structure it has.[5] The groups differ in format, in typical examples, and in how people search them.

Structured, semi-structured, and unstructured dataStructuredSemi-structuredUnstructuredNameCityTotalAnaLisbon120BenLeeds85ChenPerth40{"name": "Ana","tags": ["order","urgent"]}datelocationtopicmore fixed structureless fixed structure
Structured data fits fixed fields such as table columns. Semi-structured data has keys or tags but no fixed set of rules for the fields, and unstructured data such as free text, images, and audio has no fields set in advance.

Structured data

Structured data follows a strict format, called a schema or data model set in advance.[2]

It fits in a table where each column holds one property, such as time or name, and each row is one record.[2]

Programs search it with SQL (Structured Query Language). They send queries, which are requests for the records that match given conditions.[2]

Semi-structured data

Semi-structured data has no fixed schema.[1]

It carries metadata that marks out fields. Metadata is data about the data, such as tags or key-value pairs, which link a field name (the key) to its value.[1][5]

JSON and XML files are standard examples.[1] A collection of videos becomes semi-structured when each file carries tags for its date, location, and topic.[2]

Unstructured data

Unstructured data has no format or properties set in advance, so it is harder to search and organize.[2][1]

It usually needs preprocessing, meaning cleaning and converting it into a usable form, before analysis tools can use it.[2] This often takes complex algorithms, the step-by-step procedures a computer follows.[2]

Structured Semi-structured Unstructured
Format Fixed schema of rows and columns No fixed schema, but tags or key-value pairs mark fields No format set in advance
Examples Spreadsheets, inventory tables, financial transactions JSON and XML files Documents, images, audio, video
Main way to analyze SQL queries Tags can make analysis faster and easier than with raw unstructured data[2] Varies, often machine learning after preprocessing

Examples

Unstructured data includes both text and non-text content.[1] It can be descriptive, like social media comments, or number-based, like figures written inside a text.[1]

  • Text: emails, text documents, social media posts, call transcripts, and chat messages from tools such as Slack or Microsoft Teams.[1]
  • Non-text: image files (JPEG, GIF, and PNG), video and other media, mobile activity, and sensor data from Internet of Things devices.[1]

Where sources disagree

Sources do not always agree on which group a data type belongs to.[2][1][5]

Data type Amazon Web Services IBM Alation
Sensor data Unstructured, when a table would be inefficient Unstructured Unstructured, but semi-structured when tagged
Log files Unstructured, when a table would be inefficient Not discussed Semi-structured
Email Not discussed Unstructured, and also a common semi-structured example Unstructured

IBM gives email as a semi-structured example because part of it follows a standard format.[1]

Email part Format
Headers and subject line Standard format
Body Free text

Why unstructured is a relative term

Almost no data is truly without structure.[3] Data called unstructured often has several kinds of structure.

  • Language: text has the hidden structure of human language.[3]
  • Layout: most documents have visible structure, such as headings, paragraphs, and footnotes, often marked up in code, as in web pages.[3]
  • File format: the data can follow a fixed format. For example, an organization might require all meeting recordings to be MP3 files.[2]

The label means that the data lacks clear, explicit structure that a computer can use directly.[3]

How much data is unstructured

Common estimates

Many sources say unstructured data is most of the data that organizations hold. Their figures vary.

  • IBM says unstructured data makes up 90 percent of all data created by organizations. It says that for most organizations this data grows three times as fast as structured data.[1]
  • Alation says roughly 90 percent of company data is unstructured.[5]
  • A 2015 review of big data by Amir Gandomi and Murtaza Haider said unstructured data makes up 95 percent of big data.[6]

Where the 80 percent figure came from

In 2008 the analyst Seth Grimes tried to trace the often-quoted claim that 80 percent of business information is unstructured.[4] He found several early statements of the idea, but none of them reported original research.[4]

Claims about the share of unstructured data, 1991 to 2008 1991 Data Base Architects Up to 90% of business information is freeform 1996 Oracle 90% of digitally stored data is unstructured 1998 Merrill Lynch report Estimates as high as 80% Late 2006 TDWI survey 2008 Grimes finds no original research behind the 80% figure 47% structured 31% unstructured 22% semi-structured
Published claims about how much business data is unstructured, from the 1991 "up to 90%" figure to Grimes's 2008 report that he could find no original research behind the 80% figure. The 2006 survey by The Data Warehousing Institute (TDWI) split data into 47% structured, 31% unstructured and 22% semi-structured, and markers are evenly spaced rather than drawn to scale.
  1. In 1991 Software magazine quoted Andy Rehn of Data Base Architects as saying that "as much as 90 percent" of the information businesses use is freeform data rather than numbers.[4]
  2. In 1996 an Oracle press release quoted Brett Newbold as saying that "ninety percent of digitally stored data is unstructured information, mostly text."[4]
  3. In 1998 a Merrill Lynch report by Christopher C. Shilakes and Julie Tylman said unstructured data was the vast majority of an organization's data, and that "some estimates run as high as 80%."[4]

The Gartner, Butler Group, Yankee Group, Outsell, and other analyst reports he checked did not report original research either.[4]

IDC analyst Sue Feldman told him the 80 percent figure came from an IBM study done perhaps 15 or more years earlier. Grimes could not find original research behind the 80 percent figure.[4]

A survey with a lower figure

A late-2006 survey by Philip Russom of The Data Warehousing Institute (TDWI) found a different split.[4]

Kind of data Reported share
Structured 47 percent
Unstructured 31 percent
Semi-structured 22 percent

Russom said the gap was probably because the people surveyed were data management professionals who mostly work with structured data.[4]

Grimes concluded that the 80 percent figure is true in a general sense, though not as an exact number, because it matches the experience of people who work with text.[4]

He added that people in his field had never checked whether research behind it exists.[4]

He also called the figures useful, because they make clear that unstructured data matters.[4]

Storing unstructured data

Unstructured data is often kept in its original format.[1] Common stores include:

Data lakes

A data lake is a central store that holds structured and unstructured data at any scale.[7]

Data goes in as-is, without first being structured.[7]

Large collections of unstructured data stores are themselves called data lakes.[2]

A data lake differs from a data warehouse in when the schema is set.[7]

Data warehouse Data lake
Data held Relational data from business applications Relational and non-relational data, such as from mobile apps, IoT devices, and social media
Schema Defined in advance, to make SQL queries fast Not defined when data is collected
Typical use Day-to-day business reports and analysis SQL queries, big data analytics, full text search, real-time analytics, machine learning

Without ways to keep a list of its contents and secure them, a data lake can become a "data swamp" where data cannot be found or trusted.[7]

Cost and size

Storing unstructured data has both advantages and drawbacks.

  • Fast collection: it needs no fixed shape before it is stored, so it can be collected quickly.[1]
  • Flexible pricing: file systems and data lakes allow very large storage, with pricing based on how much is used.[1]
  • Size: storage is still one of its main challenges, because it is usually larger than structured data.[2]

Analyzing unstructured data

Computers handle unstructured data with natural language processing and machine learning, often by first turning it into structured records.[1][8] People analyze it in several ways.[2]

  • Keyword search and pattern matching, which finds data that fits a set pattern or rule, can handle some tasks.
  • Machine learning is often used, for tasks such as image recognition and sentiment analysis.
  • Preprocessing pulls out structured or semi-structured data, and is typically the first step.
Unstructured data processing pipelineRaw dataTextScanImageAudioPreprocessCleanOCRscans to textExtract fieldsinfo extractionMake embeddingsvectorsStructured tableVector indexSQL queries,reportsSearch bymeaning, RAG
Unstructured data such as text, scans, images, and audio is first cleaned, and optical character recognition (OCR) software turns the text in scanned pages into editable text. Then information extraction fills a structured table for SQL queries and reports, while embeddings (lists of numbers made by a machine learning model) fill a vector index, a searchable collection of vectors used for search by meaning and for retrieval-augmented generation (RAG), where a model looks up documents before answering.

Preprocessing and cleaning

Raw unstructured data often has errors and mismatches, so it may need cleaning before it can be processed.[1]

Some sources must also be turned into text first. One IBM case study describes a system that reads contracts with optical character recognition (OCR).[1] It then uses named-entity recognition and a language model, a computer model trained on text, to pull out key terms.[1]

Information extraction

Information extraction turns the unstructured information in texts into structured data, for example to fill a relational database.[8] It includes several tasks.[8]

  • Relation extraction finds relations between things named in a text, such as one person being the child of another, or one thing being part of another.
  • Event extraction finds events that these things take part in, and places the events in time.
  • Template filling finds common kinds of events or situations in documents and fills in slots for them.
Information extraction from a sentenceOn12 May,Ana SilvaofLisbonorderedthreelaptops.datepersoncityquantityitemInformation extractionPersonCityDateItemQuantityAna SilvaLisbon12 Maylaptop3
Information extraction on an invented sentence: sections of text naming a date, a person, a city, a quantity and an item are tagged, then copied into one row of a structured table. The example is made up and does not come from a real system.

Searching by meaning

Search systems can use a document's visible structure or the meaning of its content.[3][9]

Method What it matches Example
Structure-based search in information retrieval Words in marked parts of a document A document whose title contains "Java" and whose body contains "threading"[3]
Vector search Meaning, instead of exact words Images or texts similar to a query[9]

Vector search turns each item into an embedding, a list of numbers (a vector) made by a machine learning model.[9]

Embeddings can be made for text, images, audio, or sensor readings.[9]

Similar items get similar embeddings. Finding related data then becomes finding the query's nearest neighbors, the stored items whose embeddings are closest to it.[9]

Vectors and angles in a simplified embedding space cat photo text: a small cat dog photo query: kitten car photo text: red sports car θ (small angle = similar) large angle = less similar dimension 1 dimension 2
A two-dimensional sketch of an embedding space, where real embeddings have many more dimensions. The query vector for "kitten" makes a small angle θ\theta with the cat photo vector, so the two are similar, and a large angle with the car photo vector, so those are less similar.

The most common measure of how similar two vectors are is the cosine of the angle between them.[10]

cos⁡(v,w)=v⋅w∥v∥ ∥w∥\cos(\mathbf{v},\mathbf{w}) = \frac{\mathbf{v}\cdot\mathbf{w}}{\lVert\mathbf{v}\rVert\,\lVert\mathbf{w}\rVert}

Here v\mathbf{v} and w\mathbf{w} are two embeddings with the same number of entries.[10]

  • v⋅w\mathbf{v}\cdot\mathbf{w} is their dot product, the sum of the products of matching entries.
  • ∥v∥\lVert\mathbf{v}\rVert is the length of v\mathbf{v}, and ∥w∥\lVert\mathbf{w}\rVert is the length of w\mathbf{w}.

The formula holds only when neither vector is all zeros. Values near 1 mean the vectors point in nearly the same direction.[10]

Checking every stored vector gives exact results but does not scale well to large collections.[11] Vector databases therefore often use approximate nearest neighbor algorithms, which find close matches quickly but do not always return the true closest ones.[9][11]

Uses

IBM lists these uses of unstructured data:[1]

  • Retrieval-augmented generation, where a model looks up documents before answering.
  • Training generative AI models, and fine-tuning (further training of an existing model) for large language models.
  • Customer behavior and sentiment analysis.
  • Predictive analytics, which uses data to forecast future outcomes.
  • Analysis of chatbot text.

History

In 1958 Hans Peter Luhn of IBM described a "business intelligence system" that would use machines to summarize and index documents automatically and send them to the right parts of an organization.[12] Luhn's original idea of business intelligence was thus to get knowledge from documents.[4]

Grimes notes that business intelligence grew up on structured data instead. He quotes Prabhakar Raghavan of Yahoo Research, who said this is because structured data is easy to mine and analyze.[4]

Period Development
1958 Luhn describes automatic summarizing and routing of documents.[12]
Early 1990s Text mining begins to appear as an academic field. Document management systems appear, later renamed enterprise content management.[4]
Mid-1990s Object-relational database systems store unstructured data and build indexes (lookup lists) to search it.[4]
Late 1990s to 2000s Text analysis tools made for commercial use reach the market.[4]
March 2009 The standards body OASIS approves the Unstructured Information Management Architecture (UIMA) version 1.0.[13]

UIMA defines data formats and interfaces, the ways software components pass data to each other.[14]

These formats and interfaces do not depend on any one platform. They are meant for software components, called analytics, that analyze unstructured information.[14]

Apache UIMA is open-source software that implements the specification.[13]

Challenges

Working with unstructured data brings problems that structured data mostly avoids.[2][1]

  • Skills: preparing and analyzing it takes data science skills that many business users lack.[1]
  • Tools: traditional tools such as Excel are not good enough, and there are fewer products to choose from.[1]
  • Data quality: its large volume and uneven format can bring in errors and mismatches.[1]
  • Storage: it is usually larger than structured data.[2]
  • Processing: analysis can take a lot of computing power and must handle many formats.[2]

References

  1. Structured vs. unstructured data: What's the difference?, IBM Think.
  2. What's the Difference Between Structured Data and Unstructured Data?, Amazon Web Services.
  3. Boolean retrieval, in Introduction to Information Retrieval, Christopher D. Manning, Prabhakar Raghavan, and Hinrich Schütze, Cambridge University Press, 2008.
  4. Unstructured Data and the 80 Percent Rule, Seth Grimes, Breakthrough Analysis (first published in Clarabridge Bridgepoints), 2008.
  5. Structured, Unstructured, and Semi-Structured Data: A Guide for the AI Era, Alation.
  6. Beyond the hype: Big data concepts, methods, and analytics, Amir Gandomi and Murtaza Haider, International Journal of Information Management, 2015.
  7. What is a Data Lake?, Amazon Web Services.
  8. Information Extraction: Relations, Events, and Time, Daniel Jurafsky and James H. Martin, Speech and Language Processing, 3rd edition draft, 2026.
  9. What is vector search?, Elastic.
  10. Embeddings, Daniel Jurafsky and James H. Martin, Speech and Language Processing, 3rd edition draft, 2026.
  11. k-nearest neighbor (kNN) search, Elasticsearch Guide 8.19, Elastic.
  12. A Business Intelligence System, H. P. Luhn, IBM Journal of Research and Development, 1958.
  13. UIMA Specification, Apache Software Foundation.
  14. Unstructured Information Management Architecture (UIMA) v1.0, OASIS, 2009.

Figure