<!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>Modeling and Using Complex IoT Time Series Data in Case-Based Reasoning: From Application Scenarios to Implementations</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Lukas Malburg</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alexander Schultheis</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ralph Bergmann</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Artificial Intelligence and Intelligent Information Systems, University of Trier</institution>
          ,
          <addr-line>54296 Trier</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>German Research Center for Artificial Intelligence (DFKI), Branch University of Trier</institution>
          ,
          <addr-line>54296 Trier</addr-line>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The research area of Internet of Things (IoT) is gaining more relevance for several domains and application areas, including Case-Based Reasoning (CBR). However, IoT data is characterized by high volumes and variance of data types, making the application of CBR methods dificult. Since only few works have been published in this area so far, the integration and consideration of complex IoT data such as time series data in CBR frameworks is still in its infancy. To catch up with the current state-of-the-art, we present a comprehensive literature review on Temporal Case-Based Reasoning and time series data in CBR as part of our contribution. Furthermore, we present typical application scenarios for using IoT time series data in practice that can be addressed in further research. To build suitable CBR implementations for that purpose, we define a procedure model that can be used for time series data in CBR. In this context, we address the implementation of the application scenarios in the ProCAKE CBR framework.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Case-Based Reasoning</kwd>
        <kwd>Temporal Case-Based Reasoning</kwd>
        <kwd>Internet of Things</kwd>
        <kwd>Time Series Data</kwd>
        <kwd>ProCAKE</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        Temporal Case-Based Reasoning (TCBR) [
        <xref ref-type="bibr" rid="ref1 ref2">1, 2</xref>
        ] investigates how temporal relationships can be
expressed in cases. A case expressing temporal relationships is a sequence of a certain attribute
related to the time dimension. Recently, the Internet of Things (IoT) area is getting more and
more importance in several application domains and research areas, e. g., Business Process
Management (BPM) [
        <xref ref-type="bibr" rid="ref3 ref4 ref5">3, 4, 5</xref>
        ] but also in Case-Based Reasoning (CBR) [
        <xref ref-type="bibr" rid="ref6 ref7 ref8 ref9">6, 7, 8, 9</xref>
        ]. However, IoT
data is characterized by very high volumes and a variety of data types [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], which makes it hard
for applying classic CBR methods, e. g., for similarity assessment. Although related work has
already identified some application scenarios for complex time series data like IoT data, e. g., for
prediction of values in time series [
        <xref ref-type="bibr" rid="ref1 ref11 ref12 ref13 ref14 ref15 ref16">11, 1, 12, 13, 14, 15, 16</xref>
        ], in medical applications [
        <xref ref-type="bibr" rid="ref17 ref18 ref19">17, 18, 19</xref>
        ],
or for classification and error-detection [
        <xref ref-type="bibr" rid="ref20 ref21 ref22">20, 21, 22</xref>
        ], research regarding this aspect is still in its
infancy and the IoT domain is only rarely investigated in the CBR community. Even if specific
concepts and ideas regarding time series data like IoT sensor data are proposed, a concrete
implementation in a CBR framework is often missing [
        <xref ref-type="bibr" rid="ref23">23</xref>
        ]. The latter is also related to the fact
that current CBR frameworks mostly only provide basic support for time series data, and, thus,
enhanced similarity measures that go beyond simple numerical similarity measures applied to
individual time points are pending. The contribution of this workshop paper is threefold: 1) we
present a comprehensive literature study regarding TCBR and, in general, complex time series
data used in CBR; 2) we present three application scenarios that are mainly derived from our
research regarding the IoT domain [
        <xref ref-type="bibr" rid="ref24 ref25 ref4 ref5">24, 25, 5, 4</xref>
        ] and, in addition, we briefly sketch how CBR
can help to utilize complex time series data; and 3) we present how the application scenarios
can be concretely implemented in a state-of-the-art and open accessible CBR framework. For
this purpose, we use the open-source ProCAKE CBR framework1 [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] and provide a demo
repository with the source code consisting of a case base with complex time series data from our
smart factory [
        <xref ref-type="bibr" rid="ref24 ref25 ref4 ref5">24, 25, 5, 4</xref>
        ], a similarity model, and a vocabulary as domain representation. In
addition, we present several similarity measures available in ProCAKE with which the similarity
assessment can be performed appropriately by considering the complete structure of the time
series and not only individual time points independently.
      </p>
      <p>The paper is structured as follows: Sect. 2 presents the foundations for this work regarding
the representation and diferent similarity measures for time series. In Sect. 3, we discuss
related work with a special focus on TCBR and, in general, on time series. Three application
scenarios that are based on our research in the IoT domain are discussed in Sect. 4. Based on
that, we define a procedure model describing how a time series CBR system can be created
in Sect. 5. This is demonstrated by a concrete implementation using the state-of-the-art CBR
framework ProCAKE in Sect. 6, that shows how complex time series data can be modeled, and
how the similarity can be assessed between cases. Finally, we summarize the workshop paper
and provide an outlook for our planned future work in Sect. 7.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Foundations</title>
      <p>In the following, we introduce the foundations for this work with IoT time series in CBR.
Section 2.1 presents the approach we use to represent time series data in CBR. An overview of
diferent similarity for time series data is given in Sect. 2.2.</p>
      <sec id="sec-2-1">
        <title>2.1. Representation of Time Series Data in Case-Based Reasoning</title>
        <p>
          The machine representation of time series is investigated in many research areas, especially
in the field of data mining [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ]. In the context of TCBR, a time series represents the simplest
form of a case, among episodes [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ], workflows [
          <xref ref-type="bibr" rid="ref29">29</xref>
          ], and event sequences [
          <xref ref-type="bibr" rid="ref30">30</xref>
          ]. A time series
stands for a measured real value over a time course [
          <xref ref-type="bibr" rid="ref31 ref32">31, 32</xref>
          ], where especially concrete time
points are referred [
          <xref ref-type="bibr" rid="ref33">33</xref>
          ]. In the IoT domain, such time points can be contained in sensor data, for
example [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]. To represent the time series, we use a symbolic representation, which can vary
depending on the use case, and which represents the real values. These values are summarized
        </p>
        <sec id="sec-2-1-1">
          <title>1 https://procake.uni-trier.de</title>
          <p>T 0.0
V false
T 0.0
V false</p>
          <p>T 0.2
V false
T 0.4
V true</p>
          <p>T 0.4
V true
T 1.2
V false</p>
          <p>T 0.6
V true</p>
          <p>T 0.8
V true</p>
          <p>T 1.0
V true</p>
          <p>T 1.2
V false</p>
          <p>
            T 1.4
V false
and mirrored as a feature vector [
            <xref ref-type="bibr" rid="ref34">34</xref>
            ]. This can be embedded in other objects at higher levels as
desired. The individual values within the sequence are also objects that contain, on the one
hand, the timestamp and, on the other hand, the symbolically represented value at this time.
          </p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Similarity Measures for Time Series Data</title>
        <p>In the following, we introduce several similarity measures that can be used to compute
similarities between sequences, and, thus, between time series. We divide the similarity measures into
three categories:
Cat. 1 Similarity measures that can only be applied to time series of the same length. These
compare only the values at the corresponding times.</p>
        <p>Cat. 2 Similarity measures that can be applied to time series of diferent lengths and consider
not only the values at the time points, but the time points themselves.</p>
        <p>Cat. 3 Similarity measures like in Cat. 2, that can detect stretching and compression in addition.</p>
        <p>
          The similarity calculation for these measures is based on the local-global principle [
          <xref ref-type="bibr" rid="ref35">35</xref>
          ]. In
this context, similarities are calculated at the level of individual attributes and then aggregated
globally for the complete case. In the following, the similarity measures that can be applied to
the above categories are presented.
        </p>
        <p>
          Similarity Measures for Cat. 1: When comparing two sequences, which are of the same
length, a direct mapping of the individual elements to each other is performed. Only the values
at the respective time points are compared. In the literature, approaches that use the Euclidean
distance to calculate these similarities are often used for this purpose [
          <xref ref-type="bibr" rid="ref36">36</xref>
          ]. Other approaches
from literature are based on the Hamming [
          <xref ref-type="bibr" rid="ref37 ref38">37, 38</xref>
          ] or the Levenshtein distance [
          <xref ref-type="bibr" rid="ref39 ref40">39, 40</xref>
          ]. In
general, any similarity measure suitable for the domain can be used to calculate the similarities
between the elements of the sequence and then aggregated. However, comparing time series of
the exactly same length in CBR is rather unsuitable because the query typically includes only a
fraction of an entire time series. In this context, no similarity can be calculated. For the used
example presented in Fig. 1, no similarity calculation can be performed due to the diferent
lengths, so the similarity value would be 0.0.
        </p>
        <p>
          Similarity Measures for Cat. 2: To deal with sequences of diferent lengths, other similarity
measures exist. The simplest algorithm consists of sequential matching, as in Cat. 1, where
elements that cannot be mapped to a corresponding element of the other time series are assessed
with a local similarity of 0.0. One more complex algorithm, based on the idea of the Levenshtein
distance, is the Smith-Waterman-Algorithm (SWA) [
          <xref ref-type="bibr" rid="ref41">41</xref>
          ]. It determines the matching of sequences
based on the required insertion or deletion operations [
          <xref ref-type="bibr" rid="ref41">41</xref>
          ]. This is done based on a scoring
matrix in which operations are scored negatively so that the best possible similarity value
can be determined from the matrix. Other measures are based on the well-known Longest
Common Subsequence (LCS) problem [
          <xref ref-type="bibr" rid="ref42 ref43">42, 43</xref>
          ], which can also be applied to time series. The LCS
is searched [
          <xref ref-type="bibr" rid="ref42">42</xref>
          ] for, and the similarity is determined based on this. Various algorithms for this
exist [
          <xref ref-type="bibr" rid="ref43">43</xref>
          ]. Again, in the algorithms described, any local similarity measure like the ones named
for Cat. 1 can be used at the local level to determine mappings or to determine the longest
subsequence. However, none of the described algorithms can deal with stretched or compressed
time series. In the example shown in Fig. 1, the second time series is the compressed version
of the first one or respectively the first one is the stretched version of the second one. If such
kinds of time-series appear, the similarity is low, even though the time series have the same
trend but are represented diferently, e. g., with a higher or lower sampling rate. In the literature
[
          <xref ref-type="bibr" rid="ref44">44</xref>
          ], SWA has been identified as one of the most promising measures, so we consider it as an
example for Cat. 2. Here, we refer to the version of Schake et al. [
          <xref ref-type="bibr" rid="ref44">44</xref>
          ] who extended this by using
local similarity functions for operations between elements. For the example from Fig. 1, the
penalties for inserting or deleting elements lead to a low similarity value. With equal penalties
for both operations, it would not matter which of the two time series is used as a request and
which as a case. The fact that both time series contain the same values is not recognized. When
suspending the penalties for the insert and delete operations, the similarity could be maximized,
but in return, the measure would also recognize many other dissimilar time series as similar.
        </p>
        <p>
          Similarity Measures for Cat. 3: Similarity measures also exist to consider shifts,
compression, and stretching in time series. Thus, these measures can also compensate missing values,
as long as no content information is lost. The Dynamic Time Warping (DTW) approach allows
elements of the sequences to be mapped on warped elements, thus, preventing compression
and stretching [
          <xref ref-type="bibr" rid="ref45 ref46">45, 46</xref>
          ]. Analogous to SWA, scoring matrices are created that determine the
steps from one sequence to another. The maximum value is the best possible similarity. The
Minimum Jump Costs (MJC) maps two sequences onto each other, and forward jumps can be
made from individual points of one to the other [
          <xref ref-type="bibr" rid="ref47">47</xref>
          ]. These must be kept to a minimum to
map the sequences onto each other in the best possible way. A similarity value can be derived
based on these distances. Another similarity measure with a diferent approach is the Weighted
Vector Similarity (WVS), which transforms the sequences into a vector representation [
          <xref ref-type="bibr" rid="ref48">48</xref>
          ].
This measure has been originally developed for event sequences, so the similarity is calculated
based on the end of these events and their importance. On this basis, the event sequence is
transformed into a vector representation, so that similarity measures such as cosine similarity
can be used between the vectors. In the literature [
          <xref ref-type="bibr" rid="ref44">44</xref>
          ], DTW has also been identified as one
of the most promising measures, so we consider it as an example for this category. Again, we
refer to the extended version of Schake et al. [
          <xref ref-type="bibr" rid="ref44">44</xref>
          ], who extended this measure by using local
similarity functions for operations between elements. For the example presented in Fig. 1, the
measure recognizes that the second time series is a compressed version of the first one, or
that the first time series is a stretched time series of the second one. Unlike SWA, necessary
insertions or deletions are not penalized if values are repeated. Based on a suitable comparison
of the time points that recognizes that nothing has been moved in time, the measure recognizes
the two time series as equal and returns 1.0 as similarity value.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Related Work</title>
      <p>In the following, we present as part of our contribution a comprehensive literature review
w. r. t. TCBR and, in general, time series in CBR. All approaches have in common that they use
complex (IoT) data as time series for certain application scenarios. Although some of these
works go beyond simply describing a possible implementation, it usually remains unclear how
the concept can be implemented and how other researchers can reproduce and reuse concrete
implementations.</p>
      <p>First, an overview of general work on time series in CBR is given (see Sect. 3.1). During the
literature search on TCBR and the use of time series in CBR, we found several publications that
can be divided into three categories: 1) Prediction based on Time Series (see Sect. 3.2), 2) Medical
Use of Time Series (see Sect. 3.3), and 3) Classification and Error Detection (see Sect. 3.4). In
addition, various publications are found that deal with only one topic (see Sect. 3.5).</p>
      <sec id="sec-3-1">
        <title>3.1. General Contributions to Time Series in Case-Based Reasoning</title>
        <p>
          A first approach to time-extended cases is presented by Jaczynski [
          <xref ref-type="bibr" rid="ref49">49</xref>
          ]. During similarity
assessment, only single time points are used and not the full context of the time series. As
example domains, Jaczynski lists automatic control and process supervision. Ma and Knight
[
          <xref ref-type="bibr" rid="ref50">50</xref>
          ] deal with historical CBR, where they examine case histories. A case history is a collection
of time-independent elemental cases. The computation of similarity between them is done twice,
once time-dependent based on stored time reference points and once time-independent based
on standard cases. Sànchez-Marrè et al. [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ] define the requirement for TCBR to be dynamic
and continuous in solving cases, and to consider temporal dependencies. They store cases as
episodes, which in turn consist of several actual cases that are already included in the case
base. Additionally, meta information can be stored. Monitoring and on-line process control are
mentioned as example applications. Montani et al. [
          <xref ref-type="bibr" rid="ref51">51</xref>
          ] implement a framework that supports
retrieval with time series data. Temporal abstraction is used to summarize time series features.
In later work [
          <xref ref-type="bibr" rid="ref52">52</xref>
          ], they extend the framework to support subsequence matching. All in all,
these presented approaches are frequently referenced in literature in the context of TCBR.
        </p>
        <p>
          Fuad and Marteau [
          <xref ref-type="bibr" rid="ref53">53</xref>
          ] address the problem of runtime complexity in retrieving cases with
time series data. For this purpose, they propose a reduction of dimensionality by applying
multi-resolution techniques. These are methods that speed up similarity search by improving
distance computations. Lupiani et al. [
          <xref ref-type="bibr" rid="ref54">54</xref>
          ] define cases as temporal event sequences and present
ifve methods for improving retrieval eficiency, which are applicable as long as the case base
contains only temporal cases.
        </p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Prediction based on Time Series in Case-Based Reasoning</title>
        <p>
          Nakhaeizadeh [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ] uses time series data in CBR to predict following values of the time series.
In this context, no case representation for time series is proposed, as the CBR methodology
should be used to predict next values based on previous cases. The work of Jaere et al. [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ] goes
into a similar direction by applying CBR to predict upcoming problems based on previous time
series data. For this purpose, they utilize an interval-based approach. Compta and López [
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]
extract sequences from log data and transfer them to cases in a CBR system. Based on this,
they predict other log values for a system. Gay et al. [
          <xref ref-type="bibr" rid="ref55">55</xref>
          ] generate sequences from events and
use CBR to detect patterns in them and, based on them, predict further events. Platon et al.
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] use a CBR system to predict the hourly energy consumption of buildings given as time
series. In this context, the CBR system continuously learns the new cases and, thus, improves
its accuracy. A similar approach is also used by Shabani et al. [
          <xref ref-type="bibr" rid="ref14">14</xref>
          ]. Ihle [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ] also uses CBR to
predict energy consumption for one day at a time on a time series basis. Dolphin et al. [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ] use
ifnancial time series to make predictions on the stock market.
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Medical Use of Time Series in Case-Based Reasoning</title>
        <p>
          In the medical domain, Funk and Xiong [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ] use sequences to represent time series cases in CBR,
on which basis a classification is performed. Similarly, Nilsson et al. [
          <xref ref-type="bibr" rid="ref18">18</xref>
          ] identify stress-related
disorders based on time series. Szczepanski et al. [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ] evaluate data from patients with back
pain, which are represented in the form of time series, to make recommendations for immediate
or long-term therapy based on the most similar cases. Several challenges in the use of time
series in CBR are outlined, which will be addressed in the future.
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>3.4. Classification and Error-Detection based on Time Series in Case-Based</title>
      </sec>
      <sec id="sec-3-5">
        <title>Reasoning</title>
        <p>
          Other works exist that address categorization and error detection based on time series in CBR.
For example, Fritsche et al. [
          <xref ref-type="bibr" rid="ref20">20</xref>
          ] use it to identify critical situations. In this context, current time
series are compared with cases based on DTW and possible failure cases are determined based
on that. Borck et al. [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ] use time series in CBR to monitor astronauts. In this work, CBR is
used to determine which task is currently being performed by them and whether errors occur.
The work of Ariza et al. [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ] addresses the detection of skill levels of players based on CBR.
Cases in this context are time series that measure multiple parameters of the player during the
game and classify the player into a level based on that.
        </p>
      </sec>
      <sec id="sec-3-6">
        <title>3.5. Other Applications of Time Series in Case-Based Reasoning</title>
        <p>
          Time series in CBR are used in further applications in individual papers. Elsayed et al. [
          <xref ref-type="bibr" rid="ref56">56</xref>
          ]
represent images in form of time series representing curves and categorize them using CBR.
Zarka et al. [
          <xref ref-type="bibr" rid="ref57">57</xref>
          ] work with episodes as cases in which user interactions with a computer
system are stored. Minor and Marx [
          <xref ref-type="bibr" rid="ref58">58</xref>
          ] use time series in CBR for energy management to
prevent energy waste. The representation of the time series data is either based on set-point
values, measured values, or disturbance values. The phases of retrieval and reuse are discussed.
Valdez-Ávila et al. [
          <xref ref-type="bibr" rid="ref59">59</xref>
          ] use CBR as a method to explain results of a predictive model based on
time series.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Application Scenarios for Complex IoT Time Series Data in</title>
    </sec>
    <sec id="sec-5">
      <title>Case-Based Reasoning</title>
      <p>
        In the following, we present three application scenarios (AS1-AS3) from our previous work
[
        <xref ref-type="bibr" rid="ref60">60</xref>
        ] in the context of predictive maintenance (see AS1) and planned future work regarding the
use of CBR for event and activity detection (see AS2) and for detection of data quality issues
(see AS3). We briefly sketch how CBR can be used in these application scenarios.
AS1 Predictive Maintenance: The aim of using predictive maintenance [
        <xref ref-type="bibr" rid="ref60">60</xref>
        ], is to determine
errors or faults during runtime of components or machines in industrial settings before the
fault itself occurs. Typically, the remaining useful lifetime is determined that specifies how
long a machine can be used before the fault appears. In current research, the use of data-driven
predictive maintenance by applying deep neural networks is common (see [
        <xref ref-type="bibr" rid="ref60">60</xref>
        ] for an overview)
to fulfill this task. Klein et al. [
        <xref ref-type="bibr" rid="ref60">60</xref>
        ] present an approach for predictive maintenance with Siamese
neural networks in combination with expert knowledge from a CBR system to better classify
faults. In this application scenario, we want to focus on the use of pure CBR methods so that
it is not needed to train a deep neural model for data-driven predictive maintenance. For this
purpose, cases consisting of the observed time series and the remaining useful lifetime are stored
in a case base. During retrieval, a time series similarity measure is applied for determining the
most useful case from which the remaining lifetime is used.
      </p>
      <p>
        AS2 Event and Activity Detection: In Industrial Internet of Things (IIoT) settings, a high volume
of complex time series data of sensors is available. By using BPM methods in IoT [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], one
research area is the identification of activities from executed process instances by using the IoT
data. Malburg et al. [
        <xref ref-type="bibr" rid="ref25">25</xref>
        ] present a multi-modal model for event and activity detection consisting
of Complex Event Processing (CEP) methods that are applied for deriving higher-level events
from sensor data and object detection methods for processing video data. Besides this, it is also
possible to apply CBR for processing sensor data to detect events and activities during process
execution. For this purpose, it is necessary to store cases that consist of typical sensor patterns
needed to identify the event or activity. This process is typically a knowledge-intensive and
demanding task that is done manually by a domain expert in an interactive fashion [
        <xref ref-type="bibr" rid="ref61">61</xref>
        ]. For
this reason, it is important to store the created sensor patterns of domain experts as cases in a
case base and to utilize them in similar situations to remedy the high eforts.
      </p>
      <p>
        AS3 Data Quality Issue Detection: Data from IoT sensors can be faulty, e. g., the sensor is not
correctly calibrated, or the sensor does not provide any data since there are connection issues.
As the latter type of error can be detected easily in the corresponding data stream, it is hard to
identify quality issues resulting from not correctly calibrated sensors or other issues coming
from incorrect data records at all. Fixing these data quality issues is a demanding, mainly
manually performed task [
        <xref ref-type="bibr" rid="ref62">62</xref>
        ] but crucial, as incorrect and faulty data can lead to improper
decisions made based on them. In addition, if the IoT data is used in context of BPM, e. g., for
generating event logs for process mining [
        <xref ref-type="bibr" rid="ref24 ref63">24, 63</xref>
        ], incorrect logs are produced and cannot be
used for analyses. The aim of detecting data quality issues as soon as possible in near real-time
is to immediately address the problem, resulting in correct, error-free data, and, thus, correct
event logs. Similar to AS2, CBR can be used to detect issues in time series data in near real-time.
For this purpose, a case base can be created in which similar problem situations with already
detected faults are stored. During runtime, queries are generated, and similar cases are retrieved
from the case base. If a similar case is found, the solution of the case determines whether the
current time series data from the IoT sensors is faulty or not and, if it is the case, how this fault
efects resulting event logs or other higher-level systems.
      </p>
    </sec>
    <sec id="sec-6">
      <title>5. Procedure Model for Creating a CBR System</title>
      <p>
        For the application of complex time series data in CBR systems, we define a five-step procedure
model that describes, in general, how unprocessed data can be transformed into a suitable,
working CBR implementation. Therefore, the four CBR knowledge containers, vocabulary,
case base, similarity measures, and adaptation knowledge according to Richter [
        <xref ref-type="bibr" rid="ref64">64</xref>
        ] are used
as foundation. The proposed procedure model is shown in Fig. 2, which is inspired by the
CRISP-DM model [
        <xref ref-type="bibr" rid="ref65">65</xref>
        ]. In the following, the five steps of the model are described in detail.
1. Step
Parsing and
Pre-Processing
of Data
      </p>
      <p>Processed (Time</p>
      <p>Series) Data
2. Step</p>
      <p>Create Case
Representa on
and Generate
Cases from Data
Raw (Time
Series) Data
Suitable
CBR</p>
      <p>System
Vocabulary Case Base
Similarity
Measures</p>
      <p>Adapta on
Knowledge</p>
      <p>Process Itera on
5. Step
Applica on and</p>
      <p>Evalua on</p>
      <p>Vocabulary</p>
      <p>Case Base
Adapta on
Knowledge</p>
      <p>Similarity
Measures</p>
      <p>4. Step
Gather Required</p>
      <p>Adapta on
Knowledge
1. Parsing and Pre-Processing of Data: In this step, the data to be considered is selected
and pre-processed. For example, redundant log data can be removed. Furthermore, check for
missing values takes place here, as well as any appropriate actions that may be necessary to
resolve this issue. The data is read in after this step, but is not yet in the correct format.</p>
      <p>Vocabulary
Case Base
3. Step
Define
Suitable
Local and
Global
Similarity</p>
      <p>Measures
Vocabulary</p>
      <p>
        Case Base
Similarity
Measures
2. Create Case Representation and Generate Cases from Data: To be able to process the
data in the desired use case with CBR methods, the knowledge container of the vocabulary (cf.
[
        <xref ref-type="bibr" rid="ref64">64</xref>
        ]) is built up first. There is defined which structure the cases (and possible queries) should
have. Subsequently, the read-in and pre-processed data is transferred into this defined format
by a converter. By this, the knowledge container of the case base (cf. [
        <xref ref-type="bibr" rid="ref64">64</xref>
        ]) is created.
3. Define Suitable Local and Global Similarity Measures : Suitable local and global
similarity measures are defined, which form the knowledge container of the similarity knowledge (cf.
[
        <xref ref-type="bibr" rid="ref64">64</xref>
        ]). These are explicitly tailored to the vocabulary at hand and the domain from which the
data was read.
4. Gather Required Adaptation Knowledge: Last, the fourth CBR knowledge container of
adaptation knowledge (cf. [
        <xref ref-type="bibr" rid="ref64">64</xref>
        ]) is considered. For this, knowledge is collected with which a
domain-dependent adaptation can be carried out. If this is already covered by a suficiently
large case base and good similarity measures, or if the domain only allows null adaptation, this
step can be skipped.
5. Application and Evaluation: By integrating the four defined knowledge containers in a
CBR framework, a CBR system can be created. This must be evaluated for its suitability to the
domain and the desired use case. If the CBR system does not deliver the desired results, it is
possible to go back to one of the previous steps. If e. g., attributes are missing, it is possible to
go back to step 1, in case of errors in the three knowledge containers to step 2, step 3, or step 4.
      </p>
    </sec>
    <sec id="sec-7">
      <title>6. Implementation of Complex IoT Time Series Data in ProCAKE</title>
      <p>
        Based on the model presented in Sect. 5, a CBR system can be designed that is capable of handling
time series data for an application scenario. In the following, we present an implementation
created with our domain-independent CBR framework ProCAKE [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] that focuses on structural
and process-oriented CBR. ProCAKE provides a generic data type model for custom case
representations, various syntactic and semantic similarity measures, and several retrieval
algorithms. Furthermore, several similarity measures for dealing with sequence data such as
complex time series are provided.
      </p>
      <sec id="sec-7-1">
        <title>6.1. Parsing and Pre-Processing of Data</title>
        <p>
          The data used for this implementation comes from the Fischertechnik Smart Factory2 [
          <xref ref-type="bibr" rid="ref5 ref66">66, 5</xref>
          ],
which is developed and maintained by the University of Trier and the German Research Center
for Artificial Intelligence at the Trier Branch. In this smart factory, various sensors are installed
to measure and store the behavior of all its components. The data is stored in the DataStream
format [
          <xref ref-type="bibr" rid="ref67">67</xref>
          ], which is an extension of the XES (eXtensible Event Stream) [
          <xref ref-type="bibr" rid="ref68">68</xref>
          ] standard. The
corresponding data set in this format [
          <xref ref-type="bibr" rid="ref69">69</xref>
          ] is freely available online 3. As there is no missing data
in this data set, no corresponding actions need to take place. To read in the data and process it,
it was necessary to develop a converter (see 1. Step in Fig. 2).
        </p>
        <sec id="sec-7-1-1">
          <title>2 https://iot.uni-trier.de 3 https://zenodo.org/record/7795547</title>
          <p>The timestamps of the sensor values are removed during the preprocessing of the data. The
start time of a time series is always set to 0 and all subsequent elements of the time series contain
as time value the distance to the start point in milliseconds. Since the measured sensor values
are very close in time, the component of when exactly the execution has been carried out can
be omitted. As further pre-processing by the converter, a compression of the individual sensor
data is performed. Instead, sensor values that occurred unchanged multiple times in a row have
been removed so that only the first occurrence of the value, including the timestamp, is further
considered. In the example from Sect. 2.1 all intermediate values with the boolean expressions
“true” and “false” are deleted, so that only the times of the first breaking or releasing of the light
barrier are included. Compared to an iteration of all model steps without this truncation, the
runtime is reduced considerably without changing the retrieval results.</p>
        </sec>
      </sec>
      <sec id="sec-7-2">
        <title>6.2. Create Case Representation and Generate Cases from Data</title>
        <p>To be able to store the imported data in ProCAKE as cases, it is necessary to design a data model
(see 2. Step in Fig. 2). In ProCAKE, data classes can be created both during runtime in Java
and in advance in XML. In the following, we describe to the necessary extent the created data
classes and their storage in XML format. To transfer the data into the ProCAKE-specific format,
corresponding domain-specific methods are available for the converter used in the previous
step.</p>
        <p>The individual values of the time series are stored using an Aggregate object, that can
combine diferent values identified by a specific attribute name. For each attribute, allowed
data classes must be specified in the data model. For every time series in this domain, the first
value is the time value in milliseconds normalized in the previous step, which is stored from the
beginning of the sensor measurement. For the example presented in Sect. 2.1, which contains
information about the interruption of a light barrier, a boolean object is used. The definition of
this data class is represented as follows:</p>
        <sec id="sec-7-2-1">
          <title>Listing 1: Definition of Data Class in ProCAKE.</title>
          <p>&lt;AggregateClass name="TimeBooleanPair"&gt;
&lt;Attribute name="Timestamp" class="Double"/&gt;
&lt;Attribute name="Boolean" class="Boolean"/&gt;
&lt;/AggregateClass&gt;</p>
          <p>Analogously, other values are also stored. For example, many sensors record position values,
whereby only the changed values are considered here as well. For this, numerical values are
used for the second attribute, which are represented similarly as already presented in Listing 1.</p>
          <p>These individual values can be combined in ProCAKE by a list, so that a sequence of these
values is created. For this purpose, corresponding objects are created, each of which contains
one of the local classes for defining the pairs. For the recorded values about the interruption of
light barriers, the class for summarizing as a time series is represented in Listing 2.</p>
        </sec>
        <sec id="sec-7-2-2">
          <title>Listing 2: Definition of Time Series in ProCAKE.</title>
          <p>&lt;ListClass name="BooleanList"&gt;</p>
          <p>&lt;ElementClass name="TimeBooleanPair"/&gt;
&lt;/ListClass&gt;</p>
          <p>These individual time series classes are combined into a higher-level aggregate class. This
contains several lists representing time series for position values and time series for interrupted
light barriers, as well as additional information from service execution. For reasons of scope,
this global class is not presented here.</p>
          <p>Based on this presented data model, a conversion of the data read in and pre-processed in
the first step into ProCAKE-specific cases is performed by the converter. The generated case
base is also serialized into an XML file so that it is directly available for future applications. If
required, this can also be done directly during runtime. For our data set, 4,847 cases have been
generated, each of which are objects of the top aggregate class. These contain nested objects
of the respective subclasses. Based on this, the vocabulary and case base are provided in XML
format as the result of the second step (see Fig. 2).</p>
        </sec>
      </sec>
      <sec id="sec-7-3">
        <title>6.3. Define Suitable Local and Global Similarity Measures</title>
        <p>ProCAKE contains various similarity measures that must be initialized via XML or at runtime
for a specific data class and can then be used. The similarity measures must be defined starting
from the local level up to the top global level. In our scenario, one measure is needed at the
level of the individual element, one for the time series and one for the object above. For reasons
of relevance, only the similarity measures for the time series themselves are discussed here.</p>
        <p>At the local level, a distance-based measure is used to compare the timestamps. In this case,
it is a measure that uses a linear function to assign a lower similarity value as the distance
increases, so that, the similarity drops constantly up to a total distance of one minute, after
which the value remains at 0. The measure can be defined as depicted in Listing 3.</p>
        <sec id="sec-7-3-1">
          <title>Listing 3: Similarity Measure for Time Dimension.</title>
          <p>&lt;NumericLinear name="SMTime" class="Double" min="0.0" max
="60000.0" default="true"/&gt;</p>
          <p>For the comparison of boolean values, a similarity measure is used that is based purely on
the equality of the values used. This is defined as illustrated in Listing 4.</p>
        </sec>
        <sec id="sec-7-3-2">
          <title>Listing 4: Similarity Measure for Time Dimension.</title>
          <p>&lt;ObjectEqual name="SMBoolean" class="Boolean"
default="true"/&gt;</p>
          <p>
            At the level above, these measures are used by a similarity measure suitable for lists. ProCAKE
has a total of four classic measures for comparing collections and two measures explicitly
intended for comparing sequences. In Sect. 2.2, three categories of similarity measures for
time series data are introduced. By the similarity measure ListMapping, the measures from
Cat. 1 can be mapped, and corresponding local measures must be defined. For Cat. 2, the
SWA measure is currently explicitly implemented, for Cat. 3 the DTW measure. SWA and
DTW are represented for lists, as well as for sequences represented as workflows. In past
research [
            <xref ref-type="bibr" rid="ref44">44</xref>
            ], these two measures have already been applied to sequences using ProCAKE. In
the example domain described, the DTW measure is applied because it can handle compression
and stretching and, thus, is most likely to find the best mapping. This is instantiated as follows.
          </p>
        </sec>
        <sec id="sec-7-3-3">
          <title>Listing 5: Similarity Measure for Dynamic Time Wraping.</title>
          <p>&lt;ListDTW name="SMBooleanList" class="BooleanList"
localSimName="SMTimeBooleanPair"/&gt;</p>
          <p>The global measure was created as AggregateAverage. These similarity measures are
stored in an XML file.</p>
          <p>For the described application scenarios AS1, AS2 and AS3 no adaptation knowledge is needed
because only a null-adaptation may be required. Thus, for our scenario, the step of acquiring
the adaptation knowledge can be omitted.</p>
        </sec>
      </sec>
      <sec id="sec-7-4">
        <title>6.4. Application and Evaluation</title>
        <p>Based on the previous four steps, the four knowledge containers are filled so that an executable
CBR system can be created using the framework passed through by ProCAKE as the CBR
framework. The code for this sample application is published as part of ProCAKE’s demo
project and is available online4. In this system, exemplary queries are made in the context
of AS2, for which sensor data with the activity description removed is used. A retrieval is
performed based on these queries, which returns plausible cases as most similar ones. For
some queries, cases are returned that contained other, very similar activities. The time required
for retrieval is a few hundreds of milliseconds, typically between 100 and 200, on a standard
computer5 at the case base size mentioned, so eficient retrieval is possible. In one iteration, these
times could be optimized, which were about 30 to 40 seconds before the described preprocessing
of the data (see Sect. 6.1).</p>
        <p>Thus, the implementation of the presented model is shown. Since the modeling is very
complex and difers depending on the use case, we only present the implementation for AS2
here. The functionality of the CBR system is similar for each use case, so the implementation
would be very analogous to AS1 and AS3.</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>7. Summary and Outlook</title>
      <p>In this paper, we present a comprehensive literature review about related approaches that
use time series data in CBR. One major drawback about the related approaches is that often
concepts are described but not implemented. For this reason, we discuss typical application
scenarios for using complex time series data in the IoT domain and based on that, we present a</p>
      <sec id="sec-8-1">
        <title>4 https://gitlab.rlp.net/procake/procake-demos, executable class:</title>
        <p>timeSeries.TimeSeriesDemo.java
5 We refer to a computer with 32 GB of RAM, an i7 processor with six cores and twelve logical processors.
de.uni_trier.wi2.procake_demos.
prototypical implementation for using time series in our developed ProCAKE CBR framework.
Currently, we only implemented one of the presented application scenarios and this scenario
has currently not been evaluated intensively. In future work, we want to address these aspects.
In addition, we plan to implement the other two scenarios for our Fischertechnik smart factory.
In this context, we want to investigate how CBR can be applied for processing time series data
directly at the edge or whether it is necessary to handle it in a monolithic cloud CBR system.
Acknowledgments. This work is funded by the Federal Ministry for Economic Afairs and
Climate Action under grant No. 01MD22002C EASY.</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>M. D.</given-names>
            <surname>Jaere</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Aamodt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Skalle</surname>
          </string-name>
          ,
          <article-title>Representing Temporal Knowledge for Case-Based Prediction</article-title>
          ,
          <source>in: 6th ECCBR Proc.,</source>
          volume
          <volume>2416</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2002</year>
          , pp.
          <fpage>174</fpage>
          -
          <lpage>188</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>B.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <article-title>Case-Based Reasoning: A Concise Introduction</article-title>
          , Synth. Lect. Artif. Intell. Mach. Learn., Morgan &amp; Claypool Publishers,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>C.</given-names>
            <surname>Janiesch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Koschmider</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mecella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Kannengiesser</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Mannhardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Mendling</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Oberweis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Reichert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Rinderle-Ma</surname>
          </string-name>
          , W. Song,
          <string-name>
            <given-names>J.</given-names>
            <surname>Su</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Torres</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weidlich</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Weske</surname>
          </string-name>
          ,
          <string-name>
            <surname>L. Zhang,</surname>
          </string-name>
          <article-title>The Internet-of-Things Meets Business Process Management. A Manifesto.</article-title>
          ,
          <source>IEEE Syst. Man. Cybern. Mag</source>
          .
          <volume>6</volume>
          (
          <year>2020</year>
          )
          <fpage>34</fpage>
          -
          <lpage>44</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Brand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <source>Adaptive Management of Cyber-Physical Workflows by Means of Case-Based Reasoning and Automated Planning, in: 26th EDOC Workshops</source>
          , volume
          <volume>466</volume>
          <source>of LNBIP</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>79</fpage>
          -
          <lpage>95</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>R.</given-names>
            <surname>Seiger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>Integrating Process Management and Event Processing in Smart Factories: A Systems Architecture</article-title>
          and
          <string-name>
            <given-names>Use</given-names>
            <surname>Cases</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Manuf</surname>
          </string-name>
          . Syst.
          <volume>63</volume>
          (
          <year>2022</year>
          )
          <fpage>575</fpage>
          -
          <lpage>592</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>D. W.</given-names>
            <surname>Yun</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W. C.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <article-title>Intelligent Dynamic Real-Time Spectrum Resource Management for Industrial IoT in Edge Computing</article-title>
          ,
          <source>Sensors</source>
          <volume>21</volume>
          (
          <year>2021</year>
          )
          <fpage>7902</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Valdez-Ávila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. A.</given-names>
            <surname>Pérez-Pérez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Sarabia-Osorio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bermejo-Sabbagh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. G.</given-names>
            <surname>Orozco-del Castillo</surname>
          </string-name>
          ,
          <article-title>A Case-based Explanation Method for Weather Forecasting</article-title>
          ,
          <source>in: 30th ICCBR Workshop Proc.,</source>
          volume
          <volume>3389</volume>
          , CEUR-WS.org,
          <year>2022</year>
          , pp.
          <fpage>153</fpage>
          -
          <lpage>164</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>C.</given-names>
            <surname>Pirie</surname>
          </string-name>
          ,
          <article-title>Explaining and Upsampling Anomalies in Time-Series Sensor Data</article-title>
          ,
          <source>ICCBR Doctoral Consortium</source>
          <year>2022</year>
          1613 (
          <year>2022</year>
          )
          <fpage>0073</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Recio-Garcia</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Diaz-Agudo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Acuaviva-Huertos</surname>
          </string-name>
          ,
          <article-title>Becalm: Intelligent Monitoring of Respiratory Patients</article-title>
          ,
          <string-name>
            <given-names>IEEE J.</given-names>
            <surname>Biomed</surname>
          </string-name>
          . Health Inform. (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>A.</given-names>
            <surname>Gaddam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Wilkin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Angelova</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Gaddam</surname>
          </string-name>
          , Detecting Sensor Faults,
          <article-title>Anomalies and Outliers in the Internet of Things: A Survey on the Challenges and Solutions</article-title>
          ,
          <source>Electronics</source>
          <volume>9</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>G.</given-names>
            <surname>Nakhaeizadeh</surname>
          </string-name>
          ,
          <article-title>Learning Prediction of Time Series - A Theoretical and Empirical Comparison of CBR with some other Approaches</article-title>
          ,
          <source>in: 1st EWCBR Proc.,</source>
          volume
          <volume>837</volume>
          <source>of LNCS</source>
          , Springer,
          <year>1993</year>
          , pp.
          <fpage>65</fpage>
          -
          <lpage>76</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>M.</given-names>
            <surname>Compta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <article-title>Integration of Sequence Learning and CBR for Complex Equipment Failure Prediction</article-title>
          ,
          <source>in: 19th ICCBR Proc.,</source>
          volume
          <volume>6880</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2011</year>
          , pp.
          <fpage>408</fpage>
          -
          <lpage>422</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>R.</given-names>
            <surname>Platon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Martel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Zoghlami</surname>
          </string-name>
          ,
          <article-title>CBR Model for Predicting a Building's Electricity Use: On-Line Implementation in the Absence of Historical Data</article-title>
          ,
          <source>in: 23rd ICCBR Proc.,</source>
          volume
          <volume>9343</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2015</year>
          , pp.
          <fpage>306</fpage>
          -
          <lpage>319</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>A.</given-names>
            <surname>Shabani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Paul</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Platon</surname>
          </string-name>
          , E. Hüllermeier,
          <article-title>Predicting the Electricity Consumption of Buildings: An Improved CBR Approach</article-title>
          , in: 24th
          <source>ICCBR 2016 Proc.,</source>
          volume
          <volume>9969</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2016</year>
          , pp.
          <fpage>356</fpage>
          -
          <lpage>369</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ihle</surname>
          </string-name>
          ,
          <article-title>Case Representation and Adaptation for Short-Term Load Forecasting at a Container Terminal</article-title>
          ,
          <source>in: 31st ICCBR Workshop Proc.,</source>
          volume
          <year>1815</year>
          ,
          <article-title>CEUR-WS</article-title>
          .org,
          <year>2016</year>
          , pp.
          <fpage>142</fpage>
          -
          <lpage>151</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>R.</given-names>
            <surname>Dolphin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Smyth</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Xu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Dong</surname>
          </string-name>
          ,
          <article-title>Measuring Financial Time Series Similarity with a View to Identifying Profitable Stock Market Opportunities</article-title>
          ,
          <source>in: 29th ICCBR Proc.,</source>
          volume
          <volume>12877</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2021</year>
          , pp.
          <fpage>64</fpage>
          -
          <lpage>78</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>P.</given-names>
            <surname>Funk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Xiong</surname>
          </string-name>
          ,
          <article-title>Case-Based Reasoning and Knowledge Discovery in Medical Applications with Time Series, Comput</article-title>
          . Intell.
          <volume>22</volume>
          (
          <year>2006</year>
          )
          <fpage>238</fpage>
          -
          <lpage>253</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Nilsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. J.</given-names>
            <surname>Funk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. M. G.</given-names>
            <surname>Olsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            von
            <surname>Schéele</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Xiong</surname>
          </string-name>
          ,
          <article-title>Clinical DecisionSupport for Diagnosing Stress-Related Disorders by Applying Psychophysiological Medical Knowledge to an Instance-Based Learning System</article-title>
          ,
          <source>Artif. Intell. Medicine</source>
          <volume>36</volume>
          (
          <year>2006</year>
          )
          <fpage>159</fpage>
          -
          <lpage>176</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>T.</given-names>
            <surname>Szczepanski</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Bach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Aamodt</surname>
          </string-name>
          ,
          <article-title>Challenges for the Similarity-Based Comparison of Human Physical Activities Using Time Series Data</article-title>
          ,
          <source>in: 31st ICCBR Workshop Proc.,</source>
          volume
          <year>1815</year>
          ,
          <article-title>CEUR-WS</article-title>
          .org,
          <year>2016</year>
          , pp.
          <fpage>173</fpage>
          -
          <lpage>177</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>L.</given-names>
            <surname>Fritsche</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Schlaefer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Budde</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Schröter</surname>
          </string-name>
          , H. Neumayer, Research Paper:
          <article-title>Recognition of Critical Situations from Time Series of Laboratory Results by Case-Based Reasoning</article-title>
          ,
          <source>J. Am. Medical Informatics Assoc</source>
          .
          <volume>9</volume>
          (
          <year>2002</year>
          )
          <fpage>520</fpage>
          -
          <lpage>528</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>H.</given-names>
            <surname>Borck</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Johnston</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Southern</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Boddy</surname>
          </string-name>
          ,
          <article-title>Exploiting Time Series Data for Task Prediction and Diagnosis in an Intelligent Guidance System</article-title>
          ,
          <source>in: 31st ICCBR Workshop Proc.,</source>
          volume
          <year>1815</year>
          ,
          <article-title>CEUR-WS</article-title>
          .org,
          <year>2016</year>
          , pp.
          <fpage>132</fpage>
          -
          <lpage>141</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>D. S. L.</given-names>
            <surname>Ariza</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. A.</given-names>
            <surname>Sánchez-Ruiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A.</given-names>
            <surname>González-Calero</surname>
          </string-name>
          ,
          <source>Time Series and Case-Based Reasoning for an Intelligent Tetris Game, in: 25th ICCBR Proc.,</source>
          volume
          <volume>10339</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2017</year>
          , pp.
          <fpage>185</fpage>
          -
          <lpage>199</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>A.</given-names>
            <surname>Schultheis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Zeyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>An Overview and Comparison of Case-Based Reasoning Frameworks</article-title>
          , in: 31st
          <source>ICCBR Proc., LNCS</source>
          , Springer,
          <year>2023</year>
          . Accepted for Publication.
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Grüger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>An IoT-Enriched Event Log for Process Mining in Smart Factories</article-title>
          ,
          <source>CoRR abs/2209</source>
          .02702 (
          <year>2022</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          [25]
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Rieder</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Seiger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>Object Detection for Smart Factory Processes by Machine Learning</article-title>
          ,
          <source>Procedia Comput. Sci</source>
          .
          <volume>184</volume>
          (
          <year>2021</year>
          )
          <fpage>581</fpage>
          -
          <lpage>588</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          [26]
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Grumbach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          , C. Zeyen,
          <article-title>ProCAKE: A Process-Oriented CaseBased Reasoning Framework</article-title>
          ,
          <source>in: 27th ICCBR Workshop Proc.,</source>
          volume
          <volume>2567</volume>
          , CEUR-WS.org,
          <year>2019</year>
          , pp.
          <fpage>156</fpage>
          -
          <lpage>161</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          [27]
          <string-name>
            <given-names>J.</given-names>
            <surname>Lin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. J.</given-names>
            <surname>Keogh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Lonardi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B. Y.</given-names>
            <surname>Chiu</surname>
          </string-name>
          ,
          <article-title>A Symbolic Representation of Time Series, With Implications for Streaming Algorithms</article-title>
          ,
          <source>in: 8th ACM SIGMOD Proc., ACM</source>
          ,
          <year>2003</year>
          , pp.
          <fpage>2</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          [28]
          <string-name>
            <given-names>M.</given-names>
            <surname>Sànchez-Marrè</surname>
          </string-name>
          ,
          <string-name>
            <given-names>U.</given-names>
            <surname>Cortés</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Martínez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Comas</surname>
          </string-name>
          ,
          <string-name>
            <surname>I.</surname>
          </string-name>
          <article-title>Rodríguez-Roda, An Approach for Temporal Case-Based Reasoning: Episode-Based Reasoning</article-title>
          , in: 6th
          <source>ICCBR Proc.,</source>
          volume
          <volume>3620</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2005</year>
          , pp.
          <fpage>465</fpage>
          -
          <lpage>476</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          [29]
          <string-name>
            <given-names>M.</given-names>
            <surname>Minor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Montani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. A.</given-names>
            <surname>Recio-García</surname>
          </string-name>
          ,
          <source>Process-Oriented Case-Based Reasoning</source>
          , Inf. Syst.
          <volume>40</volume>
          (
          <year>2014</year>
          )
          <fpage>103</fpage>
          -
          <lpage>105</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          [30]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Huang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Juarez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Duan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Li</surname>
          </string-name>
          ,
          <article-title>Length of Stay Prediction for Clinical Treatment Process Using Temporal Similarity, Expert Syst</article-title>
          .
          <source>Appl</source>
          .
          <volume>40</volume>
          (
          <year>2013</year>
          )
          <fpage>6330</fpage>
          -
          <lpage>6339</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          [31]
          <string-name>
            <given-names>D.</given-names>
            <surname>Gunopulos</surname>
          </string-name>
          , G. Das,
          <source>Time Series Similarity Measures and Time Series Indexing, in: SIGMOD'01 Proc., ACM</source>
          ,
          <year>2001</year>
          , p.
          <fpage>624</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          [32]
          <string-name>
            <given-names>C.</given-names>
            <surname>Cassisi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Montalto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Aliotta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cannata</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Pulvirenti</surname>
          </string-name>
          ,
          <article-title>Similarity Measures and Dimensionality Reduction Techniques for Time Series Data Mining, DMKD (</article-title>
          <year>2012</year>
          )
          <fpage>71</fpage>
          -
          <lpage>96</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref33">
        <mixed-citation>
          [33]
          <string-name>
            <given-names>J. F.</given-names>
            <surname>Allen</surname>
          </string-name>
          ,
          <article-title>Maintaining Knowledge about Temporal Intervals, Commun</article-title>
          . ACM
          <volume>26</volume>
          (
          <year>1983</year>
          )
          <fpage>832</fpage>
          -
          <lpage>843</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref34">
        <mixed-citation>
          [34]
          <string-name>
            <given-names>S. H.</given-names>
            <surname>El-Sappagh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Elmogy</surname>
          </string-name>
          ,
          <source>Case Based Reasoning: Case Representation Methodologies, Int. J. Adv. Comput. Sci. Appl</source>
          .
          <volume>6</volume>
          (
          <year>2015</year>
          )
          <fpage>192</fpage>
          -
          <lpage>208</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref35">
        <mixed-citation>
          [35]
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          , Experience Management: Foundations,
          <string-name>
            <given-names>Development</given-names>
            <surname>Methodology</surname>
          </string-name>
          , and
          <string-name>
            <surname>Internet-Based</surname>
            <given-names>Applications</given-names>
          </string-name>
          , volume
          <volume>2432</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref36">
        <mixed-citation>
          [36]
          <string-name>
            <given-names>G. E. A. P. A.</given-names>
            <surname>Batista</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. J.</given-names>
            <surname>Keogh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O. M.</given-names>
            <surname>Tataw</surname>
          </string-name>
          ,
          <string-name>
            <surname>V. M. A. de Souza</surname>
          </string-name>
          ,
          <article-title>CID: An Eficient Complexity-Invariant Distance for Time Series</article-title>
          , DMKD
          <volume>28</volume>
          (
          <year>2014</year>
          )
          <fpage>634</fpage>
          -
          <lpage>669</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref37">
        <mixed-citation>
          [37]
          <string-name>
            <given-names>R. W.</given-names>
            <surname>Hamming</surname>
          </string-name>
          ,
          <article-title>Error Detecting and Error Correcting Codes</article-title>
          , BSTJ
          <volume>29</volume>
          (
          <year>1950</year>
          )
          <fpage>147</fpage>
          -
          <lpage>160</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref38">
        <mixed-citation>
          [38]
          <string-name>
            <given-names>A.</given-names>
            <surname>Apostolico</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Guerra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. M.</given-names>
            <surname>Landau</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Pizzi</surname>
          </string-name>
          ,
          <source>Sequence Similarity Measures Based on Bounded Hamming Distance, Theor. Comput. Sci</source>
          .
          <volume>638</volume>
          (
          <year>2016</year>
          )
          <fpage>76</fpage>
          -
          <lpage>90</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref39">
        <mixed-citation>
          [39]
          <string-name>
            <surname>V. I. Levenshtein</surname>
          </string-name>
          , Binary Codes Capable of Correcting Deletions, Insertions, and Reversals,
          <source>in: Soviet Physics Doklady</source>
          , volume
          <volume>10</volume>
          ,
          <string-name>
            <surname>Soviet</surname>
            <given-names>Union</given-names>
          </string-name>
          ,
          <year>1966</year>
          , pp.
          <fpage>707</fpage>
          -
          <lpage>710</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref40">
        <mixed-citation>
          [40]
          <string-name>
            <given-names>P.</given-names>
            <surname>Marteau</surname>
          </string-name>
          ,
          <article-title>Time Warp Edit Distance with Stifness Adjustment for Time Series Matching</article-title>
          ,
          <source>IEEE Trans. Pattern Anal. Mach. Intell</source>
          .
          <volume>31</volume>
          (
          <year>2009</year>
          )
          <fpage>306</fpage>
          -
          <lpage>318</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref41">
        <mixed-citation>
          [41]
          <string-name>
            <given-names>T. F.</given-names>
            <surname>Smith</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Waterman</surname>
          </string-name>
          , et al.,
          <source>Identification of Common Molecular Subsequences, JMB</source>
          <volume>147</volume>
          (
          <year>1981</year>
          )
          <fpage>195</fpage>
          -
          <lpage>197</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref42">
        <mixed-citation>
          [42]
          <string-name>
            <given-names>D. S.</given-names>
            <surname>Hirschberg</surname>
          </string-name>
          ,
          <article-title>Algorithms for the Longest Common Subsequence Problem</article-title>
          ,
          <source>J. ACM</source>
          <volume>24</volume>
          (
          <year>1977</year>
          )
          <fpage>664</fpage>
          -
          <lpage>675</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref43">
        <mixed-citation>
          [43]
          <string-name>
            <given-names>A.</given-names>
            <surname>Abboud</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Backurs</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. V.</given-names>
            <surname>Williams</surname>
          </string-name>
          ,
          <article-title>Tight Hardness Results for LCS and Other Sequence Similarity Measures</article-title>
          , in: V.
          <string-name>
            <surname>Guruswami</surname>
          </string-name>
          (Ed.),
          <source>56th IEEE Proc., IEEE CS</source>
          ,
          <year>2015</year>
          , pp.
          <fpage>59</fpage>
          -
          <lpage>78</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref44">
        <mixed-citation>
          [44]
          <string-name>
            <given-names>E.</given-names>
            <surname>Schake</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Grumbach</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>A Time-Series Similarity Measure for Case-Based Deviation Management to Support Flexible Workflow Execution</article-title>
          ,
          <source>in: 28th ICCBR Proc.,</source>
          volume
          <volume>12311</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>33</fpage>
          -
          <lpage>48</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref45">
        <mixed-citation>
          [45]
          <string-name>
            <given-names>H.</given-names>
            <surname>Sakoe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Chiba</surname>
          </string-name>
          ,
          <article-title>Dynamic Programming Algorithm Optimization for Spoken Word Recognition</article-title>
          ,
          <source>IEEE Trans. Aco. Sp. and Sig. Proc. 26</source>
          (
          <year>1978</year>
          )
          <fpage>43</fpage>
          -
          <lpage>49</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref46">
        <mixed-citation>
          [46]
          <string-name>
            <given-names>D. J.</given-names>
            <surname>Berndt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Cliford</surname>
          </string-name>
          ,
          <article-title>Using Dynamic Time Warping to Find Patterns in Time Series</article-title>
          , in: KDD workshop, volume
          <volume>10</volume>
          , Seattle, WA, USA,
          <year>1994</year>
          , pp.
          <fpage>359</fpage>
          -
          <lpage>370</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref47">
        <mixed-citation>
          [47]
          <string-name>
            <given-names>J.</given-names>
            <surname>Serrà</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. L.</given-names>
            <surname>Arcos</surname>
          </string-name>
          ,
          <string-name>
            <surname>A Competitive</surname>
          </string-name>
          <article-title>Measure to Assess the Similarity Between Two Time Series</article-title>
          , in: 20th
          <source>ICCBR Proc.,</source>
          volume
          <volume>7466</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2012</year>
          , pp.
          <fpage>414</fpage>
          -
          <lpage>427</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref48">
        <mixed-citation>
          [48]
          <string-name>
            <given-names>O. E.</given-names>
            <surname>Gundersen</surname>
          </string-name>
          ,
          <article-title>Toward Measuring the Similarity of Complex Event Sequences in RealTime</article-title>
          , in: 20th
          <source>ICCBR Proc.,</source>
          volume
          <volume>7466</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2012</year>
          , pp.
          <fpage>107</fpage>
          -
          <lpage>121</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref49">
        <mixed-citation>
          [49]
          <string-name>
            <given-names>M.</given-names>
            <surname>Jaczynski</surname>
          </string-name>
          ,
          <article-title>A Framework for the Management of Past Experiences with Time-Extended Situations</article-title>
          ,
          <source>in: 6th CIKM Proc., ACM</source>
          ,
          <year>1997</year>
          , pp.
          <fpage>32</fpage>
          -
          <lpage>39</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref50">
        <mixed-citation>
          [50]
          <string-name>
            <given-names>J.</given-names>
            <surname>Ma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Knight</surname>
          </string-name>
          ,
          <article-title>A Framework for Historical Case-Based Reasoning</article-title>
          , in: 5th
          <source>ICCBR Proc.,</source>
          volume
          <volume>2689</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2003</year>
          , pp.
          <fpage>246</fpage>
          -
          <lpage>260</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref51">
        <mixed-citation>
          [51]
          <string-name>
            <given-names>S.</given-names>
            <surname>Montani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Leonardi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Bottrighi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Portinale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Terenziani</surname>
          </string-name>
          , Supporting Flexible, Eficient, and
          <article-title>User-Interpretable Retrieval of Similar Time Series</article-title>
          ,
          <source>IEEE Trans. Knowl. Data Eng</source>
          .
          <volume>25</volume>
          (
          <year>2013</year>
          )
          <fpage>677</fpage>
          -
          <lpage>689</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref52">
        <mixed-citation>
          [52]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bottrighi</surname>
          </string-name>
          , G. Leonardi,
          <string-name>
            <given-names>S.</given-names>
            <surname>Montani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Portinale</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Terenziani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A Time</given-names>
            <surname>Series Retrieval Tool for</surname>
          </string-name>
          Sub-Series Matching, Appl. Intell.
          <volume>43</volume>
          (
          <year>2015</year>
          )
          <fpage>132</fpage>
          -
          <lpage>149</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref53">
        <mixed-citation>
          [53]
          <string-name>
            <surname>M. M. M. Fuad</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          <string-name>
            <surname>Marteau</surname>
          </string-name>
          ,
          <article-title>Fast Retrieval of Time Series Using a Multi-resolution Filter with Multiple Reduced Spaces</article-title>
          ,
          <source>in: 6th ADMA Proc.,</source>
          volume
          <volume>6440</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2010</year>
          , pp.
          <fpage>137</fpage>
          -
          <lpage>148</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref54">
        <mixed-citation>
          [54]
          <string-name>
            <given-names>E.</given-names>
            <surname>Lupiani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. M.</given-names>
            <surname>Juarez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. T.</given-names>
            <surname>Palma</surname>
          </string-name>
          ,
          <article-title>A Proposal of Temporal Case-Base Maintenance Algorithms</article-title>
          , in: 22nd
          <source>ICCBR Proc.,</source>
          volume
          <volume>8765</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2014</year>
          , pp.
          <fpage>260</fpage>
          -
          <lpage>273</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref55">
        <mixed-citation>
          [55]
          <string-name>
            <given-names>P.</given-names>
            <surname>Gay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>López</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Meléndez</surname>
          </string-name>
          ,
          <article-title>Sequential Learning for Case-Based Pattern Recognition in Complex Event Domains</article-title>
          ,
          <source>in: 16th UKCBR Workshop Proc</source>
          .,
          <year>2011</year>
          , pp.
          <fpage>46</fpage>
          -
          <lpage>55</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref56">
        <mixed-citation>
          [56]
          <string-name>
            <given-names>A.</given-names>
            <surname>Elsayed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. H. A.</given-names>
            <surname>Hijazi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Coenen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>García-Fiñana</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Sluming</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <source>Time Series Case Based Reasoning for Image Categorisation, in: 19th ICCBR Proc.,</source>
          volume
          <volume>6880</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2011</year>
          , pp.
          <fpage>423</fpage>
          -
          <lpage>436</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref57">
        <mixed-citation>
          [57]
          <string-name>
            <given-names>R.</given-names>
            <surname>Zarka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Cordier</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Egyed-Zsigmond</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Lamontagne</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mille</surname>
          </string-name>
          ,
          <article-title>Similarity Measures to Compare Episodes in Modeled Traces</article-title>
          ,
          <source>in: 21st ICCBR Proc.,</source>
          volume
          <volume>7969</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2013</year>
          , pp.
          <fpage>358</fpage>
          -
          <lpage>372</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref58">
        <mixed-citation>
          [58]
          <string-name>
            <given-names>M.</given-names>
            <surname>Minor</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Marx</surname>
          </string-name>
          ,
          <article-title>Case-Based Reasoning for Inert Systems in Building Energy Management</article-title>
          ,
          <source>in: 25th ICCBR Proc.,</source>
          volume
          <volume>10339</volume>
          <source>of LNCS</source>
          , Springer,
          <year>2017</year>
          , pp.
          <fpage>200</fpage>
          -
          <lpage>211</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref59">
        <mixed-citation>
          [59]
          <string-name>
            <given-names>M. F.</given-names>
            <surname>Valdez-Ávila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. A.</given-names>
            <surname>Pérez-Pérez</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Sarabia-Osorio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Bermejo-Sabbagh</surname>
          </string-name>
          ,
          <string-name>
            <surname>M. G.</surname>
          </string-name>
          <article-title>Orozco-del-</article-title>
          <string-name>
            <surname>Castillo</surname>
          </string-name>
          ,
          <article-title>CBR-foX: A Generic Post-Hoc Case-Based Reasoning Method for The Explanation of Time-Series Forecasting</article-title>
          ,
          <source>in: 30th ICCBR Workshop Proc.,</source>
          volume
          <volume>3389</volume>
          , CEUR-WS.org,
          <year>2022</year>
          , pp.
          <fpage>246</fpage>
          -
          <lpage>250</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref60">
        <mixed-citation>
          [60]
          <string-name>
            <given-names>P.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Weingarz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>Enhancing Siamese Neural Networks Through Expert Knowledge for Predictive Maintenance</article-title>
          , volume
          <volume>1325</volume>
          <source>of CCIS</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>77</fpage>
          -
          <lpage>92</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref61">
        <mixed-citation>
          [61]
          <string-name>
            <given-names>R.</given-names>
            <surname>Seiger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Franceschetti</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <article-title>An Interactive Method for Detection of Process Activity Executions from IoT Data</article-title>
          ,
          <source>Future Internet</source>
          <volume>15</volume>
          (
          <year>2023</year>
          )
          <fpage>77</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref62">
        <mixed-citation>
          [62]
          <string-name>
            <given-names>J.</given-names>
            <surname>Grüger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          , R. Bergmann,
          <article-title>IoT-enriched event log generation and quality analytics: a case study, it</article-title>
          - Information
          <string-name>
            <surname>Technology</surname>
          </string-name>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref63">
        <mixed-citation>
          [63]
          <string-name>
            <given-names>R.</given-names>
            <surname>Seiger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Zerbato</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Garcia-Banuelos</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Weber</surname>
          </string-name>
          ,
          <article-title>Towards IoT-driven Process Event Log Generation for Conformance Checking in Smart Factories, in: 24th EDOC Workshops</article-title>
          , IEEE,
          <year>2020</year>
          , pp.
          <fpage>20</fpage>
          -
          <lpage>26</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref64">
        <mixed-citation>
          [64]
          <string-name>
            <surname>M. M. Richter</surname>
            , Knowledge Containers, in: Readings in
            <given-names>CBR</given-names>
          </string-name>
          , MKP,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref65">
        <mixed-citation>
          [65]
          <string-name>
            <given-names>C.</given-names>
            <surname>Shearer</surname>
          </string-name>
          ,
          <article-title>The CRISP-DM Model: The New Blueprint for Data Mining</article-title>
          ,
          <source>J. Data Warehous</source>
          <volume>5</volume>
          (
          <year>2000</year>
          )
          <fpage>13</fpage>
          -
          <lpage>22</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref66">
        <mixed-citation>
          [66]
          <string-name>
            <given-names>P.</given-names>
            <surname>Klein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          , R. Bergmann,
          <article-title>FTOnto: A Domain Ontology for a Fischertechnik Simulation Production Factory by Reusing Existing Ontologies</article-title>
          , in: LWDA 2019
          <string-name>
            <given-names>Workshop</given-names>
            <surname>Proc</surname>
          </string-name>
          ., volume
          <volume>2454</volume>
          , CEUR-WS.org,
          <year>2019</year>
          , pp.
          <fpage>253</fpage>
          -
          <lpage>264</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref67">
        <mixed-citation>
          [67]
          <string-name>
            <given-names>J.</given-names>
            <surname>Mangler</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Grüger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ehrendorfer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bertrand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-V.</given-names>
            <surname>Benzin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Rinderle-Ma</surname>
          </string-name>
          ,
          <string-name>
            <surname>E. Serral Asensio</surname>
          </string-name>
          , R. Bergmann, DataStream XES Extension:
          <article-title>Embedding IoT Sensor Data into Extensible Event Stream Logs</article-title>
          ,
          <source>Future Internet</source>
          <volume>15</volume>
          (
          <year>2023</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref68">
        <mixed-citation>
          [68]
          <string-name>
            <given-names>C. W.</given-names>
            <surname>Günther</surname>
          </string-name>
          , E. Verbeek,
          <source>XES Standard Definition Version 2</source>
          .0, Eindhoven University of Technology (
          <year>2014</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref69">
        <mixed-citation>
          [69]
          <string-name>
            <given-names>L.</given-names>
            <surname>Malburg</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Grüger</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Bergmann</surname>
          </string-name>
          ,
          <article-title>An IoT-Enriched Event Log for Process Mining in Smart Factories</article-title>
          , Zenodo,
          <year>2023</year>
          . doi:
          <volume>10</volume>
          .6084/m9.figshare.
          <volume>20130794</volume>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>