presentazione fatta al workshop "ai meets business processes" a torino il 6 dicembre 2013

23
A Lightweight Formalism for the Integration of BPMN Models with Domain Ontologies Giuseppe Della Penna, Roberto Del Sordo, Benedetto Intrigila, Nicolò Mezzopera, and Maria Teresa Pazienza AI meets Business Processes Workshop at the XIII Conference of the Italian Association for Artificial Intelligence Turin (Italy), December 6, 2013 1

Upload: roberto-del-sordo

Post on 12-Jun-2015

122 views

Category:

Technology


0 download

DESCRIPTION

Presentazione fatta a Torino il 6 Dicembre del lavoro svolto e pubblicato per il workshop all'interno della XIII Conferenza della Associazione Italiana per Intelligenza Artificiale (AIxIA)

TRANSCRIPT

Page 1: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

A Lightweight Formalism for the Integration of BPMN Models with

Domain Ontologies

Giuseppe Della Penna, Roberto Del Sordo, Benedetto

Intrigila, Nicolò Mezzopera, and Maria Teresa Pazienza AI meets Business Processes

Workshop at the XIII Conference of the Italian Association for Artificial Intelligence

Turin (Italy), December 6, 2013

1

Page 2: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

About my Company

• What we do:

Web Applications development

And other things….

• How we do:

Start with process descriptions

Realize the Web Application that implements the process, using in most cases the Webratio Suite as development tool (www.webratio.com)

2

Page 3: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The context: describing the process

• We use BPMN to collect information about the business processes and create prototypes to submit to the management;

• Once the process is clarified, we begin to describe the business objects that are used during the process (data model);

• In some cases, a deeper understanding of the domain semantics is required in order to design the data model;

3

Page 4: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The context: retrieving the information

• The semantic information is often already available through previously defined ontologies;

• In other cases it is possible to extract the information from the available documentation;

• Finally, using open source tools (like Semantic Turkey: http://semanticturkey.uniroma2.it/) it is possible to build ontologies starting from raw information;

4

Page 5: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The context: putting all together

• When working with complex domains…

– Ontologies seem to be a good choice to organize the semantic information needed to build the data model;

– BPMN allows to describe the flow of events and tasks in a very natural way.

• So why not integrate the two description approaches?

5

Page 6: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The approach

• Rather than directly insert semantic annotations in the BPMN, we create an integrated view using the SyBeL language;

• SyBeL is an XML based language to specify the behaviour of software systems;

– SyBeL describes the control flow in a way that is very similar to BPMN;

– SyBeL also supports the description of simple data models as structures with properties and actions.

6

Page 7: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL: Behaviour Description Language

• A language that allows to encode processes as flows of events (user-triggered and system-generated);

• Each event is defined by the action to be executed and the variables that store results or parameters;

• Flows can contain conditional branches and unconditional jumps.

7

Page 8: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL: Domain Description Language

• A language that allows to declare data structures and types;

• Five basic simple types (string, number, boolean, binary and any) and two type constructors (collections and entity types);

• Entity types are sets of recursively typed properties and parametric actions;

• Collections are lists of recursive typed objects;

8

Page 9: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL: Type system and semantics

• The SyBeL type system was designed with semantics in mind:

– SyBeL entities can be seen as a programmer-friendly view of ontologies;

– Ontology attributes and relations are encoded using properties, actions and type derivation;

– The semantic connection is explicited by the “modelReference” attribute that can be used on entity types, properties and actions;

9

Page 10: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

Putting all together with SyBeL

• Use SyBeL behaviour description language to encode the BPMN-defined process without loss of information;

• Use the SyBeL domain description language to extract information from the ontologies, build data structures with semantic annotations and assign a type to each element referenced by the process;

10

Page 11: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The Case Study

• We considered Mediation as a relevant interest case study (Condominium Dispute);

• Mediation aims to ease the access to justice and reduce the overhead of the civil courts, trying to reach an agreement between the parties;

• Mediation is a complex process: in the case study we considered just the initial phase;

11

Page 12: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The initial phase sub-process

• The “proposer” party starts the mediation process by creating a new application request through dedicated online portal.

• The proposer attaches all the needed supporting documentation to the application;

• The coordinator evaluates the completeness of the documentation and assigns the mediation to a mediator, possibly including also a group of experts in the case of very complex cases;

• If the documentation is incomplete or incorrect, the application is sent back to the proposer

12

Page 13: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

BPMN of the initial phase sub-process

13

Page 14: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The ontological aspects

• In many cases, the proposer may request mediation without the support of a lawyer, thus the produced documentation may be invalid or be incomplete;

• A system to support the proposer may be based on an ontological description of the condominium disputes;

• The ontologies can connect different types of dispute to the evidences and documentation required to facilitate the mediator decision

14

Page 15: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

The simplified ontology

15

Page 16: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL modelling: Data model

• Using the SyBeL tools we produced the data model needed to support the process;

16

Page 17: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL Data Model: graphical view

17

Page 18: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL modelling: behaviour

• The BPMN steps are transformed in actions executed on the domain entities;

• BPMN process branches are encoded as alternative flows;

• Each event can be textually described to better link to the corresponding BPMN step;

18

Page 19: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL behaviour fragment

19

Page 20: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL modelling: artifacts

• The SyBeL tools also provide automatic generation of useful documents, as an example we produced HTML process documentation;

20

Page 21: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

SyBeL HTML process documentation

21

Page 22: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

Conclusions

• In most cases it is necessary to add semantic information to process description to define the target domain;

• We can assume semantic information was always described in ontologies;

• Instead of directly integrating the BPMN with semantic information, we use SyBeL modeling language to merge process information with ontologies;

• Using the tools provided in SyBeL we can produce a variety of useful artifacts and documents.

22

Page 23: Presentazione fatta al workshop "AI meets Business Processes" a Torino il 6 Dicembre 2013

A Lightweight Formalism for the Integration of BPMN Models with

Domain Ontologies

Thank you for your attention

23