mapping data sources to xes in a generic way

21
Mapping Data Sources to XES in a Generic Way Master Project Presentation Monday March 29 2010 Supervisor: Wil van der Aalst Tutor: Eric Verbeek 3 rd Committee Member: George Fletcher Student: Joos Buijs

Upload: sahara

Post on 25-Feb-2016

31 views

Category:

Documents


3 download

DESCRIPTION

Mapping Data Sources to XES in a Generic Way. Master Project Presentation Monday March 29 2010. Supervisor: Wil van der Aalst Tutor: Eric Verbeek 3 rd Committee Member: George Fletcher Student: Joos Buijs. Content Outline. Introduction by Example The Project - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Mapping Data Sources to XES in a Generic Way

Mapping Data Sources to XES in a Generic Way

Master Project PresentationMonday March 29 2010

Supervisor: Wil van der AalstTutor: Eric Verbeek3rd Committee Member: George FletcherStudent: Joos Buijs

Page 2: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Content Outline

1. Introduction by Example2. The Project3. Brief Introduction into Process Mining4. Application Demonstration

a) Important Mapping Aspects5. Conclusion6. Questions and Discussion!

PAGE 229-03-2010

Page 3: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Example – Orders Table

ID Name CreatedOn CreatedBy PriceTotal0 Good music for Wil 1-1-2010 11:00 Mrs Van der Aalst € 160,20

1 Lego for Eric 12-1-2010 16:45 Eric € 1.249,97

2 Hiking equipment for George

24-1-2010 9:00 Mrs Fletcher € 364,83

3 Home construction supplies for Boudewijn

4-2-2010 19:35 Boudewijn € 197,06

PAGE 329-03-2010

Page 4: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Example – Order Lines Table

PAGE 429-03-2010

ID OrderID Description Quantity Price PriceTotal

0 0 John Denver's life Album (15 CD premium pack) 1 € 99,98 € 99,98

1 0 Children Music Collection 2010 (3 CD + 2 DVD holiday pack) 1 € 24,86 € 24,86

2 0 Trance collection of the decade (4 CD mixed) 1 € 35,36 € 35,36

3 1 Lego Death Star (10188) 1 € 419,99 € 419,99

4 1 Lego Ultimate Collector's Millennium Falcon (10179) 1 € 579,99 € 579,99

5 1 Lego Republic Dropship with AT-OT Walker (10195) 1 € 249,99 € 249,99

6 2 Hiking shoes size 28 2 € 79,99 € 159,98

7 2 Pink sun glasses 1 € 24,95 € 24,95

8 2 Comfort IV Child carrier 1 € 159,95 € 159,95

9 2 Bike helmet "Dora the Explorer"-edition 1 € 19,95 € 19,95

10 3 Hardhat 5 € 21,45 € 107,25

11 3 Wheel assortment (55 pieces) 1 € 35,36 € 35,36

12 3 Destruction hammer 1 € 54,45 € 54,45

Page 5: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Example – Deliveries Table

ID OrderLineID DeliveredOn AcceptedBy0 1 15-1-2010 15:35 Anne

1 2 17-1-2010 15:03 Wil

2 0 21-1-2010 18:43 Mrs Van der Aalst

3 3 28-1-2010 17:54 Eric

4 4 28-1-2010 17:54 Eric

5 5 28-1-2010 17:54 Eric

6 6 1-2-2010 11:03 Mrs Fletcher

7 7 5-2-2010 14:07 Mrs Fletcher

8 9 5-2-2010 14:07 Mrs Fletcher

PAGE 529-03-2010

Page 6: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Example – Conversion to Event Log

Order

• ID• Name• CreatedOn• CreatedBy• PriceTotal

OrderLine

• ID• OrderID• Description• Quantity• Price• PriceTotal

Delivery

• ID• OrderLineID• DeliveredOn• AcceptedBy

PAGE 629-03-2010

Case

Page 7: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Example – Event Log

PAGE 729-03-2010

<string key="concept:name" value="demo log"/><trace>

<string key="concept:name" value="orderline: 0"/><string key="OrderLine_Details" value="EMPTY">

<string key="TotalAmount" value="99.9800"/><string key="Description" value="John Denver&apos;s life Album (15 CD premium pack)"/><string key="Quantity" value="1"/><string key="Price" value="99.9800"/>

</string><event>

<string key="org:resource" value="Mrs Van der Aalst"/><date key="time:timestamp" value="2010-01-01T11:00:00.000+01:00"/><string key="concept:name" value="Order Create"/><string key="lifecycle:transition" value="complete"/>

</event><event>

<string key="org:resource" value="Mrs Van der Aalst"/><date key="time:timestamp" value="2010-01-21T18:43:00.000+01:00"/><string key="concept:name" value="Order Delivery"/><string key="lifecycle:transition" value="complete"/>

</event></trace><trace>

...</trace>

Page 8: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

The project

Title:Mapping Data Sources to XES in a Generic Way

Goal:Create an application prototype that helps the user to define a mapping between a data source and the elements in the event log format XES.

This application should also be able to produce the log in the XES format according to this mapping.

PAGE 829-03-2010

Page 9: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Content Outline

1. Introduction by Example2. The Project3. Brief Introduction into Process Mining4. Application Demonstration

a) Important Mapping Aspects5. Conclusion6. Questions and Discussion!

PAGE 929-03-2010

Page 10: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Process Mining – A Brief Introduction

• Extract knowledge from event logs, e.g.:• Business processes• Business rules• Social networks

• Classes of Process Mining:• Discovery (construct models)• Conformance (verify models or rules)• Extensions (improve or enrich models)

PAGE 1029-03-2010

Page 11: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Process Mining – The Process

PAGE 1129-03-2010

Page 12: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Process Mining – The Process 2.0

PAGE 1229-03-2010

2-wayVia JDBCXES

Page 13: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Content Outline

1. Introduction by Example2. The Project3. Brief Introduction into Process Mining4. Application Demonstration

a) Important Mapping Aspects5. Conclusion6. Questions and Discussion!

PAGE 1329-03-2010

Page 14: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Conversion Aspects – Convergence

PAGE 1429-03-2010

Order

• ID• Name• CreatedOn• CreatedBy• PriceTotal

OrderLine

• ID• OrderID• Description• Quantity• Price• PriceTotal

Delivery

• ID• OrderLineID• DeliveredOn• AcceptedBy

Case

4 Create events 13 Cases

The same activity is executed on multiple cases at once.

4 Cases4 Create events

Page 15: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Conversion Aspects – New Conversion

PAGE 1529-03-2010

Page 16: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Conversion Aspects – Divergence

PAGE 1629-03-2010

Order

• ID• Name• CreatedOn• CreatedBy• PriceTotal

OrderLine

• ID• OrderID• Description• Quantity• Price• PriceTotal

Delivery

• ID• OrderLineID• DeliveredOn• AcceptedBy

CaseFor one case the same activity is executed multiple times.

4 Cases4 Create events

9 Deliveries

Page 17: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Conclusion

• It is possible to create a generic conversion tool for event logs• Generic enough for many situations• Allows conversion definition without programming• Improves readability for process miner and domain

expert• Guides in the conversion definition

• Conversion definition influences analysis results• Points of improvement

• Visualization• Performance• Usability

PAGE 1729-03-2010

Page 18: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

Questions and Discussion

• Any questions?

PAGE 1829-03-2010

Page 19: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

XES – The New Event Log Format

• General event log format• Simple• Flexible• Extensible• Expressive

• Conversion from and to MXML supported

• Implemented by Christian W. Günther

PAGE 1929-03-2010

Page 20: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

XES – Structure (basics)

PAGE 2029-03-2010

Page 21: Mapping Data Sources to XES in a Generic Way

/ Architecture of Information Systems Group

XES – Structure (extensions)

PAGE 2129-03-2010