<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Interoperability in petroleum production plants: A case study on the DEXPI P&amp;ID specification</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Rafael H. Petry</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Nicolau O. Santos</string-name>
          <email>nicolau.santos@inf.ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabrício H. Rodrigues</string-name>
          <email>fabricio.rodrigues@inf.ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Haroldo R. S. Silva</string-name>
          <email>hrssilva@inf.ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Régis K. Romeu</string-name>
          <email>regisromeu@ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>David Cameron</string-name>
          <email>davidbc@ifi.uio.no</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mara Abel</string-name>
          <email>marabel@inf.ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>João C. Netto</string-name>
          <email>netto@inf.ufrgs.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Informatics Institute, Federal University of Rio Grande do Sul (INF-UFRGS). Av. Bento Gonçalves</institution>
          ,
          <addr-line>9090 - Agronomia, Porto Alegre - RS, 91540-000</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>dScience Centre for Computational and Data Science, University of Oslo.</institution>
          <addr-line>Oslo</addr-line>
          ,
          <country country="NO">Norway</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This work investigates semantic and syntactic interoperability capabilities on a Piping and Instrumentation Diagram (P&amp;ID) model of engineering plants. Our analysis extends to a case study involving the Data Exchange in the Process Industry (DEXPI) specification, emphasizing the need for well-founded ontological relationships. By mapping P&amp;ID classes of the DEXPI representation model to the Ofshore Petroleum Production Plant Ontology (O3PO), we aim to clarify and regulate the semantics of P&amp;ID entities and structuring relations. While technical interoperability between DEXPI P&amp;IDs and BFO-based domain ontologies is achievable, we identify challenges in semantic interoperability of the standard, including issues related to clarity, conciseness, extensibility, consistency, and essence. These challenges could bottleneck seamless system integration and pose adoption barriers for the DEXPI P&amp;ID specification beyond the information handover use case.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Semantic Interoperability</kwd>
        <kwd>Ontology</kwd>
        <kwd>Piping and Instrumentation Diagrams (P&amp;IDs)</kwd>
        <kwd>Oil and Gas</kwd>
        <kwd>Data EXchange in the Process Industry (DEXPI)</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Piping and Instrumentation Diagrams (P&amp;IDs) are documents employed to exchange information
concerning installations, equipment, and related elements [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. P&amp;IDs utilize predefined symbols to illustrate
pipes, process equipment, and control systems without adhering to scale or geographical orientation.
They are the most important documents for the maintenance and evolution of any installation in the
industry, providing information essential for equipment manufacturing, installation, commissioning,
start-up, and ongoing plant operation.
      </p>
      <p>P&amp;IDs have a long and evolving technical history, initially as physical drawings and later in digital
formats, for Computer-Aided Design (CAD) and Computer-Aided Engineering (CAE) applications. In
complex installations, such as petroleum plants, several companies may be involved in the refinement
and upgrades of the diagrams, struggling to exchange data between diferent pieces of software from
diferent vendors. Indeed, one important related problem is interoperability. Interoperability refers to
the efective exchange of information and understanding to collectively pursue common objectives.</p>
      <p>A remarkable initiative of the industry to provide homogeneous data interchange between P&amp;ID
projects from diverse vendors refers to the Data EXchange in the Process Industry (DEXPI) Association,
which develops and promotes a common data exchange standard for the process industry, covering
all phases of the process-plant lifecycle. The DEXPI solution includes: a conceptual model (the P&amp;ID
specification), an exchange format (the ProteusXML schema) and links to the Posc Caesar ontology
(based on the ISO 15926). The conceptual model intends to organize and represent the entities that
build industrial plants, while ProteusXML is the language that allows the formal description of the
diagrams, and the links to the ontology provide useful definitions. Many important P&amp;ID CAD/CAE
software vendors are currently ofering an option to import or export their data following the DEXPI
standard and it is still an ongoing work.</p>
      <p>Even if it contains some semantic capabilities, the DEXPI solution is basically a technical
interoperability resource, focused on format data exchanging between commercial software. We recognize
that the DEXPI solution conceptual model can be thought as a kind of weak ontology, but this is
diferent from a well-founded ontology. The DEXPI solution also provides some linking for a third-party
ontology, but only to provide some definitions. The DEXPI solution does not organically derive from
this third-party ontology.</p>
      <p>We have explored the DEXPI solution in the context of a Research and Development (R&amp;D) project
for a petroleum production digital twin1. More specifically, we have invested in trying to couple the
DEXPI solution to a well-founded ontology developed in the project, named O3PO. After all, in our
digital twin context, we had to be more ambitious about semantic interoperability.</p>
      <p>We have mapped the DEXPI conceptual model classes to the ontological entities of the Ofshore
Petroleum Production Plant Ontology (O3PO), necessitating a thorough semantic analysis of the DEXPI
model. Our primary objective is to present the findings of this analysis. This means to make explicit
the gap between a mostly technical interoperability tool, good for some purposes, and a more complete
semantic interoperability perspective, required for more advanced uses. We observed some good
matches but also some challenges, like some vague, missing, and overlapping definitions in the DEXPI
model.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Theoretical Background</title>
      <p>This section introduces the problem of the data exchange in engineering planning and the technologies
that this work adopted to express and verify the semantics of the entities that build an instrumentation
diagram.</p>
      <sec id="sec-2-1">
        <title>2.1. Data Exchange, Data Integration, Data Interoperability and Semantic</title>
      </sec>
      <sec id="sec-2-2">
        <title>Interoperability</title>
        <p>
          Interoperability is multidimensional, encompassing diverse perspectives and approaches across various
application domains [
          <xref ref-type="bibr" rid="ref2 ref3 ref4">2, 3, 4</xref>
          ]. In the realm of interoperability between systems, it is commonly defined as
the ability/capability of two (or more) systems or components to exchange information and to efectively
use the information that has been exchanged [
          <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
          ]. Other definitions emphasize capabilities such as
sharing knowledge eficiently and safely [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], or that the exchange of data should occur with minimal
loss of content and functionality [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ].
        </p>
        <p>
          Interoperability is also separated into diferent levels, distinguishing syntactic, technical and semantic
interoperability:
• Syntactic interoperability refers to describing the exact representation of the information to be
exchanged in terms of grammar and format [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
• Technical interoperability is viewed as the capability of exchanging information [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. It is
associated with data integration services, data presentation, and exchange activities [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ].
1More information at https://www.petwin.org/
• Semantic interoperability is the capability of using the given information [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. It guarantees that
data exchange makes sense and that the parties involved have a shared understanding of the
meanings of the data [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ].
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>2.2. The Data EXchange in the Process Industry (DEXPI) Specification</title>
        <p>
          The DEXPI initiative seeks to address interoperability challenges within the process industry by
establishing standardized digital communication norms, facilitating seamless data exchange across the
industry’s life cycle, from development to maintenance [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. One key focus is the standardized exchange
of P&amp;IDs across CAE tools from diferent vendors. The DEXPI P&amp;ID specification is a well-known
format that various CAE system providers adopt. The objective of the specification is to allow vendors
to exchange P&amp;IDs so that diferent systems can use the same data inside a company, keeping data
exchange costs to a minimum.
        </p>
        <p>The design approach of separating specification (DEXPI) from implementation (ProteusXML) requires
aligning P&amp;ID files, initially in the ProteusXML format, with the DEXPI conceptual model. To efectively
handle Proteus files within this framework, the P&amp;ID Toolbox provides a comprehensive implementation
of the DEXPI information model. Additionally, this toolbox streamlines the processes of importing,
exporting, and visualizing DEXPI P&amp;IDs as images. Figure 1 shows an example of a P&amp;ID.</p>
      </sec>
      <sec id="sec-2-4">
        <title>2.3. The Ofshore Petroleum Production Plant Ontology (O3PO)</title>
        <p>
          The Ofshore Petroleum Production Plant Ontology (O3PO) 2 is a public reference domain ontology of
petroleum plants that uses BFO[
          <xref ref-type="bibr" rid="ref14">14</xref>
          ] as a top-level ontology [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. O3PO is the product of an
industryacademia project in Brazil called PeTWIN3. The project focused on developing digital twins for ofshore
petroleum production plants, including the semantic infrastructure. Besides using BFO, O3PO imports
the core ontology produced by Industrial Ontologies Foundry (IOF-Core) and the core ontology for
Geosciences (GeoCore). These middle-level ontologies also use BFO as a top-level ontology.
        </p>
        <p>
          There are three main uses for O3PO: (1) to define what are the main types of entities between the
subsurface reservoir and the surface platform; (2) to determine the main properties that inhere on those
entities; and (3) to follow the fluid path from the reservoir to the platform[
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. O3PO was initially
created to deal with the substantial time-series data sources in an ofshore oil plant, from surface
2Avalaible at https://github.com/BDI-UFRGS/O3POntology.
3More information at https://www.petwin.org/
facilities to subsea equipment and wells in Brazil’s Pre-Salt. Since then, several uses for ontology have
been discovered, and it has continually grown.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Interoperability Analysis of DEXPI P&amp;ID Specification</title>
      <p>In this section, we will present how the diferent subdivisions of interoperability (i.e., syntactic, technical,
and semantic interoperability) manifest themselves in the DEXPI P&amp;ID specification. Showcasing the
tools, descriptions, and situations in which the specification achieves diferent interoperability and has
room for improvement.</p>
      <sec id="sec-3-1">
        <title>3.1. Syntactic and Technical Interoperability Analysis</title>
        <p>
          Syntactic interoperability requires an exact and well-defined representation format for information
to be properly exchanged. The DEXPI P&amp;ID standard currently adopts the ProteusXML4 schema
as its exchange format. The standard’s documentation also points direct mappings from the DEXPI
Information Model to ProteusXML patterns [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. The pnb Toolbox Library5 can be used in order to
map from the ProteusXML format to the DEXPI Information Model without the need of implementing
the parser and mapping manually.
        </p>
        <p>Technical interoperability, on the other hand, is associated with data integration services and data
exchange activities. On that matter, many CAE systems provide automated services to import/export
P&amp;IDs using the DEXPI P&amp;ID standard6. This allows third-party applications to exchange P&amp;ID data
with such CAE systems without the need for vendor-specific integration.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Semantic Interoperability Analysis</title>
        <p>Semantic interoperability requires that the parties involved have a shared understanding on the meaning
of the exchanged data. The DEXPI P&amp;ID specification presents several definitions to contextualize the
elements in a process plant, and many of them are based on definitions from POSC Caesar 7. Despite that,
there are flaws in the definitions of many other terms that compose the specification, which hinders its
semantic interoperability capabilities. We analyze some of these issues below.</p>
        <p>Vague definitions Certain elements within the DEXPI standard exhibit vague definitions and require
a comprehensive grasp of the standard’s structure and access to industry-specific glossaries for proper
comprehension. Examples of this issue include the definitions of DEXPI:Piping Component as “A
piping component”, and DEXPI:ColumnSection, defined as “A column section”, lacking contextualization or
specific and explicit identity criteria for the identification of its instances.</p>
        <p>With vague definitions, the interpretation is left to the reader of the model, which can lead to issues
if the recipient of the information has a conceptualization diferent from the sender’s. For instance, a
pump is classified as “equipment” in the DEXPI standard and is likely distinct from “piping components”,
yet some consider it as a piping component. This raises questions about what exactly constitutes a
piping component. If the definition is limited to only tubes, then valves would not be considered piping
components; however, if it includes any item through which a fluid passes, then valves, tubes, and
even the insulation of tubes would be classified as components. Conversely, thermal insulation would
not qualify as a component if the definition restricts it to items where the fluid directly contacts their
walls. This ambiguity in classification highlights the need for precise definitions to ensure uniform
understanding and application across diferent contexts.
4Available at: https://github.com/ProteusXML
5Available at: https://www.plants-and-bytes.de/en/p-id-and-dexpi
6Available at: https://dexpi.org/software/
7Available at: https://data.posccaesar.org/rdl/
Missing definitions Despite the large number of classes in the DEXPI specification, such as
DEXPI:</p>
        <sec id="sec-3-2-1">
          <title>PipingComponent, DEXPI:PipingNetworkSegment, and DEXPI:PipingNode, which define elements in</title>
          <p>terms of being part of a piping, the standard lacks a clear definition of what constitutes a “piping”. This
absence of definition poses challenges when attempting to state, for instance, that DEXPI:PipingComponent
is a piping component, as the concept of a piping system is not explicitly defined.</p>
          <p>Consequently, one must resort to terms like O3PO:Pipeline as an approximation to the implicit
DEXPI notion of what a piping system entails.</p>
          <p>Another case of missing definitions seems to be the DEXPI:PipeFitting, defined as “A pipe fitting”,
without resorting to any external definition. By analyzing its subclasses, the class seems to refer to
passive elements assembled between two pipes, like strainers, fittings, and line blinds, that we could
categorize as valves.</p>
          <p>Collapsed definitions An illustrative example of a lack of definition and collapsed terms is
DEXPI:SafetyValveOrFitting, denoted in the specification as “A safety valve or fitting”. From an ontological
viewpoint, this definition muddies the distinction between diferent types of entities: pipe fittings and
valves, both serving the role of ensuring safety. Within the O3PO model, the sole common class
encompassing pipe fittings and valves is IOF:MaterialArtifact. Had the standard implemented separate classes
for each, it would have enabled the diferentiation between the elements that define their identity and
those that specify their utility. The absence of a valve class raises further questions, particularly
regarding how one might quantify the number of valves within a plant. Despite the seemingly straightforward
nature of this query, it necessitates a manual count of instances, encompassing DEXPI:OperatedValves,
DEXPI:Check Valve, and non-safety fitting instances of DEXPI:SafetyValveOrFitting. Given that these
instances are distributed among various subclasses of DEXPI:PipingComponent and no clear criteria
exist within the DEXPI:CustomSafetyValveOrFitting class to diferentiate between valves and fittings,
this tallying process necessitates human intervention.</p>
          <p>Contradictory definitions In DEXPI specification, a Piping Network Segment is defined in POSC
Caesar as something composed of inanimate physical objects. In DEXPI, a Piping Network Segment
Item is defined as something that can be part of a Piping Network Segment. However, in DEXPI, Piping
Network Segment Item is subclassed as PipeOfPageConnector, which is an “Abstract Class” defined as
“A connector that indicates that a piping network segment is continued elsewhere, either on the same
PID or on another PID. Graphically, it is usually represented as an arrow”.</p>
          <p>Custom Object Role One parent class present across the DEXPI specification is the DEXPI:
CustomObject (defined as “The abstract base class of all custom classes”), which diferentiates classes initially
defined in the standard from user-defined ones. The standard currently counts 57 custom classes, all
sharing the same pattern.</p>
          <p>The issue with custom classes is that instead of relying on the entity responsible for defining a class
like “this class is defined in DEXPI 1.3” or “this class was defined by organization X,” its members are
defined in a case-by-case manner, using the same pattern of “a DEXPI:CustomY is a Y and is not covered
by any of the other subclasses of Y.” This means that to support the representation of any of the custom
classes in DEXPI, one needs to be able to represent and diferentiate all other subclasses of the parent
class.</p>
          <p>Diferentiability of equipment As far as redundancy goes, there are also classes like
DEXPI:TaggedColumnSection that exist to convey that an item is a DEXPI:ColumnSection and is tagged. In
the same way, as in previous examples, it is quite interesting to note that a column section is still the
same whether it is tagged or not, and the only diference is this relation with a tag that does not afect
the identity of the column. The precision and clarity of a model presuppose that the entity has a single
representation and that non-specialization properties, like “having a tag,” should not define new entities
but be inserted as dependent properties of the entity.</p>
        </sec>
        <sec id="sec-3-2-2">
          <title>The same definitions in diferent places Within the DEXPI specification, the class DEXPI: In</title>
          <p>linePrimaryElement (defined as “An inline primary element”) encompasses ten distinct subclasses. Two of
these subclasses stand out: the DEXPI:FlowMeasuringElement and the DEXPI:
ElectromagneticFlowMeter. The former is defined as “A FLOW MEASURING ELEMENT is a MEASURING ELEMENT that measures a
FLOW RATE”. In contrast, the latter is “A velocity flow meter that measures the flow rate of a conductive fluid
running through a magnetic field by measuring the charge created when fluid interacts with the field”.</p>
          <p>This scenario perfectly illustrates a case where an electromagnetic flow meter inherently functions
as a flow-measuring element due to its ability to measure flow. However, in the DEXPI specification,
both classes are categorized as direct subclasses of DEXPI:InlinePrimaryElement, thus implying that
we can not classify one entity under both classes.</p>
          <p>A similar scenario arises when considering DEXPI:HeatExchanger and DEXPI:CoolingTower. The
former is “An apparatus or machine that has the capability of heat exchanging”. In contrast, the latter is defined
as “A cooler and an air-cooled heat exchanger that is a tall structure through which air circulates by convection”.
Notably, the definition of DEXPI:CoolingTower explicitly states that it is an “air-cooled heat exchanger”.
Despite this clear relationship, the DEXPI standard does not classify DEXPI:CoolingTower as a subclass
of DEXPI:HeatExchanger, showcasing a discrepancy between the definitions and the classification
within the standard.</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Experimenting with DEXPI P&amp;ID data importing</title>
      <p>As demonstrated, DEXPI facilitates syntactic and technical interoperability but falls short of providing
semantic interoperability. To address this gap, an experiment was conducted to showcase potential
solutions. The experiment utilized the O3PO ontology alongside a subset of DEXPI packages, specifically
those whose terms overlap with O3PO categories. This approach allowed for a deeper integration of
data and systems by aligning terms from diferent standards under a unified semantic framework.</p>
      <p>One of our goals is assessing to which degree one can achieve semantic interoperability between
process plant descriptions adhering to DEXPI and O3PO. In the context of ofshore oil and gas production,
both models depict some aspects of reality in common. Also, the capacity to convert elements described
in the DEXPI standard to an ontological model provides us access to tools such as query languages and
tools common to the ontology community, such as graph databases and query languages, reasoning,
fact-checking, and so on.</p>
      <p>Both the standard data model and O3PO cover, to some degree, physical quantities, component types,
and connection topology. If these data could be seamlessly integrated, one could easily make a query for
pressure data (with the aid of the Information Artifact Ontology (IAO) alongside O3PO) of all elements
along the piping (piping and connections represented in DEXPI).</p>
      <p>Within the framework of the DEXPI standard, distinct packages focus on various facets of a production
plant integration possibilities within specific packages. Package Piping stands out for its depiction
of connection topology, while both Package Equipment and Package Piping contribute by outlining
diverse equipment types within the plant. Additionally, Package PhysicalQuantities proves valuable in
elucidating the array of physical quantities associated with production elements, such as surface areas
of frequencies.</p>
      <p>To assess the overlap of intended models between the conceptualizations of DEXPI and O3PO, a
classification process is proposed to establish a depiction of DEXPI classes with O3PO classes and
relationships, using elements from its imported ontologies when necessary. We selected the DEXPI
P&amp;ID specification packages based on their apparent overlap with represented elements in O3PO.
Package piping and equipment were chosen for this study, aligning with the component types and
relations in O3PO.</p>
      <p>After a more in-depth analysis of the selected DEXPI packages, the most representative classes
identified were PipingComponent and Equipment. From there, their subclasses were analyzed down
the taxonomy, stopping whenever new terms brought out the same meaning as their parent classes.
In addition, other classes help to explain dependent concepts. While some of the established
correspondences rely on concepts directly defined in O3PO, many require definitions from O3PO’s imported
ontologies, such as IOF-Core for more general terms like assemblies and systems or BFO for capabilities
and functions. It is essential to note that we considered only classes and relations defined in these
important ontologies and imported by O3PO for the analysis.</p>
      <p>By applying this methodology, we have formulated O3PO classifications for some DEXPI piping and
equipment classes (exemplified by Table 1), while simultaneously pinpointing the specific challenges
for the cases that render the classification unfeasible.</p>
      <p>Consider the case of the DEXPI:PipingComponent, as outlined in the DEXPI specification as “A piping
component”. Given the vague nature of its definition, by taking into consideration its subtypes and the
understanding that P&amp;IDs primarily illustrate assemblies rather than individual components, one can
classify DEXPI:PipingComponent as a BFO:MaterialEntity and BFO:bearer_of some BFO:Function, and
IOF:prescribedBy some IOF:DesignSpecification and O3PO:component_of some O3PO:Pipeline.</p>
      <p>Based on that, we can also specify DEXPI:InlinePrimaryElement, defined in the DEXPI specification
as “An inline primary element”. Since the definition is also lacking specificity, the fact that it is a subclass
of DEXPI:PipingComponent and all its subclasses are used to perform some measurement, we can say
that a DEXPI:InlinePrimaryElement is a BFO:MaterialEntity, and a BFO:bearer_of some BFO:Function,
and is IOF:prescribedBy some IOF:DesignSpecification, and a O3PO:component_of some O3PO:Pipeline,
and IOF:hasCapability some IOF:MeasurementCapability.</p>
      <p>Even though all the elements represented in a P&amp;ID diagram are part of piping, that seems to
be the only diference between DEXPI:Equipment, defined as “An apparatus or machine”, and
DEXPI:</p>
      <sec id="sec-4-1">
        <title>PipingComponent.</title>
        <p>Through this classification, we clarified the semantics of the entities represented in a P&amp;ID and
provided support for the operator to understand the meaning and intrinsic restriction of the modeled
entities. Also, O3PO supports a description of the DEXPI entities while utilizing domain-specific
vocabulary tailored to the Oil and Gas industry. Moreover, this approach equips us with a foundational
framework built upon ontological principles, fostering open accessibility, collaborative development,
and enhanced interoperability.</p>
        <p>Further possibilities remain open for mapping the two models, such as establishing a correspondence
between DEXPI and O3PO topology models. DEXPI’s topology is structured around nodes associated
with elements and their interconnections, whereas O3PO presents its topology through connections
and fluid supply properties.</p>
        <p>Another possibility is the use of O3PO for the creation of a Comprehensive Information Base (CIB),
integrating data from various sources, including DEXPI P&amp;IDs. By allowing the complementing of
the data in the P&amp;ID with other information sources, we could bridge the gap between classifications.
This enhancement could help accurately categorize valve types such as GasLiftValve, ChokeValve, or
InflowControlValve.</p>
        <p>Integrating the DEXPI standard with the O3PO presented several challenges, including imprecise
term definitions, potentially redundant or overly vague definitions that rely on previous understanding
of those familiar with the subject matter, the absence of a superclass in definitions, the complexities
of multiple inheritances and collapsed entities or relations. These limitations lead us to search the
correspondence between the entities primarily based on the entity name, a common practice for mapping
models that results in false agreements. This section will elaborate on these challenges to ofer a more
comprehensive understanding.</p>
        <p>Representing elements from the DEXPI standard in OWL using the O3PO domain ontology afords
a dual advantage. From the technical interoperability perspective, it enables the execution of queries
leveraging languages such as SPARQL, facilitating information retrieval from process plants structured
in alignment with the DEXPI standard. Simultaneously, from a semantic standpoint, it empowers the
utilization of a domain-specific vocabulary and conceptual framework to encapsulate plant-related
data. Beyond these advantages, it facilitates seamless integration and aggregation of information from
diverse sources and supports fact-checking and reasoning for instances within the O3PO context. Figure
3 portrays the diverse information transitioned from the initial P&amp;ID to the final O3PO instances,
showcasing the potential outcomes achievable by mapping topological correlations and equipment
between O3PO and DEXPI.</p>
        <p>To address the translation of data from the DEXPI file format (ProteusXML) to a conceptual model
the pnb Toolbox Library, ofered by pnb plants &amp; bytes 8, was used, simplifying the complexities of
the format. This data was then converted into an N-Triples file using specific mapping rules, focusing
on elements from the DEXPI equipment and piping specifications. Using the Hermit reasoner, we
processed this data to identify inconsistencies and generate new information.</p>
        <p>
          An application was developed to validate this process, taking a ProteusXML file and converting
it into triples that were further mapped to the O3PO model using the parser. The conversion and
reasoning capabilities were enhanced with a custom module developed using the Owlready2 Python
library9, which supports sophisticated ontology-based applications [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ]. This setup efectively maps
and categorizes plant components such as pipes and valves, facilitating detailed information extraction
8Available at: https://www.plants-and-bytes.de/en/
9More information at: https://owlready2.readthedocs.io/en/latest/
and validation of the mapped data.
        </p>
        <p>Upon receiving a ProteusXML file adhering to the DEXPI specification that delineates a plant featuring
components like pipes, valves, separators, and nozzles, the application undertakes the task of mapping
these elements to the O3PO model and subsequently infers their inherent attributes. Subsequently,
following the described procedures, the process of categorizing DEXPI classes into corresponding O3PO
classes is executed, followed by reasoning to extract comprehensive information associated with the
identified elements.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Concluding Remarks</title>
      <p>This study approaches interoperability from multiple perspectives by facilitating technical
interoperability between the P&amp;ID representation standard (DEXPI) utilized by diverse software vendors
and domain ontologies like O3PO tailored to represent the oil and gas production plant environment.
Additionally, the study highlights instances where semantic interoperability between DEXPI and O3PO
conceptualizations is feasible and instances where it is not.</p>
      <p>While various tools are available to handle standards and technologies, the practical feasibility of
achieving technical interoperability between DEXPI P&amp;IDs and ontologies represented in OWL becomes
evident. However, the predominant challenges remain within the realm of semantic interoperability.
The presence of ambiguous and often vague definitions poses a significant hurdle to seamless systems
integration.</p>
      <p>As a potential avenue for further contribution, future work could extend this approach of categorizing
instances into well-founded ontologies to cover the entire DEXPI standard by taking advantage of
diferent ontologies to represent various aspects of the standard, thus serving as a valuable guide for
future standards development and patching. Although the primary focus of the DEXPI revolves around
enhancing interoperability between CAE tools, it is increasingly observed in the literature that various
other applications adopt the description as a standard. These applications leverage the available tooling
and the standard’s publicly available documentation. However, if the DEXPI standard were to evolve
into a de facto standard for representing P&amp;IDs, the highlighted issues could potentially bottleneck its
adoption and hinder the ease of integration into diferent systems.</p>
    </sec>
    <sec id="sec-6">
      <title>Acknowledgments</title>
      <p>The authors acknowledge CAPES-Brazil Finance Code 001, the Brazilian Agency CNPq, and the Petwin
Project, supported by FINEP, Libra Consortium (Petrobras, Shell Brasil, Total Energies, CNOOC, CNPC).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M.</given-names>
            <surname>Toghraei</surname>
          </string-name>
          ,
          <article-title>Piping and instrumentation diagram development</article-title>
          , John Wiley &amp; Sons,
          <year>2019</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>T. C.</given-names>
            <surname>Ford</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Colombi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. R.</given-names>
            <surname>Graham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. R.</given-names>
            <surname>Jacques</surname>
          </string-name>
          ,
          <article-title>A survey on interoperability measurement</article-title>
          ,
          <source>Gateways</source>
          <volume>2</volume>
          (
          <year>2007</year>
          )
          <article-title>3</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>D.</given-names>
            <surname>Gürdür</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Asplund</surname>
          </string-name>
          ,
          <article-title>A systematic review to merge discourses: Interoperability, integration and cyber-physical systems</article-title>
          ,
          <source>Journal of Industrial Information Integration</source>
          <volume>9</volume>
          (
          <year>2018</year>
          )
          <fpage>14</fpage>
          -
          <lpage>23</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Žiga</given-names>
            <surname>Turk</surname>
          </string-name>
          , Interoperability in construction - mission impossible?,
          <source>Developments in the Built Environment</source>
          <volume>4</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>IEEE</surname>
          </string-name>
          ,
          <article-title>Ieee standard computer dictionary: A compilation of ieee standard computer glossaries</article-title>
          ,
          <source>IEEE Std 610</source>
          (
          <year>1991</year>
          )
          <fpage>1</fpage>
          -
          <lpage>217</lpage>
          . doi:
          <volume>10</volume>
          .1109/IEEESTD.
          <year>1991</year>
          .
          <volume>106963</volume>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <surname>ISO</surname>
          </string-name>
          , ISO 25964-2:2013:
          <article-title>Information and Documentation : Thesauri and Interoperability with Other Vocabularies. Interoperability with other vocabularies</article-title>
          ,
          <source>ISO</source>
          ,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>L. F.</given-names>
            <surname>Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Graciolli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L. F. D.</given-names>
            <surname>Ros</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Abel</surname>
          </string-name>
          ,
          <article-title>A conceptual framework for rock data integration in reservoir models based on ontologies</article-title>
          ,
          <source>Int. J. Monit. Surveill. Technol. Res</source>
          .
          <volume>5</volume>
          (
          <year>2017</year>
          )
          <fpage>71</fpage>
          -
          <lpage>82</lpage>
          . doi:
          <volume>10</volume>
          .4018/IJMSTR.2017010104.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J.</given-names>
            <surname>Riley</surname>
          </string-name>
          , Understanding metadata, Washington DC,
          <source>United States: National Information Standards Organization</source>
          <volume>23</volume>
          (
          <year>2017</year>
          )
          <fpage>7</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>E.</given-names>
            <surname>Commission</surname>
          </string-name>
          , D.-G. for Informatics,
          <article-title>New European interoperability framework : promoting seamless services and data flows for European public administrations</article-title>
          ,
          <source>Publications Ofice</source>
          ,
          <year>2017</year>
          . doi:doi/10.2799/78681.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>T.</given-names>
            <surname>Benson</surname>
          </string-name>
          , G. Grieve, Why Interoperability Is Hard, Springer International Publishing, Cham,
          <year>2021</year>
          , pp.
          <fpage>21</fpage>
          -
          <lpage>40</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>030</fpage>
          -56883-
          <issue>2</issue>
          _
          <fpage>2</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S.</given-names>
            <surname>Heiler</surname>
          </string-name>
          ,
          <article-title>Semantic interoperability</article-title>
          ,
          <source>ACM Comput. Surv</source>
          .
          <volume>27</volume>
          (
          <year>1995</year>
          )
          <fpage>271</fpage>
          -
          <lpage>273</lpage>
          . doi:
          <volume>10</volume>
          .1145/210376. 210392.
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>D.</given-names>
            <surname>Initiative</surname>
          </string-name>
          , Dexpi p&amp;
          <source>id specification, Version</source>
          <volume>1</volume>
          .3 (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>M.</given-names>
            <surname>Wiedau</surname>
          </string-name>
          , L. von
          <string-name>
            <surname>Wedel</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          <string-name>
            <surname>Temmen</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          <string-name>
            <surname>Welke</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          <string-name>
            <surname>Papakonstantinou</surname>
          </string-name>
          ,
          <article-title>Enpro data integration: Extending dexpi towards the asset lifecycle</article-title>
          ,
          <source>Chemie Ingenieur Technik</source>
          <volume>91</volume>
          (
          <year>2019</year>
          )
          <fpage>240</fpage>
          -
          <lpage>255</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>J. N.</given-names>
            <surname>Otte</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Beverley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ruttenberg</surname>
          </string-name>
          , Bfo: Basic formal ontology,
          <source>Applied Ontology</source>
          <volume>17</volume>
          (
          <year>2022</year>
          )
          <fpage>17</fpage>
          -
          <lpage>43</lpage>
          . doi:
          <volume>10</volume>
          .3233/AO-220262,
          <fpage>1</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>N. O.</given-names>
            <surname>Santos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F. H.</given-names>
            <surname>Rodrigues</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Schmidt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. K.</given-names>
            <surname>Romeu</surname>
          </string-name>
          , G. Nascimento,
          <string-name>
            <surname>M.</surname>
          </string-name>
          <article-title>Abel, O3po: A domain ontology for ofshore petroleum production plants</article-title>
          ,
          <source>Expert Systems with Applications</source>
          <volume>238</volume>
          (
          <year>2024</year>
          )
          <fpage>122104</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>L.</given-names>
            <surname>Jean-Baptiste</surname>
          </string-name>
          ,
          <article-title>Ontologies with Python: Programming OWL 2.0 Ontologies with Python and Owlready2</article-title>
          , Springer,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>