A construction project knowledge graph construction method and a running system thereof
By defining the root schema and business schema of the knowledge graph of engineering construction projects, and combining data standardization governance and BeiDou grid coding, the problems of fragmented multi-source data and loose spatial information correlation in the entire life cycle of engineering construction projects are solved. This enables standardized processing of multi-source data and dynamic synchronous updating of the graph, improves cross-system collaboration efficiency and spatial traceability, and supports the intelligent application of engineering construction projects.
Patent Information
- Application Number
- CN202611636022.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-22
- Publication Date
- 2026-11-20
AI Technical Summary
Throughout the entire lifecycle of engineering construction projects, there are issues such as fragmented multi-source data, poor cross-system collaboration, loose connections between business information and spatial information, and the limited adaptability of knowledge graph technology in the field of engineering construction. This makes it difficult to achieve spatial visualization control and precise location tracking of project information, and the data dynamic update capability is insufficient to support intelligent decision-making assistance for approval and automatic compliance review.
Define the root schema and business schema of the knowledge graph of engineering construction projects. Through data standardization governance and Beidou grid coding, realize the standardized processing of multi-source data and synchronous iteration of graph database. Combine with the CIM platform to build bidirectional synchronization between graph and map, and support multi-source data association retrieval and visualization display.
It addresses the challenge of fragmented multi-source data, improves cross-system collaboration efficiency, enhances spatial correlation and traceability capabilities, enables dynamic synchronous updates of data maps, supports intelligent applications in the engineering field, and provides technical support for intelligent decision-making assistance in approvals and automatic compliance review.
Smart Images

Figure CN123140189A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical fields of engineering construction informatization, city information modeling (CIM) and knowledge graph intersection technology, specifically a method for constructing a knowledge graph for engineering construction projects and its operating system. Background Technology
[0002] With the deepening of the "streamlining administration, delegating power, and improving services" reform in my country's engineering construction sector, the digital and intelligent transformation of the entire approval process for engineering construction projects has become an industry trend. In 2019, the Ministry of Housing and Urban-Rural Development released the "Data Sharing and Exchange Standard 3.0 for the Engineering Construction Project Approval Management System," which unified the data sharing specifications for approvals and divided the engineering construction project approval process into four stages: project establishment and land use planning permit, construction permit, construction license, and completion acceptance. This promoted the realization of "one-stop online processing" and full-process digital collaboration for approval services. Based on this, the integrated application of BIM technology and CIM platforms is gradually being promoted. Intelligent review of 3D models is introduced at key nodes such as planning and design model submission, construction drawing model review, and completion acceptance filing. This enables automatic verification and compliance determination of planning conditions, technical specifications, and construction conditions, providing a technical foundation for the digital management and control of engineering construction.
[0003] Despite the continuous improvement in the industry's digitalization level, there are still many problems to be solved in the current information management of the entire life cycle of engineering construction projects:
[0004] First, the fragmented distribution of multi-source data leads to poor cross-system collaboration. The information generated throughout the entire lifecycle of engineering construction projects covers multiple categories, including basic project information, review and approval information, and GIS spatial information. These are scattered and stored in different business systems such as planning, housing and construction, civil air defense, fire protection, and surveying and mapping. The lack of unified data standards, fragmented semantic expression, and missing spatiotemporal dimensions among these systems results in low efficiency of cross-stage and cross-departmental information sharing and business collaboration, making it difficult to form a complete project information chain.
[0005] Secondly, the connection between business information and spatial information is loose, and the spatial traceability capability is insufficient. In existing technologies, the connection between project information and GIS spatial data mostly relies on traditional latitude and longitude positioning methods. This has shortcomings such as difficulty in balancing positioning accuracy and computing efficiency, restrictions on data sharing due to the confidentiality of geographic coordinates, and the inability to deeply link with project approval business data. As a result, it is difficult to achieve spatial visualization control and accurate location traceability of project information, and it cannot support the spatial governance needs of engineering construction.
[0006] Third, the application of knowledge graph technology in the field of engineering construction has shortcomings in adaptability. As an effective technical path for multi-source data fusion, knowledge graphs currently lack a targeted schema architecture system in the field of engineering construction, making it impossible to form unified entity and relationship constraints for various types of data such as projects, approvals, and spaces; it lacks a mature spatial association mechanism, making it difficult to achieve grid-level accurate mapping between business entities and spatial entities; at the same time, its data dynamic update capability is insufficient, failing to ensure real-time synchronous iteration between the graph database and business source data, making it difficult to support in-depth applications such as intelligent decision-making assistance for approvals, automatic compliance review, and full lifecycle traceability supervision.
[0007] Based on the aforementioned industry pain points, this paper proposes a method for constructing a knowledge graph for engineering construction projects and its operating system. Summary of the Invention
[0008] The purpose of this invention is to provide a method for constructing a knowledge graph for engineering construction projects and its operating system, so as to solve the problems mentioned in the background art.
[0009] To achieve the above objectives, the present invention provides the following technical solution: a method for constructing a knowledge graph for engineering construction projects, comprising the following steps:
[0010] S1. Define the root schema and business schema of the knowledge graph of the construction project: The root schema defines the naming and writing rules of the business schema, and the business schema defines the entity definition and relationship definition of various business data.
[0011] S2. Information Acquisition and Data Standardization Governance for Engineering Construction Projects: Connect to the engineering construction project approval system, collect basic project information, as well as drawings, GIS data, and BIM model spatial data, form a standardized project dataset, perform consistency verification and quality verification on the data entering the database, identify business entities from spatial data, and construct grid coding based on spatial location information;
[0012] S3. Import data into graph database: Develop a data import tool that adapts to the graph to construct the schema structure, import the spatial data of project approval information into the graph database respectively, and realize two-way traceability of review information, project and spatial location;
[0013] S4. Business Graph Schema Iteration and Graph Database Update: Based on the Schema entity type definition defined in S1, incremental update operations are performed on the inbound data to achieve synchronous iteration between the graph database and the source data.
[0014] S5. Graph Database Multi-Source Data Association Retrieval: Based on graph database, multi-source data association retrieval is performed. Through three steps, namely, retrieval condition parsing, association query execution, result aggregation and report generation, hierarchical retrieval and tracing of target entities and their related entities are realized.
[0015] S6. Interact with the CIM platform: Construct a split-screen display of CIM map and 2D atlas to achieve two-way synchronization of atlas visualization and spatial visualization.
[0016] As a further preferred embodiment of this technical solution: In S2, the specific operating steps include:
[0017] S21. Data Collection and Access: Obtain multiple structured data from the engineering construction project approval system through interfaces or direct database connections, and simultaneously collect GIS spatial distribution data of the project area;
[0018] S22. Data standardization processing: The collected data is classified and standardized. For the structured data of the engineering construction project approval system, the fields are confirmed and mapped to ensure consistency with the schema defined in S1. For heterogeneous data from other sources, the ID field is uniquely valued and the entity identification rules are clarified. Beidou grid codes are generated for the spatial coordinate data, and finally a standardized engineering construction project dataset covering project approval, GIS space, and BIM model is formed.
[0019] S23. Project Spatial Association Construction: Based on the project's geographical location information, extract the project coordinates or plot range, generate BeiDou grid codes for the project's spatial range, realize grid-level association between the project and surrounding GIS spatial data, and establish spatial association relationships between project entities and GIS entities and grid entities, thereby providing a spatial topology foundation for subsequent graph database import.
[0020] As a further preferred embodiment of this technical solution: In S3, the specific operating steps include:
[0021] S31. Data Import Tool Development: Develop a tool module for importing engineering construction project data into a graph database, including a data source connector, a schema mapper, and a batch write interface;
[0022] The data source connector is responsible for connecting the engineering approval system database and the GIS spatial data source to read raw business data and spatial data.
[0023] The schema mapper performs entity recognition and relation extraction according to the knowledge graph schema defined in S1;
[0024] The batch write interface calls the Cypher execution engine or the batch import interface of the graph database to efficiently write entity and relationship data into the graph database;
[0025] S32. Engineering Approval Data Import: Using the data import tool developed in S31, the system connects to the database of the engineering construction project approval system, reads business table data, generates JSON files through schema mapping, and writes it in batches into the graph database to achieve standardized storage of business entities.
[0026] S33, GIS Grid Data Import: Using the data import tool developed in S31, it connects to the GIS spatial data source, reads spatial entity data, constructs Beidou grid codes as spatial virtual entities, and writes them in batches into the graph database after schema mapping and JSON file generation, realizing the standardized import and storage of spatial entities, grid virtual entities and their spatial relationships.
[0027] After the data is entered into the database, the graph database automatically establishes a two-way traceability path between project entities and spatial entities based on the grid code.
[0028] As a further preferred embodiment of this technical solution: In S4, the specific operating steps include:
[0029] S41. Entity Change Detection: Based on the entity type name defined in the schema, query the existing entity nodes from the graph database and compare the source data record with the existing entities in the graph database;
[0030] Use the entity's unique identifier field as the matching key to determine the change type of each record:
[0031] If the corresponding entity does not exist in the graph database, it is determined to be a new operation;
[0032] If an entity exists and its attribute values change, it is considered a modification operation.
[0033] If the corresponding entity does not exist in the source data but exists in the graph database, it is determined to be a deletion operation.
[0034] S42. Entity Node Update: Perform the corresponding graph database operation based on the change type;
[0035] For new entities, create nodes and set attributes, with attribute field mapping based on the entity attribute specifications defined in the schema;
[0036] When modifying an entity, update the node attribute values while keeping the node identifier unchanged;
[0037] When deleting an entity, remove the node and its associated relationship edges to avoid dangling relationships;
[0038] S43. Synchronous Update of Relationship Edges: After the entity nodes are updated, the relationships between entities are updated synchronously. Based on the relationship types defined in the schema, changes in the relationships between entities are detected.
[0039] If a new entity association is established in the source data, create the corresponding relationship edge and set the relationship attributes;
[0040] If a relationship is removed from the source data, delete the corresponding relationship edge.
[0041] If the attributes of the association change, update the attributes of the association edges;
[0042] In this process, the updates of relation edges and entity nodes maintain transactional consistency, ensuring the integrity constraints of the graph database.
[0043] As a further preferred embodiment of this technical solution: In S5, the specific operating steps include:
[0044] S51. Search Condition Parsing: Receives user-input search conditions, parses key fields, and supports filtering by business attribute fields to generate graph database interface call parameters.
[0045] S52, Graph Database Association Query and Multi-View Presentation: Calls the general graph access interface of the running system to perform graph database association queries based on search conditions;
[0046] For general entity data, it supports a hierarchical retrieval mode, allowing queries to be made from entity A to related entity B, from entity B to related entity A, or to query all entities associated with the target entity.
[0047] For entities with spatial relationships, the BeiDou coding joint query mode is supported. Using BeiDou grid coding as an intermediate link, entities A and B that share the same BeiDou coding can be retrieved, realizing spatial relationship queries across entity types.
[0048] S53. Aggregation of Search Results and Generation of Traceability Reports: Aggregate the related search results returned by the running system according to entity relationship type and entity category to generate a hierarchical search report;
[0049] First, group the related entities by relationship type, and then perform secondary aggregation by entity category.
[0050] As a further preferred embodiment of this technical solution: In S6, the specific operating steps include:
[0051] S61. The system constructs two core visualization views: a map and a graph. It supports split-screen layout display. The map view provides multiple layout mode switching, renders entity nodes and their relationships, and the map view displays the distribution of entity nodes with spatial coordinate attributes on the map based on the CIM base map.
[0052] S62. The atlas view and map view support interactive linkage.
[0053] A knowledge graph construction and operation system for engineering construction projects includes a data cleaning and governance module, a data storage module, a graph database access module, a graph database update module, and a visualization display module.
[0054] Data cleaning and governance module: Connects to the engineering construction project approval system and GIS spatial data source to perform data collection, consistency verification and standardization processing;
[0055] Data import module: Construct a graph database environment adapted to the storage and association of multi-source information of engineering construction projects, develop a data import tool, and write project approval data and GIS grid data processed by the data cleaning and governance module into the graph database in batches;
[0056] The graph database uses a graph database engine that supports multi-label nodes, multi-attribute edges, and has spatial indexing capabilities. The installation and deployment of the database engine and the initialization of the runtime environment are completed. A dedicated graph database instance for the project is created, and node label constraints and indexing strategies are configured to provide a basic graph database environment for subsequent data import and interface calls.
[0057] As a further preferred embodiment of this technical solution: Graph database access module: Develop graph database query and retrieval interface to support multi-source data association retrieval;
[0058] The graph database access module provides two types of interfaces: general graph access interface development and graph update interface development.
[0059] As a further preferred embodiment of this technical solution: Graph database update module: detects changes in multi-source data and performs incremental updates to the graph database;
[0060] Visualization module: Constructs a split-screen display interface for atlas view and map view, realizing bidirectional synchronization between atlas visualization and spatial visualization;
[0061] The graph view provides multiple layout modes for rendering entity nodes and their relationships;
[0062] The map view displays the distribution of entity nodes with spatial coordinate attributes based on the CIM base map.
[0063] Compared with the prior art, the beneficial effects of the present invention are:
[0064] 1. This invention solves the problem of fragmented multi-source data and improves cross-system collaboration efficiency. By unifying entity definitions and association rules through a two-layer standardization system of root schema and business schema, and combining data standardization governance, it performs field mapping, unique identification, and quality verification on multi-source heterogeneous data such as engineering approval, GIS space, and BIM model, breaking down data barriers between various business systems and building a complete information link for the entire project lifecycle;
[0065] 2. This invention enhances spatial correlation and traceability capabilities while balancing sharing and computational efficiency. It employs BeiDou grid coding to replace traditional latitude and longitude positioning, establishing grid-level spatial associations between project entities, GIS entities, and grid virtual entities. This avoids data sharing restrictions caused by confidential geographic coordinates while improving spatial computational efficiency, enabling precise two-way traceability of both business and spatial information.
[0066] 3. This invention achieves dynamic synchronous updates of the graph, ensuring data consistency and timeliness. Based on the entity and relationship rules defined in the schema, through an incremental update mechanism of entity change detection, node update, and relationship edge synchronization, it automatically identifies the addition, modification, and deletion status of source data and synchronizes it to the graph database, while maintaining transaction consistency, thus achieving synchronous iteration between the graph database and business source data;
[0067] 4. This invention supports intelligent applications in the engineering field and expands the value boundaries of geographic maps. It supports hierarchical semantic retrieval and joint querying of BeiDou-coded space, and combines the CIM platform to construct a two-way linkage between geographic maps and maps. By integrating semantic association and spatial visualization capabilities, it can provide core technical support for intelligent decision-making assistance in approval, automatic compliance review, and full life-cycle supervision of projects. Attached Figure Description
[0068] Figure 1 This is a flowchart illustrating the operation of a knowledge graph construction method for engineering construction projects according to the present invention.
[0069] Figure 2 This is a flowchart of the operation of step S2 in the method for constructing a knowledge graph for an engineering construction project according to the present invention.
[0070] Figure 3 This is a flowchart of the operation of step S3 in the method for constructing a knowledge graph for an engineering construction project according to the present invention.
[0071] Figure 4 This is a flowchart of the operation of step S4 in the method for constructing a knowledge graph for an engineering construction project according to the present invention.
[0072] Figure 5 This is a flowchart of the operation of step S5 in the method for constructing a knowledge graph for an engineering construction project according to the present invention.
[0073] Figure 6This is a schematic diagram of the architecture of a knowledge graph construction and operation system for engineering construction projects according to the present invention. Detailed Implementation
[0074] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0075] Example
[0076] Please see Figures 1-6 This invention provides a technical solution: a method for constructing a knowledge graph for engineering construction projects, comprising the following steps:
[0077] S1. Define the root schema and business schema of the knowledge graph of the construction project: The root schema defines the naming and writing rules of the business schema, and the business schema defines the entity definition and relationship definition of various business data.
[0078] Among them, the three major entity sets include engineering construction project information, approval information, and spatial entity information;
[0079] S2. Information Acquisition and Data Standardization Governance for Engineering Construction Projects: Connect to the engineering construction project approval system, collect basic project information, as well as drawings, GIS data, and BIM model spatial data, form a standardized project dataset, perform consistency verification and quality verification on the data entering the database, identify business entities from spatial data, and construct grid coding based on spatial location information;
[0080] S3. Import data into graph database: Develop a data import tool that adapts to the graph to construct the schema structure, import the spatial data of project approval information into the graph database respectively, and realize two-way traceability of review information, project and spatial location;
[0081] S4. Business Graph Schema Iteration and Graph Database Update: Based on the Schema entity type definition defined in S1, incremental update operations are performed on the inbound data to achieve synchronous iteration between the graph database and the source data.
[0082] S5. Graph Database Multi-Source Data Association Retrieval: Based on graph database, multi-source data association retrieval is performed. Through three steps, namely, retrieval condition parsing, association query execution, result aggregation and report generation, hierarchical retrieval and tracing of target entities and their related entities are realized.
[0083] S6. Interact with the CIM platform: Construct a split-screen display of CIM map and 2D atlas to achieve two-way synchronization of atlas visualization and spatial visualization.
[0084] In this embodiment, specifically: In S1, an instance schema for constructing an engineering construction project map is established. Based on the "Data Sharing and Exchange Standard 3.0 for Engineering Construction Project Approval Management System," this instance schema primarily satisfies the association of internal information tables within the engineering construction project. It uses the administrative division code (XZQHDM) as the key field to associate the engineering approval system table, approval process information table, and regional assessment information table.
[0085] The approval process code (SPLCBM) is used as the key field to link the approval stage information table, the approval item basic information table, and the project basic information table;
[0086] The project approval information table and the project basic information table are linked using the project code (GCDM) as the key field.
[0087] This includes establishing a spatial entity map instance schema. This schema primarily facilitates the association between engineering construction projects and surrounding spatial entity data. It uses Beidou code (beidouCode) as a key field to associate data such as roads, boundary lines, building BIM, municipal pipelines, and POIs.
[0088] In this embodiment, specifically: in S2, the specific operating steps include:
[0089] S21. Data Collection and Access: Obtain structured data such as basic project information, approval process information, and regulatory information from the engineering construction project approval system through interfaces or direct database connections. Simultaneously collect GIS spatial distribution data of the project area, including spatial entity data such as topography, roads and pipelines, land boundary lines, and buildings.
[0090] S22. Data standardization processing: The collected data is classified and standardized. For the structured data of the engineering construction project approval system, the fields are confirmed and mapped to ensure consistency with the schema defined in S1. For heterogeneous data from other sources, the ID field is uniquely valued and the entity identification rules are clarified. Beidou grid codes are generated for the spatial coordinate data, and finally a standardized engineering construction project dataset covering project approval, GIS space, and BIM model is formed.
[0091] Standardization refers to: Schema alignment of structured data, entity ID standardization of heterogeneous data, BeiDou grid coding generation of spatial data, and integration and aggregation of multiple types of data.
[0092] S23. Project Spatial Association Construction: Based on the project's geographical location information, extract the project coordinates or plot range, generate BeiDou grid codes for the project's spatial range, realize grid-level association between the project and surrounding GIS spatial data, and establish spatial association relationships between project entities and GIS entities and grid entities, thereby providing a spatial topology foundation for subsequent graph database import.
[0093] In this embodiment, specifically: in S3, the specific operating steps include:
[0094] S31. Data Import Tool Development: Develop a tool module for importing engineering construction project data into a graph database, including three core components: data source connector, schema mapper, and batch write interface.
[0095] The data source connector is responsible for connecting the engineering approval system database and the GIS spatial data source to read raw business data and spatial data.
[0096] The schema mapper performs entity recognition and relation extraction according to the knowledge graph schema defined in S1;
[0097] The batch write interface calls the Cypher execution engine or the batch import interface of the graph database to efficiently write entity and relationship data into the graph database;
[0098] S32. Engineering Approval Data Import: Using the data import tool developed in S31, the system connects to the database of the engineering construction project approval system, reads business table data such as basic project information, approval process information, approval stage information, and project approval item handling information, and writes them in batches into the graph database after schema mapping and JSON file generation, so as to realize the standardized import and storage of business entities such as projects, approval processes, approval stages, and handling items.
[0099] S33, GIS Grid Data Import: Using the data import tool developed in S31, it connects to the GIS spatial data source, reads spatial entity data such as roads, red lines, building BIM, municipal pipelines, and POIs, constructs Beidou grid codes (level 5, grid size approximately 128 meters) as spatial virtual entities, and writes them in batches into the graph database after schema mapping and JSON file generation, realizing the standardized import and storage of spatial entities, grid virtual entities and their spatial relationships;
[0100] After the data is entered into the database, the graph database automatically establishes a two-way traceability path between project entities and spatial entities based on the grid code.
[0101] In this embodiment, specifically: in S4, the specific operating steps include:
[0102] S41. Entity Change Detection: Based on the entity type name defined in the schema, query the existing entity nodes from the graph database and compare the source data record with the existing entities in the graph database;
[0103] Using the entity's unique identifier field (such as project code XMDM, engineering code GCDM, approval item acceptance code SPSXSLBM, etc.) as the matching key, determine the change type of each record:
[0104] If the corresponding entity does not exist in the graph database, it is determined to be a new operation;
[0105] If an entity exists and its attribute values change, it is considered a modification operation.
[0106] If the corresponding entity does not exist in the source data but exists in the graph database, it is determined to be a deletion operation.
[0107] S42. Entity Node Update: Perform the corresponding graph database operation based on the change type;
[0108] For new entities, create nodes and set attributes, with attribute field mapping based on the entity attribute specifications defined in the schema;
[0109] When modifying an entity, update the node attribute values while keeping the node identifier unchanged;
[0110] When deleting an entity, remove the node and its associated relationship edges to avoid dangling relationships;
[0111] S43. Synchronous Update of Relationship Edges: After the entity nodes are updated, the relationships between entities are updated synchronously. Based on the relationship types defined in the schema, changes in the relationships between entities are detected.
[0112] If a new entity association is established in the source data, create the corresponding relationship edge and set the relationship attributes;
[0113] If a relationship is removed from the source data, delete the corresponding relationship edge.
[0114] If the attributes of the association change, update the attributes of the association edges;
[0115] In this process, the updates of relation edges and entity nodes maintain transactional consistency, ensuring the integrity constraints of the graph database.
[0116] In this embodiment, specifically: in S5, the specific operating steps include:
[0117] S51. Search Condition Parsing: Receives user-input search conditions, parses key fields such as entity type, entity name, or entity ID (UUID format), and supports filtering by business attribute fields to generate graph database interface call parameters.
[0118] S52, Graph Database Association Query and Multi-View Presentation: Calls the general graph access interface of the running system to perform graph database association queries based on search conditions;
[0119] For general entity data, it supports a hierarchical retrieval mode, allowing you to query related entities B from entity A (A→B), query related entities A from entity B (B→A), or query all entities associated with the target entity.
[0120] For entities with spatial relationships, the BeiDou coding joint query mode is supported. Using BeiDou grid coding as the intermediate link, entities A and B (A-BeiDou-B) that share the same BeiDou coding can be retrieved, realizing spatial relationship queries across entity types.
[0121] The query results are presented simultaneously in a three-zone linked layout:
[0122] (1) Table Data View: Displays a list of related entities in a collapsible table format. It supports switching between different entity types using multiple tabs. The table column headers correspond to the standard fields defined in the Schema. Each row represents a related entity record. It supports selection, sorting, and column filtering operations.
[0123] (2) Entity Relationship Graph View: The force-directed graph algorithm is used to visualize and render the association results. The target entity is displayed as a highlighted node in the center, and the associated entities are distributed around it. The nodes are connected by directed edges and the relationship type is labeled. The graph displays topological statistics in real time and supports switching between multiple layout algorithms.
[0124] (3) Entity Attribute Details Panel: When a user selects an entity in a table or graph, the right panel displays the entity's complete attribute information in real time, including entity ID, name, type identifier and all business attribute fields. The attribute values are directly derived from the attribute storage of the graph database node.
[0125] S53. Aggregation of Search Results and Generation of Traceability Reports: Aggregate the related search results returned by the running system according to entity relationship type and entity category to generate a hierarchical search report;
[0126] First, the related entities are grouped according to the relationship type (delegation relationship, approval relationship, constraint relationship, inclusion relationship, temporal relationship, spatial relationship), and then aggregated in a secondary manner according to the entity category (basic project information, approval item processing, various permits / reviews / acceptance, GIS grid, etc.).
[0127] Each piece of related information in the report retains its traceability path in the graph database, allowing users to drill down level by level along the path of entity ID → relationship edge → related entity ID, realizing a hierarchical information display from macro-level relationship overview to micro-level detail tracing.
[0128] In this embodiment, specifically: in S6, the specific operating steps include:
[0129] S61. The system constructs two core visualization views: a graph and a map. It supports split-screen layout display. The graph view provides multiple layout modes such as force-directed graph and horizontal graph, and renders entity nodes and their relationships. The map view displays the distribution of entity nodes with spatial coordinate attributes on the map based on the CIM base map. The two views share the same graph database data source, and data updates in any view are synchronized to the other view in real time.
[0130] S62. The atlas view and the map view support interactive linkage. When a user clicks on an entity node in the atlas view, the system automatically locates and highlights the spatial position of the entity in the map view, and displays the entity's attribute information. When a user clicks on an entity marker in the map view, the system automatically highlights the entity node and its associated paths in the atlas view, and displays the entity's attribute information.
[0131] A knowledge graph construction and operation system for engineering construction projects includes a data cleaning and governance module, a data storage module, a graph database access module, a graph database update module, and a visualization display module.
[0132] Data Cleaning and Governance Module: This module connects to the engineering construction project approval system and GIS spatial data sources, performing data collection, consistency verification, and standardization processing. Based on a custom graph structure schema specification (named GraphStructure Schema, hereinafter referred to as Schema), this module classifies and unifies the format of basic project information, approval information, and spatial entity information. It generates BeiDou grid codes for spatial data according to the GB / T39409-2020 standard, forming a standardized project dataset.
[0133] Data import module: Construct a graph database environment adapted to the storage and association of multi-source information of engineering construction projects, develop a data import tool, and batch write project approval data and GIS grid data processed by the data cleaning and governance module into the graph database. This module realizes the standardized import and storage of project entities, approval item processing entities, various permit / review / acceptance entities, GIS grid entities and their relationships.
[0134] The graph database uses a graph database engine (such as Neo4j) that supports multi-label nodes, multi-attribute edges, and has spatial indexing capabilities. The installation and deployment of the database engine and the initialization of the runtime environment are completed. A dedicated graph database instance is created for the project, and node label constraints and indexing strategies are configured to provide a basic graph database environment for subsequent data import and API calls.
[0135] In this embodiment, specifically: Graph database access module: Develops graph database query and retrieval interface to support multi-source data association retrieval. This module receives the search conditions input by the user, parses key fields such as entity type, entity name or entity ID, calls the graph database interface to execute association query, retrieves the target entity and its associated GIS grid nodes, project basic information nodes, approval item processing nodes, etc., and generates an association retrieval result set;
[0136] The graph database access module provides two types of interfaces:
[0137] Development of a generic graph access interface: Based on the graph database kernel, a generic graph operation interface was developed, covering basic graph operations such as adding, deleting, modifying, and querying nodes and edges, updating attributes, and querying indexes. A unified API call entry point is provided, supporting standardized access to the graph database in subsequent steps via the interface, as shown in Table 1 below:
[0138] It should be further explained that the above table shows simplified interface names; the actual call path is / api / KnowledgeMap / {interface name}.
[0139] Knowledge graph update interface development: Addressing the dynamic maintenance needs of knowledge graphs, this development provides update interfaces such as entity addition, relation addition, entity attribute update, relation attribute update, entity deletion, and relation deletion, supporting real-time synchronization between the graph database and business systems. The graph update interface list is shown in Table 2 below.
[0140] It should be further explained that the table above uses simplified interface names; the actual call path is / api / KnowledgeMap / {interface name}.
[0141] In this embodiment, specifically: the graph database update module: detects changes in multi-source data and performs incremental updates to the graph database. This module determines the change type (addition, modification, deletion) of data records based on the entity type and unique identifier field defined in the schema, and performs entity node creation, attribute update, node deletion and relation edge synchronization update operations to ensure real-time synchronization between the graph database and the source data;
[0142] Visualization module: Constructs a split-screen display interface for atlas view and map view, realizing bidirectional synchronization between atlas visualization and spatial visualization;
[0143] The graph view provides multiple layout modes, such as force-directed graph and horizontal graph, to render entity nodes and their relationships;
[0144] The map view displays the distribution of entity nodes with spatial coordinate attributes based on the CIM base map. The two views support interactive linkage. Clicking on an entity in the map or atlas can achieve bidirectional positioning highlighting and attribute information display.
[0145] Example 2
[0146] Taking "a certain industrial park construction project" as an example, the method and system of this invention will be fully described.
[0147] The project is under construction and has passed the approval stages of land use planning permit and construction permit. It is currently in the construction permit stage.
[0148] The main information of the project is as follows: Project Code, Engineering Code, Project Name "Construction Project of a Certain Industrial Park", Construction Location XX City XX High-tech Zone (latitude and longitude coordinates, CGCS2000 coordinate system), Construction Unit XX Co., Ltd., Approving Authority XX City High-tech Zone Economic Development Bureau, Approval Date XXXX-XX-XX, Total Investment XX million yuan, Construction Scale Total Building Area XX million square meters (R&D Center, Incubator, Supporting Service Facilities).
[0149] In this embodiment, data such as the project basic information table, approval process information table, and approval item handling information table from the approval system are collected, as well as spatial entity data of the project area (land boundary line, surrounding roads, underground pipelines, etc., see Appendix 3 for details), thereby breaking down the barriers between project information, review information and spatial entity information, and realizing the association and integration of information across the entire domain and spatial location and full life cycle traceability.
[0150]
[0151] The following explanations are provided in sequence, from S1 to S6.
[0152] S1. Define the knowledge graph instance schema.
[0153] S11. Establish an instance schema for constructing an engineering construction project map. Based on the "Data Sharing and Exchange Standard 3.0 for Engineering Construction Project Approval Management System," this instance schema primarily satisfies the association of internal information tables within the engineering construction project.
[0154] The administrative division code (XZQHDM) is used as the key field to link the engineering approval system table, the approval process information table, and the regional assessment information table;
[0155] The approval process code (SPLCBM) is used as the key field to link the approval stage information table, the approval item basic information table, and the project basic information table;
[0156] The project approval information table and the project basic information table are linked using the project code (GCDM) as the key field.
[0157] S12. Establish a spatial entity map instance schema. This schema primarily satisfies the association between engineering construction projects and surrounding spatial entity data. It uses Beidou code (beidouCode) as the key field to associate data such as roads, boundary lines, building BIM, municipal pipelines, and POIs.
[0158] S2. Information Acquisition and Data Standardization Governance for Engineering Construction Projects
[0159] Connect to the engineering construction project approval system, collect basic project information, as well as drawings, GIS data, and BIM model spatial data, to form a standardized project dataset, perform consistency verification and quality verification on the data entering the database, identify business entities from the spatial data, and construct grid coding based on spatial location information;
[0160] S21. Data Collection and Access: Obtain structured data such as basic project information, approval process information, and regulatory information from the engineering construction project approval system through interfaces or direct database connections.
[0161] Collect GIS spatial distribution data of the project area, including spatial entity data such as topography, roads and pipelines, land boundary lines, and buildings (see Appendix 3 for details).
[0162] S22. Data Normalization Processing: Classify and normalize the collected data. For the structured data in the engineering construction project approval system, perform field verification and mapping validation to ensure consistency with the schema defined in S1;
[0163] Each entity is required to have a unique ID value.
[0164] S23. Spatial grid calculation: Extract spatial information of engineering construction projects and surrounding spatial entities, and calculate their BeiDou two-dimensional grid location codes.
[0165] Specifically, extract the XMJWDZB field value of the project's latitude and longitude coordinates for the "Industrial Park Construction Project", parse the coordinate point string to obtain the center coordinates of the land parcel (CGCS2000 coordinate system) and calculate the BeiDou two-dimensional grid location code (such as "N50I642A677").
[0166] Linear and planar objects are used to calculate multiple BeiDou two-dimensional grid location codes based on their geometry.
[0167] S3, Import Data into Graph Database
[0168] Develop a data import tool that adapts to the schema structure of the graph, and import engineering approval information and spatial data into the graph database respectively.
[0169] S31. Data Import Tool Development: Develop a tool module for importing engineering construction project data into a graph database, including three core components: data source connector, schema mapper, and import to graph database module.
[0170] The data source connector is responsible for connecting the engineering approval system database and the GIS spatial data source to read raw business data and spatial data.
[0171] The schema mapper performs entity recognition and relation extraction according to the knowledge graph schema defined in S1;
[0172] The import to graph database module calls the graph database's Cypher execution engine or batch import interface to efficiently write entity and relation data into the graph database;
[0173] S32. Engineering Approval Data Import: Using the data import tool developed in S31, the system connects to the database of the engineering construction project approval system, reads business table data such as basic project information, approval process information, approval stage information, and project approval item handling information, and writes them in batches into the graph database after schema mapping and JSON file generation, so as to realize the standardized import and storage of business entities such as projects, approval processes, approval stages, and handling items.
[0174] S33, GIS Grid Data Import: Using the data import tool developed in S31, it connects to the GIS spatial data source, reads spatial entity data such as roads, red lines, building BIM, municipal pipelines, POI, and Beidou grid, and writes them into the graph database in batches after schema mapping and JSON file generation, realizing the standardized import and storage of spatial entities, grid virtual entities and their spatial relationships.
[0175] After the data is entered into the database, the graph database automatically establishes a two-way traceability path between project entities and spatial entities based on the grid code.
[0176] Specifically, taking Neo4j graph database as an example, the data import tool writes the schema mapping artifacts into the graph database through the "Input Graph Database" component.
[0177] Read the project basic information table (such as project code, project name, construction unit, construction location, total investment, etc.), approval process information table, project approval item handling information table, etc., and generate nodes such as Entity_XMJBXXB, Entity_SPGL_SPLCXXB, and Entity_SPGL_SPSXBLXXB through schema mapping;
[0178] Among them, the administrative division code (XZQHDM), approval process code (SPLCBM), and project code (GCDM) serve as associated fields. Project entities directly establish inter-table associations (Rel relationships) with approval process entities and matter handling entities, forming a hierarchical association network of "project-process-matter".
[0179] Read GIS entities such as land parcels, roads, and pipelines, and generate nodes such as Entity_GIS_Plot, Entity_GIS_Road, and Entity_GIS_Pipeline;
[0180] Meanwhile, the Beidou grid code (e.g., N50I642A677) obtained by encoding the center coordinates of the project according to the grid (e.g., level 5, with each grid cell being approximately 123 meters) is used as the spatial attribution attribute between the project entity and various plots, roads, and pipeline entities. The project entity and various plots, roads, and pipeline entities are all connected through direct inter-table associations (Rel_Spatial relationship), forming a direct two-way association between "project entity and GIS entity".
[0181] After the data is entered into the database, the graph database establishes a two-way traceability path between project entities and spatial entities based on the grid code: all spatial entities within the same grid can be located from the project node along the table association (Rel_Spatial);
[0182] Conversely, any GIS entity can be traced back to its associated project along this association.
[0183] S4. Business Graph Schema Iteration and Graph Database Update
[0184] Based on the Schema entity type definition defined in S1, incremental update operations are performed on the inbound data to achieve synchronous iteration between the graph database and the source data.
[0185] S41. Entity Change Detection: Based on the entity type names defined in the schema, query existing entity nodes from the graph database and compare the source data records with the existing entities in the graph database. Using the entity's unique identifier field (such as project code XMDM, engineering code GCDM, approval item acceptance code SPSXSLBM, etc.) as the matching key, determine the change type of each record:
[0186] If the corresponding entity does not exist in the graph database, it is determined to be a new operation;
[0187] If an entity exists and its attribute values change, it is considered a modification operation.
[0188] If the corresponding entity does not exist in the source data but exists in the graph database, it is determined to be a deletion operation.
[0189] S42. Entity Node Update: Execute the corresponding graph database operation according to the change type: For new entities, create nodes and set attributes, with attribute field mapping based on the entity attribute specification defined in the schema;
[0190] When modifying an entity, update the node attribute values while keeping the node identifier unchanged;
[0191] When deleting an entity, remove the node and its associated relationship edges to avoid dangling relationships.
[0192] S43. Synchronous Update of Relationship Edges: After the entity nodes are updated, the relationships between entities are updated synchronously. Based on the relationship types defined in the schema, changes in the relationships between entities are detected.
[0193] If a new entity association is established in the source data, create the corresponding relationship edge and set the relationship attributes;
[0194] If a relationship is removed from the source data, delete the corresponding relationship edge.
[0195] If the attributes of the relationship change, update the attributes of the relationship edges.
[0196] Updates to relation edges and entity nodes maintain transactional consistency, ensuring the integrity constraints of the graph database.
[0197] Specifically, the update record of the project code XMDM is obtained from the approval system, and the entity node is queried in the graph database according to the "Engineering Project" entity type defined in the Schema.
[0198] If the query result is empty, create a new project node, set the project name XMMC, construction unit JSDW, construction location JSDD and other attributes, and establish a relationship edge with the approval process node (associated through SPLCBM).
[0199] If an existing node is found, compare the attribute values. If the total investment amount (ZTZE) has changed, perform a node attribute update operation.
[0200] At the same time, a new construction permit record was detected for the project, a construction permit node was created, and a relationship edge was established with the project node (via GCDM).
[0201] If the source data marks the project as deregistered, then delete the project node and all its associated relationship edges.
[0202] S5, Graph Database Retrieval and Report Generation
[0203] Based on graph databases, multi-source data association retrieval is performed. Through three steps, namely, retrieval condition parsing, association query execution, result aggregation and report generation, hierarchical retrieval and tracing of target entities and their related entities can be achieved.
[0204] S51. Search Condition Parsing: Receives user-input search conditions, parses key fields such as entity type, entity name, or entity ID (UUID format), and supports filtering by business attribute fields to generate graph database interface call parameters.
[0205] Specifically, the user selects the entity type "Project Basic Information Table", enters one of the entity names in "A Certain Industrial Park Construction Project" "A Certain Industrial Park Building A", and the system parses and generates the interface call parameters {entityType:"SPGL_XMJBXXB", entityName:"A Certain Industrial Park Building A", matchMode:"fuzzy"}.
[0206] The platform calls the ` / api / KnowledgeMap / GetEntityByName` method, and the backend returns all information (including attributes) for that project. To query related "approval item processing information," the platform calls the ` / api / KnowledgeMap / GetAEntityByBEntity` method, with parameters including the project entity ID and the target entity type "XMSPSXBLXXB." The backend then returns all related approval item processing information.
[0207] S52. Graph Database Association Query. The system calls the general graph access interface of the running system to perform a graph database association query based on the search conditions, and presents the query results in a multi-view cascading manner. Association queries support the following two modes:
[0208] (1) Hierarchical retrieval mode (applicable to general entities). It supports querying the associated B entity from entity A (A→B), querying the associated A entity from entity B (B→A), or querying all entities associated with the target entity, realizing the hierarchical drilling down of the relationship between entities.
[0209] (2) Beidou Coding Joint Query Mode (applicable to entities with spatial relationships). Using Beidou grid coding as the link, cross-type entities sharing the same grid coding (denoted as A-Beidou-B) are retrieved to realize cross-entity type spatial relationship query of "project-spatial entity". The nodes are labeled with Spatial relationship type.
[0210] In practice, when a user enters the target entity "a certain industrial park construction project" in the search panel, the system performs a step-by-step search through the general graph access interface, returns the results, and presents them in three interconnected sections:
[0211] Table Data View: Returns 6 records of project approval items (construction planning permit, building construction permit, completion acceptance filing, etc.), listed in a collapsible table;
[0212] Entity Relationship Graph View: Renders a force-directed graph centered on the project node (blue, center) and surrounding the approval department nodes (red) corresponding to the 6 approval items. There are a total of 7 nodes and 6 relationships. The relationship type between the nodes is labeled "Contain" (the project contains approval items).
[0213] Entity Attribute Details Panel: Selecting a node displays its complete attributes in the right panel, such as project code GCDM, approval process code SPLCBM, etc.
[0214] S53. Aggregation of Search Results and Generation of Traceability Reports: The system hierarchically classifies and groups the entities and relationships returned by the related search according to the relationship type and entity category, and generates a traceable hierarchical search report.
[0215] Specifically, the associated entities are first grouped according to the relationship type (delegation relationship, approval relationship, constraint relationship, inclusion relationship, temporal relationship, spatial relationship) so that the scattered graph results can form a readable structure such as "approval type / spatial type / temporal type";
[0216] Within each relationship type group, entities are further grouped into secondary groups based on their category (basic project information, approval procedures, various permits / reviews / acceptances, GIS grids, etc.) to facilitate users in quickly locating entities of the same type.
[0217] Each piece of related information in the report retains its traceability path in the graph database, allowing users to drill down step by step along "entity ID → relationship edge → associated entity ID" to achieve hierarchical tracing from macro-level relationship overview to micro-level details.
[0218] Specifically, the report generated by S53 contains the following information: (a) Approval relationship group: contains 3 approval records such as “Construction Project Planning Permit”, “Construction Project Construction Permit”, and “Completion Acceptance Filing”. Each record can be traced back to the original node in the graph database through the path entityId→relation→entityId;
[0219] (b) Spatial Relationship Group: This group includes the BeiDou grid N50I642A677 associated with this project and the associated land parcels and road entities within its range. Based on this, users can click on the "Construction Project Planning Permit" node to drill down along the traceability path to the detailed attributes of the permit (permit number, approval time, responsible entity, etc.), enabling micro-level detail tracing.
[0220] S6, Interacting with the CIM Platform
[0221] Based on the existing graph database and BeiDou grid spatial association, the system constructs a dual-view split-screen display of CIM map and 2D map, realizing bidirectional synchronous linkage between map visualization and spatial visualization;
[0222] Based on the dual-view architecture, it supports cross-view spatial association retrieval and engineering construction project impact reasoning, deeply integrating the semantic association capabilities of the knowledge graph with the spatial visualization capabilities of the CIM platform to form an integrated spatial interaction of engineering approval information, combining the knowledge graph and the map.
[0223] S61. The system constructs two core visualization views: a graph and a map, supporting split-screen layout display. The graph view offers multiple layout modes such as force-directed graph and horizontal graph, rendering entity nodes and their relationships;
[0224] The map view displays the distribution of entity nodes with spatial coordinate attributes on the map based on the CIM base map. Both views share the same map database data source, and data updates in either view are synchronized to the other view in real time.
[0225] S62. The atlas view and the map view support interactive linkage. When a user clicks on an entity node in the atlas view, the system automatically locates and highlights the spatial position of the entity in the map view, while simultaneously displaying the entity's attribute information;
[0226] When a user clicks on a marker point of an entity in the map view, the system automatically highlights the entity node and its associated paths in the atlas view, and displays the entity's attribute information.
[0227] S63. Impact Reasoning of Engineering Construction Projects. Building upon the dual-view linkage of S61 and S62, the system uses the associated data from the graph database to reason about and judge the potential environmental and traffic impacts of the target engineering construction project.
[0228] The specific method is as follows: using the Cypher statement with the target project's identifier or its BeiDou grid code as the retrieval entry point, query the project node and all spatial entities (plots, roads, pipelines, POIs, etc.) associated with it via Rel_Spatial, and aggregate the project attribute information with the surrounding spatial information as inference input;
[0229] Then, the analysis is carried out according to the preset impact judgment rules—if the associated spatial entities include road-type entities, it is determined that the project has an impact on the surrounding traffic, and the degree of impact is assessed in combination with the road grade and the associated distance;
[0230] If the project includes municipal pipelines, green spaces, or environmentally sensitive points of interest (POIs), it is determined that the project has an impact on the surrounding environment. The reasoning result is linked to the visual context. Figure 1 And present:
[0231] The graph view highlights project nodes and their spatial relationships, while the map view labels affected entities and outputs the impact type and a list of affected entities.
[0232] In the specific implementation process, when a user clicks on a spatial location in the CIM map view, the system calculates the BeiDou grid code (such as N50I642A677) to which the location belongs based on the BeiDou standard. Using this grid code as the retrieval entry point, the system queries the graph database for entity nodes that have a spatial relationship (Rel_Spatial) with it, including project entities, land parcel entities, road entities, pipeline entities, etc.
[0233] The system highlights these related entity nodes and their associated paths in the atlas view, locates and marks them in the map view, and displays the attribute information of each entity.
[0234] Based on the above rules, it is deduced that: the project is associated with road entities, it is determined that it has an impact on surrounding traffic, the codes of the affected entities are obtained, and the scope of impact and associated paths are simultaneously identified in the dual views accordingly.
[0235] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for constructing a knowledge graph for engineering construction projects, characterized in that, Includes the following steps: S1. Define the root schema and business schema of the knowledge graph of the construction project: The root schema defines the naming and writing rules of the business schema, and the business schema defines the entity definition and relationship definition of various business data. S2. Information Acquisition and Data Standardization Governance for Engineering Construction Projects: Connect to the engineering construction project approval system, collect basic project information, as well as drawings, GIS data, and BIM model spatial data, form a standardized project dataset, perform consistency verification and quality verification on the data entering the database, identify business entities from spatial data, and construct grid coding based on spatial location information; S3. Import data into graph database: Develop a data import tool that adapts to the graph to construct the schema structure, import the spatial data of project approval information into the graph database respectively, and realize two-way traceability of review information, project and spatial location; S4. Business Graph Schema Iteration and Graph Database Update: Based on the Schema entity type definition defined in S1, incremental update operations are performed on the inbound data to achieve synchronous iteration between the graph database and the source data. S5. Graph Database Multi-Source Data Association Retrieval: Based on graph database, multi-source data association retrieval is performed. Through three steps, namely, retrieval condition parsing, association query execution, result aggregation and report generation, hierarchical retrieval and tracing of target entities and their related entities are realized. S6. Interact with the CIM platform: Construct a split-screen display of CIM map and 2D atlas to achieve two-way synchronization of atlas visualization and spatial visualization.
2. The method for constructing a knowledge graph for engineering construction projects according to claim 1, characterized in that: In S2, the specific operating steps include: S21. Data Collection and Access: Obtain multiple structured data from the engineering construction project approval system through interfaces or direct database connections, and simultaneously collect GIS spatial distribution data of the project area; S22. Data standardization processing: The collected data is classified and standardized. For the structured data of the engineering construction project approval system, the fields are confirmed and mapped to ensure consistency with the schema defined in S1. For heterogeneous data from other sources, the ID field is uniquely valued and entity identification rules are clarified. Beidou grid codes are generated for spatial coordinate data, and finally a standardized engineering construction project dataset covering project approval, GIS space, and BIM model is formed. S23. Project Spatial Association Construction: Based on the project's geographical location information, extract the project coordinates or plot range, generate BeiDou grid codes for the project's spatial range, realize grid-level association between the project and surrounding GIS spatial data, and establish spatial association relationships between project entities and GIS entities and grid entities, thereby providing a spatial topology foundation for subsequent graph database import.
3. The method for constructing a knowledge graph for engineering construction projects according to claim 1, characterized in that: In S3, the specific operating steps include: S31. Data Import Tool Development: Develop a tool module for importing engineering construction project data into a graph database, including a data source connector, a schema mapper, and a batch write interface; The data source connector is responsible for connecting the engineering approval system database and the GIS spatial data source to read raw business data and spatial data. The schema mapper performs entity recognition and relation extraction according to the knowledge graph schema defined in S1; The batch write interface calls the Cypher execution engine or the batch import interface of the graph database to efficiently write entity and relationship data into the graph database; S32. Engineering Approval Data Import: Using the data import tool developed in S31, the system connects to the database of the engineering construction project approval system, reads business table data, generates JSON files through schema mapping, and writes it in batches into the graph database to achieve standardized storage of business entities. S33, GIS Grid Data Import: Using the data import tool developed in S31, it connects to the GIS spatial data source, reads spatial entity data, constructs Beidou grid codes as spatial virtual entities, and writes them in batches into the graph database after schema mapping and JSON file generation, realizing the standardized import and storage of spatial entities, grid virtual entities and their spatial relationships. After the data is entered into the database, the graph database automatically establishes a two-way traceability path between project entities and spatial entities based on the grid code.
4. The method for constructing a knowledge graph for an engineering construction project according to claim 1, characterized in that: In S4, the specific operating steps include: S41. Entity Change Detection: Based on the entity type name defined in the schema, query the existing entity nodes from the graph database and compare the source data record with the existing entities in the graph database; Use the entity's unique identifier field as the matching key to determine the change type of each record: If the corresponding entity does not exist in the graph database, it is determined to be a new operation; If an entity exists and its attribute values change, it is considered a modification operation. If the corresponding entity does not exist in the source data but exists in the graph database, it is determined to be a deletion operation. S42, Entity Node Update: Perform the corresponding graph database operation based on the change type; For new entities, create nodes and set attributes, with attribute field mapping based on the entity attribute specifications defined in the schema; When modifying an entity, update the node attribute values while keeping the node identifier unchanged; When deleting an entity, remove the node and its associated relationship edges to avoid dangling relationships; S43. Synchronous Update of Relationship Edges: After the entity nodes are updated, the relationships between entities are updated synchronously. Based on the relationship types defined in the schema, changes in the relationships between entities are detected. If a new entity association is established in the source data, create the corresponding relationship edge and set the relationship attributes; If a relationship is removed from the source data, delete the corresponding relationship edge. If the attributes of the association change, update the attributes of the association edges; In this process, the updates of relation edges and entity nodes maintain transactional consistency, ensuring the integrity constraints of the graph database.
5. The method for constructing a knowledge graph for an engineering construction project according to claim 1, characterized in that: In S5, the specific operating steps include: S51. Search Condition Parsing: Receives user-input search conditions, parses key fields, and supports filtering by business attribute fields to generate graph database interface call parameters. S52, Graph Database Association Query and Multi-View Presentation: Calls the general graph access interface of the running system to perform graph database association queries based on search conditions; For general entity data, it supports a hierarchical retrieval mode, allowing you to query related entities B from entity A, query related entities A from entity B, or query all entities associated with the target entity. For entities with spatial relationships, the BeiDou coding joint query mode is supported. Using BeiDou grid coding as an intermediate link, entities A and B that share the same BeiDou coding can be retrieved, realizing spatial relationship queries across entity types. S53. Aggregation of Search Results and Generation of Traceability Reports: Aggregate the related search results returned by the running system according to entity relationship type and entity category to generate a hierarchical search report; First, group the related entities by relationship type, and then perform secondary aggregation by entity category.
6. The method for constructing a knowledge graph for an engineering construction project according to claim 1, characterized in that: In S6, the specific operational steps include: S61. The system constructs two core visualization views: a map and a graph. It supports split-screen layout display. The map view provides multiple layout mode switching, renders entity nodes and their relationships, and the map view displays the distribution of entity nodes with spatial coordinate attributes on the map based on the CIM base map. S62. The atlas view and map view support interactive linkage.
7. A knowledge graph construction and operation system for engineering construction projects, characterized in that: It includes modules for data cleaning and governance, data import, graph database access, graph database update, and visualization. Data cleaning and governance module: Connects to the engineering construction project approval system and GIS spatial data source to perform data collection, consistency verification and standardization processing; Data import module: Construct a graph database environment adapted to the storage and association of multi-source information of engineering construction projects, develop a data import tool, and write project approval data and GIS grid data processed by the data cleaning and governance module into the graph database in batches; The graph database uses a graph database engine that supports multi-label nodes, multi-attribute edges, and has spatial indexing capabilities. The installation and deployment of the database engine and the initialization of the runtime environment are completed. A dedicated graph database instance for the project is created, and node label constraints and indexing strategies are configured to provide a basic graph database environment for subsequent data import and interface calls.
8. The knowledge graph construction and operation system for engineering construction projects according to claim 7, characterized in that: Graph database access module: Develops graph database query and retrieval interfaces to support multi-source data association retrieval; The graph database access module provides two types of interfaces: general graph access interface development and graph update interface development.
9. The knowledge graph construction and operation system for engineering construction projects according to claim 8, characterized in that: Graph database update module: detects changes in multi-source data and performs incremental updates to the graph database; Visualization module: Constructs a split-screen display interface for atlas view and map view, realizing bidirectional synchronization between atlas visualization and spatial visualization; The graph view provides multiple layout modes for rendering entity nodes and their relationships; The map view displays the distribution of entity nodes with spatial coordinate attributes based on the CIM base map.
