Abstract
Semantic rule checking on RDFS/OWL data has been widely used in the construction industry. At present, semantic rule checking is mainly performed on static models. There are still challenges in integrating temporal models and semantic models for combined rule checking. In this paper, Semantic Petri-Net (SPN) is proposed as a novel temporal modeling and validating method, which implements the states and transitions of the Colored Petri-Net directly based on RDFS and SPARQL, and realizes two-way sharing of knowledge between domain semantic webs and temporal models in the runtime. Several cases are provided to demonstrate the possible applications in digital twins with concurrent state changes and dependencies.
Introduction
In the evolving landscape of Building Information Modeling (BIM) and Digital Twins, the industry has achieved significant success in "static" rule checking. Using ontologies like RDFS and OWL, engineers can verify if a door meets size specifications or if structural elements clash. However, Digital Twins are intended to be living models that reflect changes over time.
Current semantic tools struggle with temporal rules: determining if a construction sequence is valid or if real-time sensor data permits the next phase of operation. Traditionally, temporal models (like Finite State Machines) and semantic models (ontologies) have existed in separate silos. This paper bridges that gap by introducing the Semantic Petri-Net (SPN), a framework that allows for "two-way sharing" of knowledge between data and process during runtime.
Methodology
The authors build their framework on Colored Petri-Nets (CPN), a mathematical modeling language used to describe concurrent systems. The innovation of SPN lies in implementing this logic using standard Semantic Web technologies:
- Structure in RDFS: "Places" (data containers), "Transitions" (logic gates), and "Arcs" (connections) are all defined as RDFS classes and properties.
- Logic in SPARQL: Instead of hard-coded logic, SPN uses SPARQL queries as "Guard Rules." A transition only triggers if a SPARQL
ASKquery returns true or aSELECTquery identifies the appropriate tokens. - LDP Integration: SPN "Places" are treated as Linked Data Platform (LDP) containers, ensuring compatibility with modern web standards for data management.
- Downward Compatibility: To ensure that existing mathematical tools for analyzing Petri-Nets (such as deadlock detection) remain functional, the authors provide a three-step "unfolding" process to convert an SPN back into a standard CPN.
Key Insights: Latent Connections
One of the most significant advantages of the SPN framework is its ability to handle "latent" semantic connections. In a standard Petri-Net, every dependency must be represented by an explicit arc, which can lead to visual "spaghetti" in complex models.
In SPN, a transition can "look" at the wider semantic web via SPARQL to verify if a condition is met elsewhere in the model. This allows the model to maintain logical rigor without requiring a physical line for every dependency, greatly simplifying the net's visual complexity.
Results and Evaluation
The SPN framework was evaluated using two primary engineering cases:
- Construction Process Data: A simulation of a 90-day construction schedule for an office building involving over 7,000 objects. The system performed over 441,000 rule checks and triggered 8,200 transitions in just 712 seconds.
- BIM Exchange Rules: Checking data compliance for property existence based on the IFC4 Reference View. The SPN managed 119 "checking pipes" and 1,865 rule nodes, completing the task in 253 seconds.
These results demonstrate that SPN is performant enough for real-world engineering tasks, leveraging the vast amount of existing domain knowledge (like the ifcOWL ontology) without needing format translation.
Conclusion
SPN provides a robust bridge between temporal logic and semantic data, enabling Digital Twins to react dynamically to real-time data changes. While the current manual composition of these models is challenging for non-experts, future work will focus on developing user-friendly interfaces and integrating formal temporal logic (like Linear Temporal Logic) for safety-critical applications.
Summary updated