top of page

Designing Semantic Knowledge Graphs

Writer: Michael DeBellis
Michael DeBellis
11 minutes ago
5 min read

A Guide to Utilizing Semantic Web Technologies for Agile Data Management


I spent much of the last year and a half writing a book which was published recently: Designing Semantic Knowledge Graphs: A Guide to Utilizing Semantic Web Technologies for Agile Data Management. Semantic Knowledge Graph is a term I coined to distinguish knowledge graphs based on OWL and SHACL from simple RDF graphs such as DBpedia or property graphs.


The book can be purchased here: Designing Semantic Knowledge Graphs.

In this post, I'll describe why I wrote the book and what I hope people will learn from reading it.




More to Semantic Knowledge Graphs than Modeling

For the work I do, the ontology and knowledge graph are seldom stand-alone models. They are one part of larger systems that include code, data pipelines, integration with relational and other non-graph databases, and user interfaces. I realized that there weren't any books about Semantic Knowledge Graphs that dealt with all the parts of software development other than ontology modeling. I thought it was worthwhile to start keeping track of tools and techniques I used for integrating, testing, creating efficient SPARQL queries, etc. These issues were the genesis of the book.


Knowledge Graphs and the Realities of Enterprise Systems

The driver for the book was writing a chapter on integrating knowledge graphs with Enterprise Data Architectures such as Data Fabrics and Data Mesh with my friend Livia Pinera (DeBellis, et al., 2023). That was an excellent learning experience. I would write things like "throw away relational databases and use graph databases." Livia would first laugh and then, when she realized I was serious, tell me all the reasons based on her work as a senior developer at Reddit and Google that getting rid of relational databases was never going to happen. The work I did with Livia helped me understand how semantic knowledge graphs could best play a big role in the enterprise, not by replacing existing systems, but integrating with and adding a semantic layer to them.


Industry Experts Need the Semantic Web: They Just Don't Know It

When writing that chapter, I started reading several books on enterprise analytic data management. When discussing enterprise data, the starting point is typically the distinction between data to run the business and historical data to analyze and plan the business. The former is often called Online Transaction Processing (OLTP) because rapid processing of short lived transactions is often the driving requirement for such systems, e.g. an Amazon shopping cart or a social media post. The latter refers to historical data, such as a record of all completed customer purchases.


The requirements for the two types of systems differ radically. Analytic systems have far more data, one or more orders of magnitude, than OLTP systems. In addition, analytic systems have more complex requirements to “slice and dice” data according to many different dimensions such as demographics, geography, and time. E.g., an analytic system needs to answer questions such as “what age group in Europe generated the most revenue for the first quarter of fiscal year 2024?”.


Originally, analytic systems were called data warehouse systems and required huge servers running proprietary software. In the last couple of decades analytic systems have evolved to mostly use open source software such as Trino, DataHub, Apache Hadoop, Spark, Flink, and Iceberg. Modern analytic systems go by many different names: Data Lake, Data Lakehouse, Data Mesh, Data Fabric, Data Catalog, and Knowledge Management. The books I found the most interesting and that had the most impact on my book were Dehghani's book on Data Mesh (Dehghani, 2022), Strengholt's book on Enterprise Data Management (Strengholt, 2023), and Olesen-Bagneux's book on Enterprise Data Catalogs (Olesen-Bagneux, 2023). I read several others as well, but these were the three that had the biggest impact on my book.

As I read these books I noticed two things that were true for every book that discussed analytic data. The good news was when the books defined the most important requirements for analytic systems it was as if they had done a copy/paste of the Semantic Web features into the analytic data systems requirements: “use IRIs as permanent identifiers,” “use graph databases”, “define explicit semantics”, and “support active metadata”. The bad news was many of the books didn’t mention semantic web technology at all. The ones that did only devoted a few pages to it.


Large Language Models (LLMs) Change Everything

The final impetus for writing the book was when I came to one of the last chapters in Olesen-Bagneux's book on Data Catalogs. That chapter was all about search. He essentially said, “this is the most important feature for your data catalog. If your data catalog is easy to search it will be a success, if it isn’t it will fail.” He also says that in this article: (Olesen-Bagneux, 2022).


He then described keyword search, and I thought, “I’ll just skim this chapter because search is now radically different and better with LLMs”. Then I started to think about all the Retrieval Augmented Generation (RAG) systems I’d developed in the last few years for domains such as Climate Obstruction and Dental Materials. What would happen if, instead of using a corpus of articles on dental materials or climate obstruction, the corpus for a RAG system was composed of all the documents and data that go into enterprise analytic systems. The potential is huge and is only now beginning to be realized.


The Book Content

The book is divided into two sections. The first section uses a data lifecycle model from (Strengholt, 2023) and discusses specific tools and techniques for each phase of the data lifecycle. This of course includes modeling, but it also describes testing, designing efficient SPARQL queries, using SHACL to define data integrity constraints, testing, and data governance.


The second section goes into the concepts for analytic data from the books mentioned above and how semantic knowledge graphs are relevant to these concepts. These include the concept of a Data Product (Dehghani, 2020), (Strengholt, 2023); using semi-formal models from Information Architecture as a stepping stone to ontologies (Talisman, 2025); and an example Data Catalog (Olesen-Bagneux, 2023) that leverages standards such as PROV (Prov W3C Working Group, 2013), SKOS (W3C SKOS Working Group, 2005), and DCAT (Albertoni, et al., 2024).


I’m convinced that there is a huge, untapped potential for semantic knowledge graphs applied to industry problems. As I’ve mentioned in papers on RAG (DeBellis, et al., 2024), (DeBellis, et al., 2025), I think LLMs increase the need for semantic knowledge graphs because the two systems complement each other and that the enterprises that harness these ideas will create revolutionary new ways to use data for competitive advantage.


References

Albertoni, R. et al., 2024. Data Catalog Vocabulary (DCAT) - Version 3. [Online]


DeBellis, M., Pinera, L. & Connor, C., 2023. Interoperability Frameworks: Data Fabric and Data Mesh Architectures. In: D. N. C. Debnath & D. A. Patel, eds. Data Science with Semantic Technologies. Boca Raton(Florida): CRC Press.


DeBellis, M., Dutta, N., Gino, G. & Balaji, A., 2024. Integrating Ontologies and LLMs to Implement Retrieval Augmented Generation (RAG). Applied Ontology, 19(4).


DeBellis, M., Gino, G., Balajic, A. & Gino, J., 2025. Using Retrieval Augmented Generation (RAG) and Knowledge Graphs to Understand Climate Obstruction. IEEE Global Humanitarian Technology Conference (GHTC) 2025. Golden, CO, USA. https://www.academia.edu/143441072/Modeling_Climate_Obstruction_with_a_Neurosymbolic_Architecture


Dehghani, Z., 2020. Data Mesh Principles and Logical Architecture. [Online]


Dehghani, Z., 2022. Data Mesh. Sebastopol, California, USA: O'Reilly.

Olesen-Bagneux, O., 2022. The most important data catalog capability?. [Online]


Olesen-Bagneux, O., 2022. The most important data catalog capability?. [Online]


Olesen-Bagneux, O., 2023. The Enterprise Data Catalog. Sebastopol, CA, USA: O’Reilly.

Prov W3C Working Group, 2013. PROV-Overview. [Online]


Strengholt, P., 2023. Data Management at Scale: Modern Data Architecture with Data Mesh and Data Fabric. Sevastapol(CA): O'Reilly Media.

Talisman, J., 2025. The Ontology Pipeline. [Online]


W3C SKOS Working Group, 2005. SKOS Core Vocabulary Specification. [Online]

Available at: https://www.w3.org/TR/swbp-skos-core-spec/

Comments


  • facebook
  • linkedin

©2019 by Michael DeBellis. Proudly created with Wix.com

bottom of page