AI Concepts & Fundamentals

Knowledge Graph

Data stored as connections between things, not just rows in a table.

Quick Answer

A knowledge graph organizes data as entities — people, places, documents, components — connected by labeled relationships, rather than as rows in a spreadsheet or table. It lets software trace how information relates: which submittal covers which spec section, which spec section governs which drawing detail. That relationship structure makes complex, interconnected information queryable and traceable.

The Full Picture

A knowledge graph exists because a lot of real information isn't naturally tabular — it's relational in a way that spreadsheets and rigid databases struggle to represent. A single construction project links drawings to specs, specs to submittals, submittals to products, products to manufacturers, and RFIs to all of the above. A knowledge graph represents exactly that: each item is a node, and each relationship between items is a labeled edge, so the connections are first-class data, not something you have to reconstruct by cross-referencing multiple tables.

Mechanically, knowledge graphs are typically built on graph data models — using standards like RDF (Resource Description Framework), which represents facts as simple subject–predicate–object statements ("triples"), such as "Door D-101" — "specified in" — "Section 08 11 00." Querying a knowledge graph means traversing these relationships — finding everything connected to a node, several relationships deep — rather than joining tables the way a traditional relational database does.

In practice, knowledge graphs power systems that need to answer "how is X connected to Y" reliably: search engines showing related entities, recommendation systems, and increasingly, AI systems that need structured facts to reduce hallucination — grounding an AI's answer in a verified graph of facts rather than only in free text it's trying to interpret.

In an AEC context, a knowledge graph is a natural fit for connecting project data that's inherently relational — components to specs, specs to submittals, RFIs to drawing revisions, subcontractor scopes to bid packages — but building and maintaining one requires the underlying data to be extracted and structured consistently in the first place, which is often the harder engineering problem than the graph itself.

Real Examples

→Traceable requirements: A knowledge graph links a specific door hardware set to its spec section, the manufacturer's product data, and the submittal that was approved for it, so a reviewer can trace the full chain from requirement to approved product in one query.
→Cross-document relationships: An RFI references a specific drawing detail; a knowledge graph connects that RFI to the detail, the spec section it relates to, and any subsequent drawing revision, making the full history traceable instead of scattered across separate files.
→Grounded AI answers: An AI assistant answering a code question draws on a knowledge graph connecting code sections to their referenced standards and amendments, rather than generating an answer purely from its general training.

Common Misconceptions

People assume: A knowledge graph is just a fancy name for a database.

Actually: A relational database organizes data into fixed tables with predefined columns; a knowledge graph organizes data as flexible entities and relationships that don't require a rigid schema upfront. It's suited to data where the connections matter as much as the individual facts, and where new relationship types get added over time.

People assume: Building a knowledge graph is mainly a modeling exercise.

Actually: The harder part is usually extracting clean, consistent entities and relationships from messy source material — documents, drawings, unstructured text — in the first place. A well-designed graph schema is worthless if the data feeding it is inconsistent or incomplete.

Frequently Asked Questions

What is a knowledge graph used for?

Representing and querying data where the relationships between items matter as much as the items themselves — connecting entities like people, documents, products, or requirements through labeled relationships that can be traversed and traced.

How is a knowledge graph different from a relational database?

A relational database stores data in fixed tables joined by keys, with a schema defined upfront. A knowledge graph stores data as entities and relationships that can be added or extended flexibly, and is queried by traversing connections rather than joining tables.

What is RDF and how does it relate to knowledge graphs?

RDF (Resource Description Framework) is a W3C standard for representing knowledge graph data as simple subject–predicate–object statements, called triples. It's one of the foundational data models used to build and exchange knowledge graphs.

Why do AI systems use knowledge graphs?

A knowledge graph provides structured, verifiable facts an AI system can ground its answers in, which reduces the risk of hallucination compared to relying purely on a language model's general training or unstructured text retrieval.

How could a knowledge graph apply to a construction project?

It could connect drawings, specs, submittals, RFIs, and bid packages as a traceable web of relationships — so a question like "what does this spec section affect" returns every connected document rather than requiring someone to manually cross-reference them.

Related Terms

More AI Concepts & Fundamentals Terms

Sources

  1. W3C — Resource Description Framework (RDF)
  2. buildingSMART International — openBIM data standards
MELTPLAN