Leveraging Large Language Models and Object Detection for Automated Knowledge Graph Generation from Industrial Schematics
Industrial digitalization increasingly requires automated tools capable of extracting structured knowledge from complex engineering documentation, such as Piping and Instrumentation Diagrams (P&IDs). This work proposes an integrated framework that combines object detection and Large Language Models (LLMs) for automated Knowledge Graph (KG) generation. The approach enables the transformation of unstructured P&ID schematics into machine-interpretable representations, supporting data-driven analysis and decision-making. A modular pipeline is developed, including image pre-processing, symbol detection via a YOLO-based model, and identification of semantic relations between schematic elements using LLMs. The proposal also includes the definition of a reference ontology, which is exploited for the construction of the KG, and a diagram dataset designed to test the performance of the object detection model. The KG generation procedure achieves strong results in terms of image reconstruction across a wide set of industrial schematics, while also preserving the semantic integrity and completeness of the original diagrams. The proposed method represents a significant step toward the digitalization of industrial knowledge, bridging traditional engineering documentation and semantic-based technologies.
Authors
- Saverio Ieva (ORCID: https://orcid.org/0000-0001-8598-5504)
- Floriano Scioscia (ORCID: https://orcid.org/0000-0002-7859-9602)
- Davide Loconte (ORCID: https://orcid.org/0000-0002-0182-4672)
- Michèle Ruta (ORCID: https://orcid.org/0000-0003-2125-327X)
- Giuseppe Loseto (ORCID: https://orcid.org/0000-0002-7995-8494)
- Davide Marche (ORCID: https://orcid.org/0009-0000-4508-0401)
- Federico Lopomo (ORCID: https://orcid.org/0009-0009-8756-7045)
- Valentina Faraco
Institutions
- Ospedale San Giuseppe (IT)
- University of Bari Aldo Moro (IT)
- Polytechnic University of Bari (IT)
Publication Details
- Journal
- Big Data and Cognitive Computing
- Published
- 2026-06-29
- DOI
- https://doi.org/10.3390/bdcc10070210
- Primary Topic
- Advanced Graph Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- Regione Puglia