Ontology-Based Analysis of Manufacturing Processes: Lessons Learned from the Case Study of Wire Harness Production

Effective information management is critical for the development of manufacturing processes. +is paper aims to provide an overview of ontologies that can be utilized in building Industry 4.0 applications. +e main contributions of the work are that it highlights ontologies that are suitable for manufacturing management and recommends the multilayer-network-based interpretation and analysis of ontology-based databases. +is article not only serves as a reference for engineers and researchers on ontologies but also presents a reproducible industrial case study that describes the ontology-based model of a wire harness assembly manufacturing process.


Introduction
Managing information and data from production systems is critical for digital transformation, especially in Industry 4.0 applications, where the horizontal and vertical integration of systems requires more efficient data processing. More efforts have been made to standardize this area, such as the ANSI/ ISA-95 international standard or RAMI 4.0 (Reference Architectural Model Industrie 4.0) [1]. Furthermore, there are ongoing studies in the field of different methodologies and data structurization that aim to support productionrelated decision-making processes [2] or create models without simulation software-specific knowledge [3]. For a similar purpose, process mining solutions were also developed to discover, analyze, and improve business processes based on event logs of information systems [4,5].
Semantic data-based modelling structures the data in a specific logical way [6]. Ontology models also contain semantic information to provide a basic meaning of the data and describe their internal relationships [7]. Knowledge graph models provide a framework for data integration, processing, analytics, and sharing as a collection of interlinked descriptions of entities-objects, events, or concepts [8,9]. Figure 1 shows the emerging trend of research papers related to ontologies. As can be seen, the technology appeared around 2002, and the rapidly increasing number of publications in the topic knowledge graphs confirms its success and wide applicability range.
Because of the importance of horizontal and vertical integration in Industry 4.0, ontologies are being used in production systems to share information over an increasingly wide range [1]. Manufacturing companies are faced with many information sharing tasks such as B2M, M2M, and B2B (communication channels between business (B) and/or machine (M) units) [10,11]. e information has to be transferred between information systems, optimization methods, or digital twin simulators [12]. Due to the growing demand, the previously proposed developments for ISA-95, ISA-88, AutomationML (Automation Markup Language), and B2MML (Business to Manufacturing Markup Language) industry standards as well as frameworks have intensified [1]; moreover, these are based on knowledge graphs or ontologies.
During the fourth industrial revolution, new methods emerged to deal with this problem, and it can be stated that ontology modelling [13] and knowledge representation are part of the future trends [14], which can be presented using knowledge graphs. A knowledge graph is a programmatic method that subject-matter experts use to model a knowledge domain using data interlinking and machine learning algorithms. Its tasks refer to removing noise, inferring missing information, and determining which facts should be included in a knowledge graph [15]. Also, new collaboration groups are forming as the Industrial Ontology Foundry (IOF) [16,17] or the European H2020 project OntoCommons: ontology-driven data for industry commons [18] in order to standardize and to support the industry with advanced data interoperability, using reference ontologies. Another problem is the need to improve the efficiency of assembly processes in the manufacturing industry, where computer-aided process planning (CAPP) is gaining importance, which aims to identify appropriate resources while minimizing the total assembly time [19].
is is similar to the emerging importance of resource allocation and process planning in the modern industry [20].
Studies of Gartner Hype Cycle for Emerging Technologies, 2020 [21,22], predict that ontologies and graphs as technological solutions are going to be available in two to five years. However, these are classified under the trough of disillusionment section, which means these technologies require special precautions to be applied effectively. Ontology modelling can be used for BPR (business process reengineering) or the development of control systems. Furthermore, it is of great importance as a form of system modelling in the concept of Industry 4.0 [23] and digital twin simulations [9]. e importance of this field is also proven by the development of RAMI 4.0 [23] and the other most widely used industrial system models that are characterized such as ADACOR (ADAptive holonic COntrol aRchitecture) for distributed manufacturing systems [24]. e challenges of ontology modelling and analysis of manufacturing processes are summarized as follows: (i) Data processing, structurization, and interoperability (ii) Standardization in the industry (iii) Modelling of manufacturing processes (iv) Horizontal and vertical integration (v) Share information (vi) Knowledge representation (vii) Improve the efficiency of assembly processes (viii) Process planning One of the central questions of the digital transformation is how a production system can be utilized to fulfil all the requirements of Industry 4.0 while following state-of-the-art developments. e purpose of our article is to draw attention to each difficulty, and the proposed case study guides as to how these solutions can be effectively applied. We provide an overview of the state of ontologies and standards of manufacturing modelling. We present a well-documented open-source OWL-XML (Web Ontology Language-Extensible Markup Language) based wire harness manufacturing benchmark. e presented case study has already been used to verify production flow analysis [25] and an assembly line balancing problem [26].
is work aims to precisely describe the ontologies of manufacturing processes through a detailed case study and provide guidance on development for researchers and engineers to apply this method and identify further R&D potentials. erefore, we present an effective development methodology suitable for developing production-related ontologies and knowledge graphs. As Figure 2 shows, the methodology consists of the following steps: (I) Data collection: (i) Find the relevant quantitative and qualitative factors of the manufacturing process, and then appropriately collect the data. (ii) Perform preprocessing on the raw data and transform the production data into ontologybased datasets.
(II) Ontology modelling: (i) Establish the basic structural network of the production process and include interactions between groups/classes. (ii) Determine descriptive and influential factors of the system as cost parameters, requirements, or optimizable elements. (iii) Develop the desired ontology using appropriate software and connect datasets of production processes with the developed ontology.
(III) Advanced manufacturing analytics: (i) Analyze the previously defined descriptive and influential factors with data queries and analyses.   (ii) Because of the outstanding network analysis and visualization capabilities, it is worth generating labelled multilayer networks from these ontology models and graph databases [25,27].
Additionally, an essential step of our methodology (also highlighted in Figure 2) is the application of visualization tools that can be beneficial during ontology modelling and advanced manufacturing analytics phases as well. Appropriate visualization of the created ontology with a UML (Unified Modelling Language) or graph diagrams can support the development process or provide additional internal information about the manufacturing procedure. In Section 3, the applied software modules regarding the entire manufacturing-based ontology development methodology are presented. e novelties of this paper are the following: (i) In Section 2, the formulation of the main problem is introduced, including the most relevant standardised elements of the manufacturing industry as well as the main features of semantic and ontological modelling technologies. Furthermore, several application examples of semantic and ontology technologies are studied. (ii) Section 3 introduces an ontology development methodology with a wire harness assembly benchmark. e applied software solutions and the applicability of a multilayer-network-based analysis approach are demonstrated. (iii) In Section 4, the results and final contributions are presented in detail.

Elements of the Developed Ontology-Based Framework
In this section, following the steps of our methodology (see in Figure 2), we present an overview of the relevant standards and modelling methods that are used nowadays in industrial practice such as ISA-95 in Section 2.1; the semantic and syntax elements and the most commonly used ontologies in the manufacturing industry are given in Section 2.2; and finally, ontology-based solutions for production are presented in Section 2.3.

ISA-95-Based Standardised Representation of
Manufacturing. e application of a standard can improve the enterprise and manufacturing processes of a company in many ways, such as by reducing costs, enhancing how efficient the flow of information between stakeholders and different enterprise levels or human and physical segments is, and handling data management challenges [28]. Figure 3 summarizes the relevant international standards available in connection with smart manufacturing, which is categorized according to their fields of application. At the intersection of Business and Supply Chain Logistics and Manufacturing Operations Management (Figure 3), the ANSI/ISA-95 (IEC 62264 from the International Electrotechnical Commission) standard is found, which uses a five-level hierarchical control model to represent the Business Logistics, Manufacturing Operations Management, Production Control, and Production Process functions [29,30]. It is a widely used international standard produced by the International Society of Automation for developing an automated interface between enterprise and control systems [1]. ISA-95 can be potentially related to the creation of a manufacturing process ontology or knowledge graph, such as (i) Product/process/model hierarchy (ii) Product capability model (iii) Role-based equipment hierarchy Different model parts from IEC 62264 are linked together logically to define the hierarchy of submodels as shown in Figure 4. e production information defines what was made and used in the process, that is, which elements correspond to information during production scheduling that listed what was to be made and used. e production scheduling elements correspond to the product definition that shows what is specified to make a product. e process segment descriptions are defined by the product definition elements that prove what can be done with the production resources according to the information available. Process Specification and Production Capability prove the main information about the resources [31]. Figure 5 shows a UML (Unified Modelling Language) [32] diagram describing the Production Capability model regarding IEC 62264, and the information from subclasses represents the capability and capability property characteristics of Personnel, Equipment, and Materials. ere are several new methods/frameworks for the standardization and modelling of modern production automation such as IICF (Industrial IoT Connectivity Framework), IIRA (Industrial Internet Reference Architecture) [33], NIST (National Institute of Standards and Technology) [34], and RAMI [35]. e basic principle of these methods is similar to the ISA-95 standard; it organizes the production/ manufacturing processes into a unified hierarchy, allowing for the appropriate communication of information.
Integrating the industrial aspects with linked data and semantic technologies leads us to a knowledge graph solution. We will continue with semantic modelling in the following section.

Semantic Modelling, Ontologies, and Description
Methods of Manufacturing Systems. In this section, our goal is to provide a simple overview of describing the previously mentioned production standards using the most critical elements of semantics and syntax. is section provides the necessary theoretical background to understand the specific semantic models used in ontologies and description methods of a manufacturing system. Furthermore, we summarize the most relevant ontological methods amongst others to describe production systems within the scope of Industry 4.0. e RAMI and the AutomationML framework are discussed more widely as the literature review shows that leading state-of-the-art research is related to RAMI.
e Semantic Web Stack (see Figure 6) illustrates the hierarchy of (web) languages, where each layer uses the capabilities of the layers below it. It represents how technologies (which are standardised for the Semantic Web) are organized to make the Semantic Web possible [36]. A realistic architecture for the Semantic Web must be based on multiple independent but interoperable stacks of languages [37,38]. Ontology and knowledge graph development require these synergistic syntaxes in the same way. e main principles are the RDF (Resource Description Framework) [39] and OWL (Web Ontology Language) [40]. e RDFS (RDF Schema) provides interoperability between applications that exchange machine-understandable information on the web. It has a wide range of applications, for example, resource discovery to provide better search engine capabilities or to describe the content and content relationships available on a particular website. OWL can develop domain-specific schemas and ontologies (so-called metamodels) and represent the meaning of terms in vocabularies and the relationships between such terms. RDF triples can be utilised to extend a graph between unique data instances, collect general data, and express semantics, attributes, and hierarchies [41]. Another principle uses URI (Uniform Resource Identifier) to link data by creating triple sentences with subjects, predicates, and objects [42]. Figure 7 shows a visualised example. e operator plays the role of the subject, which has a data property link (about) to additional data concerning the operator data, skill, or ID. Furthermore, information about the subject is provided by a predicate that is linked to an object using an object property, so the RDF operator (subject) assigns an operator (object property) to the activity (object).
Nowadays, the most utilised ontology language for Semantic Web applications is OWL 2 [43], the structure of which is illustrated in Figure 8. e main building blocks of OWL 2 are various concrete syntaxes that can be used to serialise and exchange ontologies. Each part of the Semantic Web Stack ( Figure 6) can be accessed with OWL 2. erefore, we regard the application of this language as a highly versatile and well-applicable development method for ontologies. An optional connection is highlighted by the Manchester syntax in Figure 7, which stands for the capability of OWL 2 to write database queries using SPARQL (Structured Protocol and RDF Query Language) to manage knowledge explorations in ontologies [44].
Standards have significant importance for realizing the Industry 4.0 vision and industrial digital chain monitoring to reduce costs. ere are several studies [45,46] concerning the management of Industry 4.0-related standards and terminologies as well as the creation of knowledge-based frameworks. A good overview is provided by an ontology called Industry 4.0 Knowledge Graph [47], which has been developed in order to represent and categorize standards, standardization organizations, and standardization frameworks involved in the domain of Industry 4.0 [46]. In Figure 9, the complexity of this field is highlighted. Different domains are connected to the RAMI 4.0 and Asset Administration Shell [48] such as Hierarchy Levels, Communication Layers, Engineering, and Semantics.
e Asset Administration Shell has also been established to provide a digital representation of all related information and services involved in manufacturing components [35,49] Figure 3: A summary of international standards for smart manufacturing [28].
layers are listed and categorized in Figure 9. In this study, we focus on Semantics and Hierarchy as building blocks of RAMI 4.0 and the Asset Administration Shell, as is highlighted in red in the figure. e Semantic Web Stack of the W3C (World Wide Web Consortium) is a significant building block of the RAMI 4.0 system (see Figure 9).

Complexity
Furthermore, we would like to show some examples to prove the importance of the semantic representation of industrial standards and processes. erefore, we have summarized the studied semantic and descriptive methods in Table 1.
In the modern industry, one of the most widely used frameworks to describe components of Cyber-Physical Systems (CPSs) from various perspectives is the Automa-tionML standard [50]. An open, XML-based data exchange format aims to ensure consistent and lossless data exchange in the design of manufacturing systems. It enables systems to be modelled from single automation components to entire large and complex production models. It supports the representation of various aspects of the system, namely, topology, geometry, kinematics, and control behaviour [50]. In addition, AutomationML methods are capable of modelling IEC 62264-2-compliant information also [60]. Furthermore, a specific ontology has also been developed, namely, the AutomationML Ontology (AMLO), to provide a semantic tool for the improvement of engineering processes in the design of CPSs [51].
e Sensor, Observation, Sample, and Actuator (SOSA) ontology provides a core for the Semantic Sensor Network ontology (SSN) as well as extends the target audience and application areas, making use of Semantic Web ontologies. It has been used as part of an architecture for the Web of ings, sensing in manufacturing, and representing humans and personal devices as sensors, as well as part of a linked data infrastructure for SWE (Sensor Web Enablement) [52].
e Manufacturing Resource Capability Ontology (MaRCO) supports the rapid semiautomatic system design, reconfiguration, and autoconfiguration of production systems. MaRCO has been developed for the quick identification of candidate resources and resource combinations for a specific production need [53]. IoT-O is a core-domain modular IoT (Internet of ings) ontology that proposes a vocabulary to describe connected devices and their relationship with their environment. It describes concepts such as electronic device, smart network, smart entity, physical entity, and control entity [54,61].
Upper ontologies can define top-level concepts such as activities, physical objects, or topological relations from which more specific classes and relations can be defined. Upper ontologies are used to develop a more specific domain ontology by starting with the identification of crucial concepts utilising activity modelling, use cases, and competency questions [62]. In the following, we look through the more relevant upper ontologies concerning manufacturing systems.
e Basic Formal Ontology (BFO) serves as an upperlevel framework, which has been developed to assist the organization and the integration of data obtained through scientific research [55,63]. Furthermore, BFO is currently undergoing a certification process with the International Organization for Standardization (ISO) as a top-level ontology for information technology [64].
e Assembly Sequence Planning (ASP) ontology formally defines the assembly knowledge, where all the assembly knowledge in the sequence generation approach is expressed and stored. ASP determines the sequences and paths of parts to assemble a product with minimum costs and over the shortest period of time [56,65].
Manufacturing Service Description Language (MSDL) provides the simple building blocks required to describe a broad spectrum of manufacturing services. MSDL is a description of the manufacturing capabilities of manufacturing resources at different abstraction levels, namely, machine, workstation, cell, shop, and factory [57].
A widely used ontology with many extensions is the Descriptive Ontology for Linguistic and Cognitive Engineering (DOLCE).
e DOLCE upper ontology aims to capture the ontological categories underlying natural language and human common sense, which is of great importance in terms of the Semantic Web [58]. DOLCE + DnS Ultralite (DUL) is the OWL version of DOLCE, extended to cover the Descriptions and Situations (DnS) framework, and is a widely adopted ontology in projects worldwide. e foundational concepts of DOLCE can be utilised for aligning domain ontologies, e.g., for Semantic Sensor Networks [66]. DUL is also used for creating a formal model of events to 6 Complexity provide comprehensive support to represent time and space, objects, and people, as well as causal or correlational relationships between events [59]. With another DUL application, the extraction and description of emerging content ontology design patterns are achieved [67]. In summary, ontologies play a vital role in developing smart factory concepts [68], and the application of their elements as namespaces or vocabularies in specific manufacturing-related ontologies is justifiable.

Ontology-Based Analysis and Solutions in Manufacturing
Systems. In this section, we show, through a couple of applications, that ontology-and knowledge graph-based solutions for production are no longer just concepts but methods that have already been implemented in the industry.
A research group of ABB Company proposed a study about a scheduling solution connected to a production environment aligned with the ISA-95 standard and using B2MML to share information. e methodology of the ontology data-supported workflow is shown in Figure 10 [69]. e development of the Enterprise Control Ontology (ECO) [70] also exemplifies well that semantic models provide various solutions to address operational issues in production. In ECO, more subontologies have been combined to create a manufacturing system model, which provides domain information about entities and enables the reconfiguration of manufacturing systems.
Another application example is the SemCPS framework (Semantically Described Cyber-Physical Systems) for enabling the integration of CPS descriptions in knowledge graphs.
e approach can effectively integrate CPS perspectives using Uncertain Knowledge Graphs of smart manufacturing-related standards such as AutomationML [71]. Numerous application and research examples can be found for AutomationML-related developments, such as data modelling and Digital Twin Exchange [9,72], or IEC 62264 standard-based AutomationML models can be created [73]. Another important aspect is to implement the Bill of Process (BOP) and Bill of Materials (BOM) in data models to map resources or abilities in order to perform a task based on physical skills [74]. e integration of BOP and BOM in resource description models can support assembly planning engineers and provide a framework for clustering production information [75].
e Uniform Project Ontology utilizes linked data and the Semantic Web in order to represent knowledge about megaprojects to facilitate data processing and utilisation through their entire lifecycle [42]. e purpose of a recently published modular domain ontology is to describe the cyber and physical aspects of automation systems that support simultaneous engineering [12]. e effectiveness of the knowledge-based approach to designing assemblies in agile manufacturing to integrate a linked product and process data has been studied and proven [76].
A study by Siemens has proven that semantic technologies can improve the feature selection method for machine learning models in industrial automation systems in order to reduce the size of feature spaces for exemplary learning problems using only a small amount of semantic relations [77]. During the Optique program [78], the goal was to develop an Ontology-Based Data Access (OBDA) system and provide access to Industrial Big Data stores using Semantic Web technologies. An impressive demonstration of using Optique's OBDA system customized for the user is Siemens Energy's data access challenge. e semantic technology was used to answer questions concerning data queries as follows: "return the top 10 errors and warnings for turbines of product family X" or "which events frequently occur before a specific point in time?" [79]. A further project in collaboration with Siemens studied the application of ontologies to create industrial information models in manufacturing and energy production. It led to the development of the Siemens-Oxford Model Manager (SOMM) tool to support engineers in creating ontology-based models [80]. e applicability of a graph-based framework for Advanced Manufacturing Analytics has also been demonstrated by representing manufacturing data as a multigraph using a semantic abstraction layer to integrate flexible data. Herewith, a tool is provided for predictive and prescriptive decision-making by detecting fault patterns [81].
In a previous study of the authors, the assembly line balancing problem was investigated using a multilayer network modelling method, and the interacting elements of the   Complexity assembly line were mapped as bipartite graphs [26]. e methodology of how links data with RDF triples (discussed in Section 2.2) is the same as in the case of bipartite graphs. Studies are published to formalise the bipartite graphs as an intermediate model for RDF with a goal of graph-based notions in querying and storage [82]. Furthermore, an RDF database can be simultaneously analyzed as layers of a multilayer network [83], providing a solution for production flow analysis.
Based on the above-listed application examples, the benefits of the ontology-based features are the following: (i) Support flexible scheduling and solve operational issues in manufacturing, such as resource allocation [69,70] (ii) Integrate CPS and describe cyber and physical parts of automation systems [71] (iii) Model digital twins and provide access to Industrial Big Data stores [9, 72] (iv) Conceptual design of a data model and warehouse [73][74][75] (v) Facilitate project lifecycle analytics of megaprojects [42] (vi) Effectively support assembly design and planning processes to evaluate risks and costs before the realization of the production processes [12,76] (vii) Improve the efficiency of machine learning models [77] (viii) Data mining and root cause analysis [78,79] (ix) Support predictive and prescriptive decisionmaking [80, 81] (x) Supplementary technique to solve the assembly line balancing problem [26] In the previous sections, we proposed and summarized the results of research on the ontology-based modelling of production systems and collected the most relevant application cases. In the following section, we will present the applicability of our methodology in a wire harness assembly case study.

Ontology-Based Wire Harness
Assembly Benchmark is section describes our developed methodology (which has been briefly presented at the end of Section 1 and in Figure 2), more detailed with the applied software elements in Section 3.1. After that, based on the steps of our methodology (see in Figure 2), we present a detailed industrial benchmark, starting with a use case from the wire harness manufacturing industry in Section 3.2. e ontology-based Table 1: List of the most relevant ontologies and description methods in manufacturing.

Name
Short description I40KG [47] Industry 4.0 Knowledge Graph AutomationML [50] A standardised XML-based Automation Markup Language, which aims to store and exchange the information of plant engineering AMLO [51] AutomationML Ontology, which covers the Computer-Aided Engineering Exchange (CAEX) section of the standard SOSA and SSN [52] Sensor, Observation, Sample, and Actuator and Semantic Sensor Network ontologies SWE [52] Sensor Web Enablement, which is a suite of standards that has been developed MaRCO [53] Manufacturing Resource Capability Ontology IoT-O [54] Internet of ings Ontology BFO [55] Basic Formal Ontology ASP [56] Assembly Sequence Planning Ontology MSDL [57] Manufacturing Service Description Language DOLCE [58] Descriptive Ontology for Linguistic and Cognitive Engineering DUL [59] DOLCE-Ultralite, which is an upper and extended ontology of DOLCE  modelling and the development of a knowledge graph are described in Section 3.3. Finally, the data queries with SPARQL and the multilayer visualization with data analyses are presented in Section 3.4.

Applied Software Tools for the Developed Methodology.
Firstly, we are detailing different software features utilised in our method, represented in Figure 2. e main theoretical steps of our development methodology have been described already in Section 1. e applied software packages involved in our work are as follows: (i) Protégé for ontology development and to create the OWL/RDF format [84] (ii) GraphDB to manage SPARQL queries [85] (iii) MuxViz to visualize the internal data and manage advance manufacturing analytics [86] (iv) OntoGraph and VOWL plugins of the Protégé environment to visualize the ontology structure Figure 11 represents the three stages of the data processing in our methodology. e first step is to transform the collected data from the production system into ontologybased datasets (linked data as RDF). en, after the ontology skeleton is final (also referred to as system modelling), the production datasets are connected with the ontology. During the third phase, the created RDF-based semantic network is turned into a multilayer network. To perform these tasks, we utilised methods based on vector-and matrix-sorted data aggregation.
In the case of data collection of a wire harness manufacturing, we studied a modular assembly system. e relevant data are the physical parts of the final product, stored in the BOM, the operators at the assembly line and their skill, and the necessary equipment. Quantitative factors are the activity times of a particular step of the wire harness assembly and the costs of using different skills or resourcerelated tools.
For the development of the ontology, we used Protégé, which is an open-source tool developed by Stanford University to create and edit any ontology [87]. is platform supports all kinds of semantics and data standards such as the XML, RDF, or OWL types of ontology datasets [88]. Indepth knowledge of the behaviour of the structure of the manufacturing system is required to assign which factors or identities will be a class, object property, or data property in the formed ontology. For this reason, the hierarchy of manufacturing processes must be adequately reflected using the tools provided by the ISA-95 standard or Automa-tionML framework (as presented in Section 2.2). Another critical part of ontology engineering is to find the reusable Ontology and Vocabulary elements, which can be applied in the current ontology. To accomplish this, firstly, industryspecific research papers and semantic solutions (studied in Section 2.2) can provide a guideline, but also the use of the tool Linked Open Vocabularies (LOV) is recommended [89] as it provides an effective search engine to find adaptable namespaces or vocabulary elements.
For the advanced manufacturing analytics part of the methodology, we utilised several solutions. For data analysis and SPARQL queries, we used GraphDB software, an RDFcapable database tool, especially for knowledge graphs. e most significant benefit of SPARQL queries is creating a structured version from the data stored in the ontology or extracting data from RDF, which is an excellent source to manage basic production analysis. Furthermore, the MuxViz software application [86,90] has been used to create multilayer graph representations to explore further analytical possibilities. However, if a more in-depth investigation is needed or the production ontology is of high complexity, the tools of Data Science can provide more accurate solutions.
Additionally, visualisation tools play an essential part in our methodology in several phases of the process. We utilised OWL visualisation tools, which are part of Protégé [91] as the VOWL (Visual Notation for OWL Ontologies) [92]. Furthermore, we utilised MuxViz as well to create multilayer graph representations and to networks analyse. By graphically examining process networks, we can identify and analyze different inhomogeneities. Identifying the core nodes and investigating the critical edges or node-degree distribution within the network structure can provide internal information about the production process. e multilayer-based approach of manufacturing analytics and the case study, which has been presented, have been used in other papers written by the authors to verify production flow analysis [25] and solve assembly line balancing problems [26]. In the following, we detailed the wire harness manufacturing use case for ontology representation.
In the following sections, we prove the proposed methodology via a manufacturing-specific benchmark.

Data Collection: A Case Study of Wire Harness
Manufacturing. An open-source benchmarking problem of a modular wire harness production system has been developed to support reproducible development. Wire harnesses are produced by a typical complex modular production system [93]. e challenge is that numerous activities and the highly manual assembly necessarily require optimum assembly line balancing [26]. e complexity of wire harness manufacturing is represented by a multilayer network [25] where the basic activities are connected to each layer. e information that needs to be acquired is a precise prediction of the duration of these activities [94], which can be measured by a fixture sensor.

Production data
Ontology model Multilayer network Figure 11: e steps of data transformation toward creating a process-specific ontology and multilayer network. 10 Complexity e following use case definition depends on former works of the coauthors [94]. e manufacturing is modular, which means the products p 1 , . . . , p N p are built from a set of modules m 0 , . . . , m N m . e number of types of products N p was 64, and N m was defined as a combination of 7 modules: m 0 base module, m 1 as left-or right-hand drive, m 2 normal/ hybrid, m 3 halogen/LED lights, m 4 petrol/diesel engine, m 5 4 doors/5 doors, and m 6 manual or automatic gearbox. N a was defined as 654 activities/tasks categorized into N t which consisted of 16 activity types with well-modeled activity times. ese times are based on benchmarks from the literature [95]. Table 5 shows the duration of the main activity types and defines which activity time depends on the number of wires. In these activities, N c was equal to 653 different built-in parts (among these, C r � 299 terminals, C b � 113 bandages, C c � 38 connectors, C d � 155 wires, and C l � 48 clips). N z was also defined as 6 zones for the workstations (see Figure 12) to determine where the components are placed on the assembly table.
e assembly line N w consisted of 10 workstations (assembly tables). For every assembly table, one operator is assigned; therefore, N o � 10. Required N s was also defined as 5 skills of the operators, namely, s 1 -laying cable, s 2 -bandaging, s 3 -attaching the terminal, s 4 -installing the connector, and s 5 -inserting the clip. A piece of equipment is required for every activity; therefore, N e � 5: e 1 -cabling tool, e 2 -bandaging tool, e 3 -terminal handler, e 4 -connector handler, and e 5 -clipping tool. Some tools require a resource (N r � 2): r 1 -compressed air and r 2 -electricity.

Ontology Modelling: Creation of the Manufacturing-Based Knowledge Graph.
is section presents the modelling part of the ontology development based on the theoretical background presented in Section 2.2. e classes and their interactions are determined regarding the use case of wire harness manufacturing, which is detailed in Section 3.2.
As the first phase of the ontology development, the basic structure has to be established. erefore, different classes are defined as the elements of this specific production process, as shown in Figure 13. To characterize the relationships between these classes, we distinguish different types of connections as cost, optimizable, or technical parameters. ese properties related to interconnections, socalled object properties, significantly determine the characteristics of the production process. e presented wire harness manufacturing ontology consists of 9 classes: product, module, component, activity, skill, operator, workstation, equipment, and resource (namely, electricity for some tools). Furthermore, interactions between these classes are denoted by arrows in Figure 13, pointing to the domain class of the object property.
Once the theoretical structure of the ontology is available, the following part is the creation of a manufacturing-based knowledge graph, where first, we implement the relevant vocabulary and namespace elements. Table 2 summarizes the namespaces used for the wire harness manufacturing ontology. e sources of the vocabularies are cited next to their prefixes in the table. Figure 14 represents the structure of the wire harness manufacturing ontology after the integration of vocabulary elements. As listed in the legend, different classes and object properties are denoted by different colours. Furthermore, industry-specific data (described in Section 3.2) have been implemented in the ontology as data properties, which are listed in Table 3 together with the final applied object properties. e final Protégé implementation of the wire harness manufacturing ontology shown in Figure 15 provides a structural overview of the model in the OWL format. e dark-blue-coloured classes and object properties come from prefixes/namespaces, and the data properties denoted in green are visualised together with their data types. is brings us to the end of the ontology modelling, which can be exported in any RDF format and proceed with data analysis and queries.

Advanced Manufacturing Analytics.
In modular manufacturing, line balancing is a complex task, especially in manual production processes. e wire harness production is highly required workers for the assembly processes. Usually, the production line contains a special conveyor, namely, rotary lines, where the assembly tables are on the conveyor with several assembly fixtures (see Figure 12). In this section, we created SPARQL queries on the ontology data to analyze the current situation, where the collected manufacturing data are considered (Section 3.2). After that, the RDF-based multilayer network is created to visualize and analyze the connectivity between the individuals. e two methods are evaluated together to discover the potential of the line balancing improvements.
e results of SPARQL queries for production data analysis are shown in Figures 16 and 17. e entire code of SPARQL queries can be found in Appendix A. In the first case ( Figure 16), we investigated how much unique component is required for seven different modules from the five distinct types of components as a wire or terminal. It can be stated that the most complex wire harness module is m 0 , which is the base module, with more than 350 components, while m 6 has the fewest. We can see that the number of different components is evenly distributed in each module, so terminals are the most, and connectors are the fewest in every module. As mentioned in Section 2.3, the implementation of the Bill of Materials in the ontology (or data model) may yield valuable information, which can support the work of process engineers or designers. e analysis of the assembled components per module is critical toward discovering the relevance of the module to get more precise production scheduling.
In the second graph (Figure 17), the most complex product (p 64 ) is investigated. All seven different modules are involved in this wire harness product, and the entire assembly process is distributed over ten workstations. How much built-in component-related activity is assigned to each workstation to assemble this product is highlighted. e figure also summarizes the costs required to apply a skill, and the values on the bars represent the total skill costs at each workstation. We can notice, based on the used skills, that the w 4 − w 7 workstations are similar, which means the activities between these stations can be reallocated without causing additional cost by training. Furthermore, there is a high correlation between skills and types of equipment so that it would require no additional tool or resource. Considering these, an update or redesign of activity assignments among workstations could reduce the cost of the assembly process.
In the following, we analyzed the p 1 product where only the base module (m 0 ) is assembled because this is the most relevant one (see Figure 16). e line balancing has been analyzed to perform further investigations. Figure 18(a) shows the current line balancing in the case of the p 1 product. It can be noticed that this is not a well-balanced production process. However, we need to follow the procedure of the applied conveyor line. In an open-paced conveyor, the start and the ending stations have more flexibility than the middle ones. Based on this, the operators in the middle stages (w 3 − w 8 ) are usually planned for lower capacity. Apart from this, we can also highlight that

Prefix
Vocabulary namespace description RAMI [96] RAMI is a vocabulary to represent the Reference Architectural Model for Industry 4.0 SMO [97] Semantic Manufacturing Ontology PROV [98] e PROV Ontology (PROV-O) provides a set of classes, properties, and restrictions that can be used to represent and interchange provenance information or data coming from different systems and in different contexts SCOR [99] e vocabulary SCORVoc formalizes the latest SCOR (Supply-Chain Operations Reference) standards while overcoming the identified limitations of existing formalizations DUL [100] DOLCE + DnS Ultralite ontology aims to provide a set of upper-level concepts that can form the basis for easier interoperability among middle-and lower-level ontologies the differences are significant, nearly a minute between these stations, which is an opportunity to make further analyses to discover the potential of merging these workstations.
In the next approach, we analyze the skill, equipment, and workstation assignment in assembly activities using MuxViz. Figure 19 shows the ontology-based multilayer visualisation, which contains three different layers, representing the connectivity of the 653 assembly activities to other classes of the ontology as skills, pieces of equipment, and workstations. Unique colours denote the core nodes of the network as five skills (green), five pieces of equipment (blue), and ten workstations (red). Additional information is presented by internal edges within these three layers, connecting the core nodes and representing assignments as workstation-skill, skill-equipment, and workstationequipment.
e activity-workstation layer is investigated in more detail to uncover the possibility of merging activities within w 3 − w 8 stations. Figure 20 presents the discovered communities based on multilayer connectivity, where workstations are classified into five communities (φ 1 − φ 5 ), which are listed in Table 4. We can conclude that the identified, highly related workstations are included in the same community based on several attributes. e multilayer analyses confirmed that merging these stations would be beneficial. Figure 18(b) shows the result of line balancing after reallocation assembly activities related to w 3 − w 6 stations and eliminating the w 7 station from the line. Based on the presented advanced analytics, we could eliminate one of the workstations (and one operator) from the production line. It is possible to redesign the conveyor line with 9 stations instead of 10. Although there are still gaps among stations, this is more efficient as the starting point. We need to highlight that we are focusing on one type of product only, and also, the open-paced conveyor has a special line balancing rule, as mentioned above. However, the SPARQLbased data queries and multilayer analyses can make more efficient the discovering of communities and critical elements of the production system. ese show the possibilities for process engineers to solve the line balancing problem considering all production parameters.     Figure 17: Results of the SPARQL query regarding workstation allocation and skill usage during the assembly of product 64.

Conclusion
In this paper, we proposed an ontology development methodology with a wire harness assembly-based benchmark to describe the ontologies of manufacturing processes as well as provide an overview and guidance on development for others. e ontological modelling of a manufacturing process and the performance of advanced manufacturing analytics on the formalised data is a very complex procedure. Below, the lessons which have been learned during this research are summarized to provide a conclusion and takeaway message for the reader: (i) e integration of ISA and IEC standards is of great importance in semantic model-based system development (ii) In-depth study of Open Vocabularies can facilitate ontological and semantic modelling (iii) ere is a need to use and develop industry-specific ontologies and knowledge graphs (iv) Multilayer graphs are suitable tools for analysing data stored in ontologies (v) Network and data science can support the analysis of complex systems represented by ontologies (vi) e multilayer-network-based analysis of ontologies supports production management In the future, we plan to extend our research using other case studies as well and start to develop our very own Ontology-Based Data Access (OBDA) system. We will consider performing time-stamped data queries on live, ontological structured data. Figure 21 shows the SPARQL query to get the modulecomponent results for Figures 16 and 22 describes the query for workstation-skill analyses regarding the workstation allocation and skill usage (see Figure 17).

B. Wire Harness Assembly Activity Times
e types of activities and the related activity times according to wire harness assembly practice [93] are summarized in Table 5. e activity times are calculated using a direct proportionality approach, e.g., when an operator is laying four wires over one foot, proportionally to the parameter t 4 , the activity time will be 1 × 6.9 s + 4 × 4.2 s � 23.7 s.

Data Availability
e wire harness assembly data used to support the findings of this study are deposited in the GitHub repository (https:// github.com/abonyilab/wire_harness_assembly).

Conflicts of Interest
e authors declare no conflicts of interest.