<!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>Geo-Aware Process Mining</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Carl Corea</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrick Delfmann</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute for Information Systems Research, University of Koblenz</institution>
          ,
          <country country="DE">Germany</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In the field of physics, a trajectory is defined as the path that an object in motion follows through space. In process mining, trajectories are also studied, however, mostly in a control-flow sense. In this work, we are interested in understanding process trajectories in a physical sense, i.e., considering not only the control-flow but also the actual (physical) path that instances followed. To this aim, we present a tool which can visualize directly-follows graphs (DFGs) in a 3-dimensional space, where the placement of the DFG nodes in the space reflects the actual locations of the underlying activities in the real world (e.g., based on geo-location data from the event log). This can be useful for understanding the true movement of process instances in a geospatial manner, for example, where exactly employees are moving within the company building. We describe our browser-based tool and provide pointers for its maturity.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Geo-Aware Process Mining</kwd>
        <kwd>Physical Trajectories</kwd>
        <kwd>3D Visualization</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        A central objective in process discovery is to understand the trajectories of process instances
within organizations. For example, in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], those authors investigate the trajectories of patients
in a hospital process.
      </p>
      <p>When speaking of such trajectories, these are often referred to in a control-flow sense.
However, there might well be use-cases where one needs to find out not only how the instances
move, but also where the instances are moving (physically). For example, in a hospital process,
one may need to check whether wheelchair patients are forced to cover long distances or
inaccessible stairways, or whether there are certain locations in the hospital that can become
too overcrowded. This is referred to as geospatial information.</p>
      <p>In this work, we present a tool that can visualize activities in a 3-dimensional space under a
consideration of activity-location data (e.g., stemming from event logs). In this way, the , , 
positions of activities within the visualization reflect the actual positions of the underlying
activities in the real world. Intuitively, we say that such a form of visualization is geo-aware.</p>
      <p>
        An example of such a geo-aware visualization taken from our tool is shown in Figure 1.
The use-cases for such geospatial analytics capabilities are many, for example, understanding
process movements within companies or hospitals [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], understanding crowd movements in
large-scale sport events and touristic regions like ski resorts [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], or understanding movement
patterns of animals such as bees [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] or pigs [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>In the following, we introduce our approach and tool. We will begin with a small background
on 3D visualizations, geo-awareness, and our contributions w.r.t. related works.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Background</title>
      <p>
        2.1. 3D Visualizations, Geo-Awareness
The Oxford dictionary defines 3D as “having, or appearing to have, length, width and depth" [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
In this context, an interesting phenomenon about 3D visualizations is that they are confined to a
2-dimensional image or screen, but the human is able to observe 3D shapes from patterns of light
that reflect onto the retina [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. How exactly 3D perception works is an ongoing research question
in fields such as physics or neuroscience, and some explanations involve relationships between
patterns of light and physical structures [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. For this work, we apply the above definition that a
3D visualization is any visualization that appears to have three dimensions.
      </p>
      <p>
        A prominent example of 3D visualization technology is WebGL [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], which is used for this
project. WebGL allows to internally represent 3D graphics. Then, w.r.t. to a viewpoint, WebGL
can rasterize the 3D graphics into a 2D projection using shading techniques, which creates the
appearance of the shown (2D) image being 3D [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ].
      </p>
      <p>In the scope of 3D process visualizations, we add the constraint that the object placement in
the 3-dimensional space should be based on the real-life locations on the objects, leading to,
what we call, geo-aware visualizations. We define geo-awareness as follows: Consider a directly
follows graph  = (, ); where  is the set of activities, and  ⊆  ×  . Assuming every
underlying activity can be pin-pointed to a geographic location in the real world, we assign this
location to an activity  ∈  via the real-world latitude, longitude and height above sea-level,
denoted .lat , .lon and .h. Furthermore, for any representation  of  (in 3-dimensional
space), every node  ∈  has an ,  and  position in this space, denoted ., . and ..
We now say that the representation  of  is geo-aware, if it satisfies the following property:
Geo-Awareness. Let  = (, ) be a directed graph and  be a representation of . Then,
for all pairs of nodes , ′ ∈  :
• if .lat &gt; ′.lat then .x &gt; ′.x
• if .lon &gt; ′.lon then .z &gt; ′.z
• if .h &gt; ′.h then .y &gt; ′.y
In other words, a representation is geo-aware if the placement of nodes reflects the location of
the activities in the real world (and their locations relative to each other). Figure 2 (a) shows a
DFG produced by the PM4PY library. Clearly, such a representation is not geo-aware. For this
work (b), novel graph drawing techniques are presented to transform geo-locations into x,y,z
coordinates. The novelty w.r.t. other “3D" tools is also cl(aa) rObijfieecdt-CeinntricFBPiMgNumroedel 2sho(wcin)g,alwl6 hich shows the
Celonis Process Sphere. The Process Sphere is “3D", buotbtojenscetolteyctptesgsubaensedotsal-olf1ao6wbajcetcaitvsirttieyepse,asnadantsdheatcinthitveietrifeascpe lac e(bm)Obejenct-tCeontrfic BtPhMeN model after
nodA.eBersti, S. ivansZelstsandtDi.Slchlusterbased on control-flow and doesSoftwanreImopactts17 r(20e23)fle100c556t the(cronetinagle-ncwytaobler)lodn thae cleftt-ihvanidtsyidelocatsieolecntinsga.pthprlieceatoiobnjesc,tatnydpoesffe(arps)plicants,
(a) Im(aa) Dgireectly-Fol ows Graph (DFG) (cf. line 20 of Code ListiGng1): Not (b) Process Tree (cf. line 21 of CooderLkistin:g 13)D and ge(co)A-naalyzinag rthee time(bce)tween an applicant applying forbayvacancy and actually being hired. In total
of a simple DF (b) This w w Process Sphere Celonis: 3D,
geo-aware (node placement (node positions are ba8s9eapdpliocannts werebheirtewbde(euonftaapntpoltoyainltogfga2ne8d8oaacp-cpeapliwctianngatsarnaepopffl(yenirnwgoa9sd168e4tidmpaeylssa). Tchee-average time
based on control-flow). the geographical poFsigiutrieo9.nEsxa)m.ple results pmrodeuncetd ubsainsgeCedlonoisnProccoessnStprheorel-[9flo]. wTh)e.screenshots are not
intended to be readable but illustrate the capabilities of Process Sphere. The different colors correspond
Figure 2: Clarificatio(cn)Accepting Petri net (cf. line w22of Code Listning e1) ss (images (a) and t(octh)e tsiaxokbejecnttyfpreso. m PM4PY, and Celonis, resp.).
of geo-a are
5.3. Example Using OC-PM and Process Sphere</p>
      <p>To illustrate the techniques just described, we use a small example and show
discov2.2. Related Wor(d) kBPMN aDiangram d(cf. line M23of Coode tListiing v1) ation
tehiraoenvdse,ps1ri3xo5coeobsffsjeermcst,ot1dy4pe0lesvsainchaabnvociitnehsg,O2th0Ce-rPefcoMrluloiatwnerdisn,Cgaennldoun6mismbPaernrosacgoeefsrsso.bSTpjehhceetrsre:ea.2r8Ien81tah6pipaslcistcmiavnaittlisle,ds9a(1it.6ae.as,peetpv,leiwcnaeto ti types): open vacancy, submit application, assign recruiter, first screening, check references, assign
To better show t hFig. e1. Viscualizationnsof tthrepriocbess muodels discoovernedinsCode oListifng 1.our work, we dvaecafinncye, sesnodrmejecetionp,crloosepvaecarntcyi efosrneiwnaptphlicaetionfso,clhlaongwemiannagge.r, consult manager,
Fdmiirfeasrnf(cF2ppocteoe.eo1frsrrr.ys.f,aPi3oFnlniMm.rnispmgts4oVteat.dPaair“ntsfne1hynucolc(cear2aeoef,mla)oi,fizs)cfra,paefmDtn.strehppiscacFoeretlnioirdAgssdpcupi."mwevoam3sett-stt.vre(ersiCcrdtesafrnouo.eo(snavceFlshiipsii2snigazrdua(.ereeactd3vrlpfkDi.(ecvzuFbnaiFsi)stgtii)ruhing.doa[g.fa1n4loit1s6Pzaos(]aMh.bfftaooaMi)4or)lwcoPa,onoiycprnawe:r(ucgoonrcdcthvcfivoe.reepaessrvFrtacs,diiieitsnodgleumygue.a-csrsifl3nPiossdy(ielianaiotfod)grfna)iweewrtotanseaerreecnnrtgtoteidtrsfnsataepeipc((trmcchthonsffes--.,.a3glDifvFp3nosail.girnrec.Iiopaomo3vtruia(odpovsctcan)iseo)csesngg,tcesiGstlPo,cousMvorcaeesemin4durhdPpavsaoyrtidvee’eseeashw.r-peudivnoseleesatcMeiddioisnniittwotzoi,anaoilinlnofasdiactstlcauhotvsthopdaarttisrnsiittbm.gauoSeihnizuledardcathnidluoetiivphnvioc.esnsanlurrsaaePel.iMfzy(oOaa4trtrP3iogoeypan.ntsd2iDIidmnzaaritzte-ieiiorni)mmmdnwgssppaooaitcrfttriomaeaohnnpsstt-raektnsaswrioeonaraklslwoseigntehsoes-.oaSmwoeawrfeoer(dmGeAfinoef).laaBy2ueDtr-osv.feTcrhosiueosrnese,
of GvFiisgu.Aa1li(zca)t)i,o(nansG,dvaBrPioMuNs omthoedrevlsisu(cafl.izFait)gio.n,1s(adr)e).imBepsliedmeselnptoerodciegnssPMm4oPduyel.s tTohis section Aexplorwesthe impact oof uPM4tPy, its role in academeicnsion). Second, the work at hand takes a
layers are however mostly a3gnostic of each other. As a result, edges drawn on one layer cannot
consider the map semantics on a lower background layer, which leads to problems such that
edges go “through walls". We argue that—in order to truly understand trajectories— edges
should also reflect the actual geographic paths in the real-world. Therefore, our tool works in a
single (3D) environment, which allows to apply path-finding algorithms in the 3D world for
drawing edges. This results in edges correctly following the maps semantics, e.g., edges going
around corners instead of “through" walls. We refer to this property as path-finding ( PF).</p>
      <p>Based on the identified properties, the work at hand compares to other related works for
geospatial process visualizations as shown in Table 1. As can be seen, this work is the first to
satisfy 3D geo-awarness and path finding. 1 We continue to present our approach.</p>
    </sec>
    <sec id="sec-3">
      <title>3. Approach Overview</title>
      <p>
        Our browser-based tool allows to create geo-aware process visualizations. It was built using
Three.js. The tool and a screencast can be found at http://gapm.process-science.uni-koblenz.de.
1We acknowledge that [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] is the only work to also actually integrate a cooking recipe in their work, which can also
be seen as an important feature.
      </p>
      <p>
        Tool
Tiramisù [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
Celonis P. Sphere [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
ProM (Plugin) [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]
VR-ProcessMine [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]
BupaR [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]
This work
3D
o
x
x
x
      </p>
      <p>GA
x</p>
      <p>GA(2D)
x
x
x
x</p>
      <p>PF
n/a
n/a
x</p>
      <p>The architecture of the tool is shown in Figure 3. The tool takes as input a DFG file (directly
follows graph), a mapping file (mapping activities to geo-locations), and (optionally) a 3D map
(e.g., created in Blender). The tool is equipped with an interactive editor to create the mapping
ifle in a user-friendly manner. An interactive 3D visualization will then be created based on the
input files, by extracting node/edge information from the DFG, and drawing the corresponding
graph infused by the provided location data of the nodes. The tool can be run in two modes,
depending on whether a 3D map was provided. In the following, we demonstrate both modes.</p>
      <p>Mode 1 (with 3D map). For mode 1, a 3D model of the process environment has to be
provided. This can e.g. be a map of a building, but also a geographic map of countries. Many
open-source tools like Blender exist to create such models. For mode 1, the mapping file assigns
to every activity an , ,  coordinate on the 3D model, and the visualization will place the
DFG nodes accordingly. As discussed, an important feature is the integration of path-finding
algorithms, which ensures that the edges correctly follow actual paths in the 3D map, and don’t
go “through walls". An overview of how inputs are combined in mode 1 is shown in Figure 4.</p>
      <p>Activity A
Activity B
0&gt;1
1&gt;2
…
+
+</p>
      <p>Activity A:{
x: 1,
y:2,
z:-5
},…
=</p>
      <sec id="sec-3-1">
        <title>DFG File</title>
        <p>3D Map</p>
      </sec>
      <sec id="sec-3-2">
        <title>Mapping File</title>
      </sec>
      <sec id="sec-3-3">
        <title>Visualization</title>
        <p>
          Mode 2 (without 3D map, positions loaded from geo-data). For mode 2 (without 3D
map), the mapping file assigns to every activity a real-life longitude  , latitude  , and a height
above sea-level ℎ. A remark here is that lat/lon coordinates model positions in a non-euclidean
space (i.e., a sphere), however, for our tool, visualizations are presented on a “flat" surface which
is a euclidean space. To transform spherical coordinates to cartesian coordinates, we apply the
mercator projection. Specifically, for the earth’s radius , we
apply the projection  (, , ℎ ) = ( * rad( ),  * ln(tan( 4 + rad( ) )), ℎ)
2
[
          <xref ref-type="bibr" rid="ref13">13</xref>
          ]. In result, for mode 2 (without map), the nodes extracted
from the DFG are placed based on the provided lat/lon
coordinates. The camera in the used Three.js library is then set to orbit
around the centroidof all nodes. An example of a visualization
with positions loaded from lat/lon data is shown in Figure 5.
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Discussion</title>
      <p>The tool can be used with any DFG in the .dfg format. Some
considerations are as follows. First, regarding 3D process visualizations, there is a lack of research
on quality criteria. For example, crossing lines may need to be assessed diferently in 3D spaces.
Future works should therefore investigate cognitive aspects of 3D process visualizations to
identify quality metrics. Second, as stated, the considered lat/lon coordinates are spherical, but
the visualizations are transformed to a euclidean space. For most use-cases, e.g., processes in a
building, this will frankly not be of interest to the user, but for larger distances, it should be kept
in mind that this will cause distortion, e.g., showing countries on opposites side of the "globe" on
one plane. Last, we currently assume a 1:1 mapping between activities and geographic positions,
i.e., even across diferent instances. We argue this is applicable to many real-life settings, e.g.,
sensory-data from IoT sensors, or machine/warehouse activities. In future works, we aim to
integrate support for activities with multiple locations over diferent instances.</p>
      <p>In general, the form of 3D visualizations as introduced in this work can give rise to many
future forms of process intelligence, e.g., conformance checking with geospatial reasoning.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>F.</given-names>
            <surname>Mannhardt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Blinde</surname>
          </string-name>
          ,
          <article-title>Analyzing the trajectories of patients with sepsis using process mining, in: RADAR+ EMISA, CEUR-ws</article-title>
          . org,
          <year>2017</year>
          , pp.
          <fpage>72</fpage>
          -
          <lpage>80</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>J.</given-names>
            <surname>Brunk</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. M.</given-names>
            <surname>Riehle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Delfmann</surname>
          </string-name>
          ,
          <article-title>Prediction of customer movements in large tourism industries by the means of process mining</article-title>
          ,
          <source>in: 26th European Conference on Information Systems</source>
          ,
          <year>2018</year>
          , p.
          <fpage>40</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Ahmadi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bertrand</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. I. Pozo</given-names>
            <surname>Romero</surname>
          </string-name>
          , E. Serral,
          <article-title>Analysing the foraging behaviour of bees using process mining: A case study</article-title>
          ,
          <source>in: International Conference on Process Mining</source>
          , Springer,
          <year>2023</year>
          , pp.
          <fpage>5</fpage>
          -
          <lpage>18</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>A.</given-names>
            <surname>Melfsen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Lepsien</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bosselmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Koschmider</surname>
          </string-name>
          , E. Hartung,
          <article-title>Describing behavior sequences of fattening pigs using process mining on video data and automated pig behavior recognition</article-title>
          ,
          <source>Agriculture</source>
          <volume>13</volume>
          (
          <year>2023</year>
          )
          <fpage>1639</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5] https://www.oxfordlearnersdictionaries.com/definition/english/3d, Accessed:
          <fpage>2024</fpage>
          -06-24.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J. T.</given-names>
            <surname>Todd</surname>
          </string-name>
          ,
          <article-title>The visual perception of 3d shape</article-title>
          ,
          <source>Trends in cognitive sciences 8</source>
          (
          <year>2004</year>
          )
          <fpage>115</fpage>
          -
          <lpage>121</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7] https://www.youtube.com/watch?v=
          <fpage>f</fpage>
          -
          <lpage>9LEoYYvE4</lpage>
          , Accessed:
          <fpage>2024</fpage>
          -06-24.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>A.</given-names>
            <surname>Alman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Arleo</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Beerepoot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Burattin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Di Ciccio</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Resinas</surname>
          </string-name>
          , Tiramisù:
          <article-title>Making sense of multi-faceted process information through time and space (</article-title>
          <year>2024</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <surname>W. van der Aalst</surname>
          </string-name>
          ,
          <article-title>Object-centric pm: Unraveling the fabric of real processes</article-title>
          ,
          <source>Mathematics</source>
          <volume>11</volume>
          (
          <year>2023</year>
          )
          <fpage>2691</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <surname>W. van der Aalst</surname>
          </string-name>
          , M. de Leoni, A. ter Hofstede,
          <article-title>Process mining and visual analytics: Breathing life into business process models</article-title>
          ,
          <source>BPM Center Report BPM-11-15</source>
          , BPMcenter. org
          <volume>17</volume>
          (
          <year>2011</year>
          )
          <fpage>699</fpage>
          -
          <lpage>730</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>R.</given-names>
            <surname>Oberhauser</surname>
          </string-name>
          ,
          <article-title>Vr-processmine: immersive process mining visualization and analysis in virtual reality</article-title>
          ,
          <source>in: Proceedings of the 14th Int. Conference on Information, Process, and Knowledge Management</source>
          ,
          <year>2022</year>
          , pp.
          <fpage>75</fpage>
          -
          <lpage>80</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12] https://bupaverse.github.io/processanimateR/reference/renderer_leaflet.html, Accessed:
          <fpage>2024</fpage>
          -08-01.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <surname>M. McClure</surname>
          </string-name>
          ,
          <article-title>Map projection an intro for multivariable calculus</article-title>
          , Accessed:
          <fpage>2024</fpage>
          -06-24.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>