Structured knowledge representation is of great significance for constructing a knowledge graph of coal mine equipment safety. However, traditional methods encounter substantial difficulties when handling the complex semantics and domain-specific terms in technical texts. To tackle this challenge, we propose a knowledge extraction framework that integrates large language models (LLMs) with prompt engineering to achieve the efficient joint extraction of information. This framework strengthens the traditional triple structure by introducing symmetric entity-type information encompassing the head entity type and the tail entity type. Furthermore, it enables simultaneous entity recognition and relation extraction within a unified model. Experimental results demonstrate that the proposed knowledge extraction framework significantly outperforms the traditional step-by-step approach of first extracting entities and then relations. To meet the requirements of actual industrial production, we verified the impacts of different prompt strategies, as well as small lightweight models and large complex models, on the extraction task. Through multiple sets of comparative experiments, we found that the Chain-of-Thought (CoT) prompting strategy can effectively improve performance across different models, and the choice of model architecture has a significant impact on task performance. Our research provides an accurate and scalable solution for knowledge graph construction in the coal mine equipment safety domain, and its symmetry-aware design exhibits great potential for cross-domain knowledge transfer.
As the core technology of clean and efficient utilization of coal, coal gasification technology plays an important role in reducing environmental pollution, improving coal utilization, and achieving sustainable energy development. In order to ensure the safe, stable, and long-term operation of coal gasification plant, aiming to address the strong subjectivity of dynamic Bayesian network (DBN) prior data in dynamic risk assessment, this study takes the coal slurry preparation system—the main piece of equipment in the initial stage of the coal gasification process—as the research object and uses a long short-term memory (LSTM) model combined with a back propagation (BP) neural network model to optimize DBN prior data. To further validate the superiority of the model, a gated recurrent unit (GRU) model was introduced for comparative verification. The mean absolute error (MAE), root mean square error (RMSE), and coefficient of determination are used to evaluate the generalization ability of the LSTM model. The results show that the LSTM model’s predictions are more accurate and stable. Bidirectional inference is performed on the DBN of the optimized coal slurry preparation system to achieve dynamic reliability analysis. Thanks to the forward reasoning of DBN in the coal slurry preparation system, quantitative analysis of the system’s reliability effects is conducted to clearly demonstrate the trend of system reliability over time, providing data support for stable operation and subsequent upgrades. By conducting reverse reasoning, key events and weak links before and after system optimization can be identified, and targeted improvement measures can be proposed accordingly.