SlideShare a Scribd company logo
1 of 80
Download to read offline
Balancing Between
Expressiveness and Verifiability
Marco Montali
Free University of Bozen-Bolzano
Data-Aware Business Processes
1
2
Our Starting Point
Marrying processes and data is a must if we
want to really understand how complex dynamic
systems operate
Dynamic systems of interest:
• business processes
• multiagent systems
• distributed systems
3
Complex Systems Lifecycle
4
picture by Wil van der Aalst
Formal Verification
Automated analysis
of a formal model of the system
against a property of interest,
considering all possible system behaviors
5
picture by Wil van der Aalst
Our Thesis
Knowledge representation and 

computational logics 



can become a swiss-army knife to



understand data-aware dynamic systems,
and 

provide automated reasoning and verification
capabilities along their entire lifecycle
6
Practice
7
PracticeBPMN
Declare
UML YAWL
AUML
FCL
GSM
ORM
CMMN
ACM
Bloom
JADE
Dedalus
E-R
OWL
EPC
JASON
BPEL
SQL
SBVR
+ methodologies
8
Theory
9
Theory
Theoremeorem
Theorem
Theorem
Theorem
Theorem
Theorem
Theorem
Theorem
TheoremTheorem
Theorem
10
Our Approach
1. Develop formal models for data-aware dynamic systems
2. Outline a map of (un)decidability and complexity
3. Find robust conditions for decidability/tractability
4. Bring them back into practice
5. Implement proof-of-concept prototypes
11
Outline: 3 Acts
1. Loneliness
2. Marriage
3. Hate and love
12
? ?
The Three Pillars of Complex Systems
System
ProcessesData Resources
In AI and CS, we know a lot about each pillar!
13
Information Assets
• Data: the main information source about the history
of the domain of interest and the relevant aspects
of the current state of affairs
• Processes: how work is carried out in the domain
of interest, leading to manipulate data
• Resources: humans and devices responsible for
the execution of work units within a process
We focus on the first two aspects!
14
Loneliness
Act 1
State of the Art
• Traditional isolation between processes and data
• Why? To attack the complexity (divide et impera)
• AI has greatly contributed to these two aspects
• Data: knowledge bases, conceptual models,
ontologies, ontology-based data access and
integration, inconsistency-tolerant semantics, …
• Processes: reasoning about actions, temporal/
dynamic logics, situation/event calculus, temporal
reasoning, planning, verification, synthesis, …
16
Loneliness in BPM
17
Data/Process Fragmentation
• A business process consists of a set of activities that
are performed in coordination in an organizational and
technical environment [Weske, 2007]
• Activities change the real world
• The corresponding updates are reflected into the
organizational information system(s)
• Data trigger decision-making, which in turn determines
the next steps to be taken in the process
• Survey by Forrester [Karel et al, 2009]: lack of
interaction between data and process experts
18
Experts Dichotomy
• BPM professionals: think that data are subsidiary to
processes, and neglect the importance of data quality
• Master data managers: claim that data are the main
driver for the company’s existence, and they only focus
on data quality
• Forrester: in 83/100 companies, no interaction at all
between these two groups
• This isolation propagates to languages and tools,
which never properly account for the process-data
connection
19
Conventional Data Modeling
Focus: revelant entities, relations, static constraints
Supplier ManufacturingProcurement/Supplier
Sales
Customer PO Line Item
Work OrderMaterial PO
*
*
spawns
0..1
Material
But… how do data evolve?
Where can we find the “state” of a purchase order?
20
Conventional Process Modeling
Focus: control-flow of activities in response to events
But… how do activities update data?
What is the impact of canceling an order?
21
Do you like Spaghetti?
Manage
Cancelation
ShipAssemble
Manage
Material POs
Decompose
Customer PO
Activities
Process
Data
Activities
Process
Data
Activities
Process
Data
Activities
Process
Data
Activities
Process
Data
Customers Suppliers&CataloguesCustomer POs Work Orders Material POs
IT integration: difficult to manage, understand, evolve
22
Too late to reconstruct the
missing pieces…
• Where are the data?
• Part in the DBs
• Part inside the process engine
• Where shall we model relevant business rules?
• At the DB level? Which DB? How to get all the necessary data?
23
Too late to reconstruct the missing pieces
Where is our data?
part is in the DBs,
part is hidden in the process execution engine.
Where are the relevant business rules, and how are they modeled?
At the DB level? Which DB? How to import the process data?
(Also) in the business model? How to import data from the DBs?
DataProcess
Supplier ManufacturingProcurement/Supplier
Sales
Customer PO Line Item
Work OrderMaterial PO
*
*
spawns
0..1
Determine
cancelation
penalty
Notify penalty
Material
Process Engine
Process State
Business rules
For each work order W
For each material PO M in W
if M has been shipped
add returnCost(M) to penalty
“
How is Research Reacting?
A recent review…
Verification typically takes place at the design stage
of a business process type. However, at this stage,
required knowledge about data (database
schema, integrity constraints) is typically not yet
available. Conditions should be explicitly stated
under which the proposed method is applicable.
24
…But There is Hope!
• [Meyer et al, 2011]: data-process integration
crucial to assess the value of processes and
evaluate KPIs
• [Dumas, 2011]: data-process integration crucial to
aggregate all relevant information, and to suitably
inject business rules into the system
• [Reichert, 2012]: “Process and data are just two
sides of the same coin”
25
Business Entities/Artifacts
Data-centric paradigm for process modeling
• First: elicitation of relevant business entities that are
evolved within given organizational boundaries
• Then: definition of the lifecycle of such entities, and
how tasks trigger the progression within the
lifecycle
• Active research area, with concrete languages
(e.g., IBM GSM, OMG CMMN)
• Cf. EU project ACSI (completed)
26
Finite-State Machines
27
d by the information model?
t?
ds).
me ontology language.
GSM - CMMN
28
Philharmonic Flows
29
Formal Verification
The Conventional, Propositional Case
Process control-flow
(Un)desired property
30
(Un)desired property
Finite-state
transition
system
Propositional
temporal formula|=
Formal Verification
The Conventional, Propositional Case
Process control-flow
31
(Un)desired property
Finite-state
transition
system
Propositional
temporal formula|=
Verification
via model checking
2007 Turing award:
Clarke, Emerson, Sifakis
Formal Verification
The Conventional, Propositional Case
Process control-flow
32
Marriage
Act 2
(Un)desired property
Formal Verification
The Data-Aware Case
34
Process+Data
(Un)desired property
First-order
temporal formula|=
Process+Data
Formal Verification
The Data-Aware Case
Infinite-state, relational
transition system [Vardi 2005] 35
(Un)desired property
First-order
temporal formula|=
?
Formal Verification
The Data-Aware Case
36
Process+Data
Infinite-state, relational
transition system [Vardi 2005]
Why FO Temporal Logics
• To inspect data: FO queries
• To capture system dynamics: temporal
modalities
• To track the evolution of objects: FO
quantification across states
• Example: It is always the case that every
order is eventually either cancelled, or
paid and then delivered
37
Problem Dimensions
Data
component
Relational DB Description
logic KB
OBDA system Inconsistency
tolerant KB
…
Process
component
condition-
action rules
ECA-like
rules
Golog program …
Task
modeling
Conditional
effects
Add/delete
assertions
Logic 

programs
…
External
inputs
None External
services
Input DB Fixed input …
Network
topology
Single
orchestrator
Full mesh Connected, fixed
graph
…
Interaction
mechanism
None Synchronous Asynchronous
and ordered
…
38
Data-Centric Dynamic Systems
39
model underlying variants of artifact-centric systems
lly equivalent to the most expressive models for bu
e.g., GSM).
Data Process Data+Process
r: Relational databases / ontologies
schema, specifying constraints on the allowed states
DCDS [PODS 2013, …]
• A “pristine” framework for data-aware process modeling
• Data layer: relational DB with constraints
• Schema: constraints on the data
• Instance: state of the DCDS
• Fixed initial instance
• Infinite data domain with a finite subset for the “initial data”
• Process layer
• Atomic actions
• Condition-action rules for action executability
40
More on Actions
• Actions have parameters
• Bound to corresponding values for execution
• Actions have conditional “CRUD” effects (a là ADL)
• IF-THEN rules
• IF part: query over the current DB
• THEN part: ADD/DELETE tuples, using
• Action parameters
• Results to the IF query (bulk interpretation)
• Service calls to account for new data
41
Example: User Cart
42
Customer
Id …
Product
Id …
InCart
BarCode Customer Product
User Cart Actions
• Any customer may decide to insert a new item of a
given product into her cart



• Any customer may empty her own cart
43
9~y, ~z.Customer(c, ~y) ^ Product(p, ~z) 7! AddToCart(c, p)
9~y.Customer(c, ~y) 7! EmptyCart(c)
User Cart Actions
• Adding to a cart…
• Emptying a cart…
44
AddToCart(c, p) :
true add{InCart(getBarCode(p), c, p)}
EmptyCart(c) :
InCart(b, c, p) del{InCart(b, c, p)}
Execution Semantics
Relational transition systems with database-labeled states



Successors constructed considering all possible ground
executable actions and all possible service call results

(s.t. the resulting state satisfies the schema constraints)
…45
…
Sources of Infinity
46
…
Sources of Infinity
47
Infinite-branching 

due to external input
…
Sources of Infinity
48
Runs visiting infinitely many DBs 

due to usage of external input
Hate and Love
Act 3
49
Our Goal
50
First-order
temporal formula
|=
Infinite-state
transition system
Our Goal
51
First-order
temporal formula
|=
Infinite-state
transition system
|=
Finite-state
abstraction
Propositional
temporal formula
‘
Our Goal
52
First-order
temporal formula
|=
Infinite-state
transition system
|= Propositional
temporal formula
‘
If and only if
Finite-state
abstraction
Which logics?
• First-order temporal logics with active domain
quantification
• Branching-time: μLa

• Linear-time: LTL-FOa

• Only initial constants can explicitly appear in the formulae
• Corresponding notions of bisimulation/trace equivalence
53
G(8s.Student(s) ! F(Retired(s) _ Graduated(s))
AG(8o.Order(o) ^ Status(o, open) ! EF(mathitStatus(o, shipped))
The Good…
DCDS are:
• Markovian: Next state only depends on the
current state + input. 

Two states with identical DBs are bisimilar.
• Generic: FO/SQL (as all query languages) does
not distinguish structures which are identical
modulo uniform renaming of data objects.
—> Two isomorphic states are bisimilar
54
…the Bad…
55
What is a DCDS?

A Turing machine
I.e., You are doomed to
undecidability, even for
…the Bad…
56
What is a DCDS?

A finite-state control process
operating over an unbounded
memory.
So what is it?
A Turing machine
I.e., You are doomed to
undecidability, even for
…the Bad…
57
What is a DCDS?
A finite-state control process
operating over an unbounded
memory.
So what is it?
A Turing machine
I.e., You are doomed to
undecidability, even for
propositional reachability!
…and the Ugly
Simulation of a 2-counter Minsky machine
• Counter —> “size” of a unary relation
• Test counter1 for zero: check whether counter relation is empty
• What matters is the # of tuples, not the actual values
• Can be reconstructed also without negation in the queries
58
New
Increment Decrement
State-Boundedness
Put a pre-defined bound on the DB size
• Resulting transition system: still infinite-state
(even in the 1-bounded case)
• But: infinitely-many encountered values along a
run cannot be “accumulated” in a single state
59
Effect of state-boundedness
60
General State-bounded
μLa undecidable
LTL-FOa undecidable
Effect of state-boundedness
61
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
LTL-FOa undecidable undecidable
Effect of state-boundedness
62
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
LTL-FOa undecidable undecidable
Reason?
FO quantification
across states.
Effect of state-boundedness
63
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
LTL-FOa undecidable undecidable
Reason?
Logic unable to isolate
single runs/computations
Logics with
Persistent Quantification
• Intuition: control the ability of the logic to quantify
across states
• Only objects that persist in the active domain of
some node can be tracked
• When an object is lost, the formula trivializes to true
or false
• E.g.: “guarded” until
Persistence-Preserving µ-calculus (µLP)
In some cases, objects maintain their identity only if they persist in th
active domain (cf. business artifacts and their IDs).
. . .
StudId : 123
. . .
StudId : 123
. . .dismiss(123) newStud()
ID() = 123
µLA
µLFOG(8s.Student(s) ! Student(s)U(Retired(s) _ Graduated(s)))
64
Effect of Persistent
Quantification
65
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
μLp
LTL-FOa undecidable undecidable
LTL-FOp
Effect of Persistent
Quantification
66
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
μLp undecidable
LTL-FOa undecidable undecidable
LTL-FOp undecidable
Effect of Persistent
Quantification
67
General State-bounded
μLa undecidable
decidable 

abstraction must 

depend on the formula!
μLp undecidable
decidable
formula-independent
abstraction!
LTL-FOa undecidable undecidable
LTL-FOp undecidable
decidable
formula-independent
abstraction!
Pruning Infinite-Branching
• Consider a system snapshot and its node DBs
• Input is bounded —> only boundedly many
isomorphic types relating the input objects and
those in the DDS active domain
• Input configurations in the same isomorphic
type produce isomorphic snapshots
• Keep only one representative successor
state per isomorphic type
• The “pruned” transition system is finite-
branching and bisimilar to the original one
68
Example
• Input: single (new?) value
• Current state: two objects
a,b
a
b
c
de
69
Example
• Input: single (new?) value
• Current state: two objects
a,b
a
b
c
70
Compacting Infinite Runs
• Key observation: due to persistent quantification, the
logic is unable to distinguish local freshness from
global freshness
• So we modify the transition system construction: 

whenever we need to consider a fresh representative
object…
• … if there is an old object that can be recycled 

—> use that one
• … if not —> pick a globally fresh object
• This recycling technique preserves bisimulation!
71
Compacting Infinite Runs
• [Calvanese et al, 2013]: if the system is size-
bounded, the recycling technique reaches a
point were no new objects are needed

—> finite-state transition system
• N.B.: the technique does not need to know
the value of the bound
72
Recap
73
Prune Recycle
Is My System State-
Bounded?
• For a fixed k: decidable.
• For “some” bound: undecidable.
• Studied sufficient, syntactic conditions in the
style of “weak acyclicity” in data exchange
• See PODS 2013, KR 2014
74
How to Make my System
State-Bounded?
• Different methodologies under investigation
• See in particular the work on BAUML (artifact-
centric UML processes)
• Bounds obtained by suitably “constraining” the
UML diagrams representing the data
75
What if I have “Cases”?
• Each case may reach boundedly many values in
each state
• If cases “interact”: also need to bound how many
cases are simultaneously present
• If they do not interact: unboundedly many cases
can coexist
• See [STTT 2016]
76
Conclusion
Marriage between processes and data is challenging,
though necessary
• State-boundedness is a robust condition towards the effective
verifiability of such systems
• The same results hold by enriching the data component with
knowledge (ontologies, inconsistency-tolerance, …)

[RR 2012, ECAI 2012, IJCAI 2013, IJCAI 2015, JAIR 2013]
• The same results hold by changing the query language (Datalog,
…)
• Complexity: exponential in the “data that can be changed”
• Same formal model for execution and verification
77
Current lines
• Emphasis on other reasoning services: monitoring, planning,
adversarial synthesis [RR 2013, IJCAI 2015, IJCAI 2016]
• Connections with several modeling languages [ICSOC 2013,
CIKM 2014, FAOC 2016]
• Distributed and multi agent systems [AAMAS 2014, AAAI
2015]
• Relaxations of size-boundedness, with the help of
• Parameterized verification
• Verification via underapproximation [PODS 2016]
78
Current and Future Work
• Implementations, leveraging the long-standing
literature in data management and formal verification
• Controlling state-boundedness is important
• Domain-specific case studies… how do they relate to
our approach?
• Relaxations of size-boundedness, with the help of
• Parameterized verification
• Verification via underapproximation [PODS 2016]
79
Acknowledgments
All coauthors of this research, 

in particular 



Babak Bagheri-Hariri (did PhD @ UNIBZ)

Diego Calvanese (UNIBZ)

Giuseppe De Giacomo (UNIROMA)

Alin Deutsch (UCSD)

Fabio Patrizi (UNIBZ)

Ario Santoso (did PhD @ UNIBZ)
80

More Related Content

What's hot (15)

Design logic&sistem pengkodean
Design logic&sistem pengkodeanDesign logic&sistem pengkodean
Design logic&sistem pengkodean
 
ijcatr04081001
ijcatr04081001ijcatr04081001
ijcatr04081001
 
2016-03-02 research seminar
2016-03-02 research seminar2016-03-02 research seminar
2016-03-02 research seminar
 
system analysis and design Chap005
 system analysis and design  Chap005 system analysis and design  Chap005
system analysis and design Chap005
 
Dss
DssDss
Dss
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 
Structure system analysis and design method -SSADM
Structure system analysis and design method -SSADMStructure system analysis and design method -SSADM
Structure system analysis and design method -SSADM
 
SSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUESSSAD; TOOLS & TECHNIQUES
SSAD; TOOLS & TECHNIQUES
 
Systems Analysis And Design 2
Systems Analysis And Design 2Systems Analysis And Design 2
Systems Analysis And Design 2
 
Asi Chap004
Asi Chap004Asi Chap004
Asi Chap004
 
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
Process Mining Reloaded: Event Structures as a Unified Representation of Proc...
 
Information system 1
Information system 1Information system 1
Information system 1
 
Information system 2
Information system 2Information system 2
Information system 2
 
Building information systems
Building information systemsBuilding information systems
Building information systems
 
system analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & Kendallsystem analysis and design chapter 1 Kendall & Kendall
system analysis and design chapter 1 Kendall & Kendall
 

Similar to Balancing Expressiveness and Verifiability in Data-Aware Business Processes

Supporting Knowledge Workers With Adaptive Case Management
Supporting Knowledge Workers With Adaptive Case ManagementSupporting Knowledge Workers With Adaptive Case Management
Supporting Knowledge Workers With Adaptive Case ManagementNathaniel Palmer
 
Drive Smarter Decisions with Big Data Using Complex Event Processing
Drive Smarter Decisions with Big Data Using Complex Event ProcessingDrive Smarter Decisions with Big Data Using Complex Event Processing
Drive Smarter Decisions with Big Data Using Complex Event ProcessingPerficient, Inc.
 
Management Information system
Management Information systemManagement Information system
Management Information systemCochin University
 
Master data management and data warehousing
Master data management and data warehousingMaster data management and data warehousing
Master data management and data warehousingZahra Mansoori
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfJos Voskuil
 
3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.pptBsMath3rdsem
 
Data Warehousing, Data Mining & Data Visualisation
Data Warehousing, Data Mining & Data VisualisationData Warehousing, Data Mining & Data Visualisation
Data Warehousing, Data Mining & Data VisualisationSunderland City Council
 
Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Paul Hoekstra
 
Lecture10WebVer.ppt SAD
Lecture10WebVer.ppt SADLecture10WebVer.ppt SAD
Lecture10WebVer.ppt SADNasasirahjossy
 
Software Architecture Lecture 10 web version
Software Architecture Lecture 10 web versionSoftware Architecture Lecture 10 web version
Software Architecture Lecture 10 web versionVivekananda Gn
 
Lecture10WebVer.ppt
Lecture10WebVer.pptLecture10WebVer.ppt
Lecture10WebVer.pptAndrewBeka
 
System Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKSystem Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKShehla Ghori
 
BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)Syaifuddin Ismail
 
Cybernetics in supply chain management
Cybernetics in supply chain managementCybernetics in supply chain management
Cybernetics in supply chain managementLuis Cabrera
 
Business Process Management and its evolution An ACOG example - steve hasle...
Business Process Management and its evolution   An ACOG example - steve hasle...Business Process Management and its evolution   An ACOG example - steve hasle...
Business Process Management and its evolution An ACOG example - steve hasle...Denis Gagné
 

Similar to Balancing Expressiveness and Verifiability in Data-Aware Business Processes (20)

Montali - DB-Nets: On The Marriage of Colored Petri Nets 
and Relational Data...
Montali - DB-Nets: On The Marriage of Colored Petri Nets 
and Relational Data...Montali - DB-Nets: On The Marriage of Colored Petri Nets 
and Relational Data...
Montali - DB-Nets: On The Marriage of Colored Petri Nets 
and Relational Data...
 
Cooking with Data and Processes
Cooking with Data and ProcessesCooking with Data and Processes
Cooking with Data and Processes
 
Supporting Knowledge Workers With Adaptive Case Management
Supporting Knowledge Workers With Adaptive Case ManagementSupporting Knowledge Workers With Adaptive Case Management
Supporting Knowledge Workers With Adaptive Case Management
 
Drive Smarter Decisions with Big Data Using Complex Event Processing
Drive Smarter Decisions with Big Data Using Complex Event ProcessingDrive Smarter Decisions with Big Data Using Complex Event Processing
Drive Smarter Decisions with Big Data Using Complex Event Processing
 
BPM2017 - Integrated Modeling and Verification of Processes and Data Part 1: ...
BPM2017 - Integrated Modeling and Verification of Processes and Data Part 1: ...BPM2017 - Integrated Modeling and Verification of Processes and Data Part 1: ...
BPM2017 - Integrated Modeling and Verification of Processes and Data Part 1: ...
 
Management Information system
Management Information systemManagement Information system
Management Information system
 
Master data management and data warehousing
Master data management and data warehousingMaster data management and data warehousing
Master data management and data warehousing
 
Digital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdfDigital Transformation in the PLM domain - distrib.pdf
Digital Transformation in the PLM domain - distrib.pdf
 
3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt3._DWH_Architecture__Components.ppt
3._DWH_Architecture__Components.ppt
 
Data Warehousing, Data Mining & Data Visualisation
Data Warehousing, Data Mining & Data VisualisationData Warehousing, Data Mining & Data Visualisation
Data Warehousing, Data Mining & Data Visualisation
 
Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...Better business it collaboration using a work system perspective - run it as ...
Better business it collaboration using a work system perspective - run it as ...
 
Presentation of se
Presentation of sePresentation of se
Presentation of se
 
Lecture10WebVer.ppt SAD
Lecture10WebVer.ppt SADLecture10WebVer.ppt SAD
Lecture10WebVer.ppt SAD
 
Software Architecture Lecture 10 web version
Software Architecture Lecture 10 web versionSoftware Architecture Lecture 10 web version
Software Architecture Lecture 10 web version
 
Lecture10WebVer.ppt
Lecture10WebVer.pptLecture10WebVer.ppt
Lecture10WebVer.ppt
 
System Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaKSystem Analysis And Design_FinalPPT_NirmishaK
System Analysis And Design_FinalPPT_NirmishaK
 
BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)BI Masterclass slides (Reference Architecture v3)
BI Masterclass slides (Reference Architecture v3)
 
Chapter 3 requirements
Chapter 3 requirementsChapter 3 requirements
Chapter 3 requirements
 
Cybernetics in supply chain management
Cybernetics in supply chain managementCybernetics in supply chain management
Cybernetics in supply chain management
 
Business Process Management and its evolution An ACOG example - steve hasle...
Business Process Management and its evolution   An ACOG example - steve hasle...Business Process Management and its evolution   An ACOG example - steve hasle...
Business Process Management and its evolution An ACOG example - steve hasle...
 

More from Faculty of Computer Science - Free University of Bozen-Bolzano

More from Faculty of Computer Science - Free University of Bozen-Bolzano (20)

From Case-Isolated to Object-Centric Processes - A Tale of two Models
From Case-Isolated to Object-Centric Processes - A Tale of two ModelsFrom Case-Isolated to Object-Centric Processes - A Tale of two Models
From Case-Isolated to Object-Centric Processes - A Tale of two Models
 
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic SettingReasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
Reasoning on Labelled Petri Nets and Their Dynamics in a Stochastic Setting
 
Constraints for Process Framing in Augmented BPM
Constraints for Process Framing in Augmented BPMConstraints for Process Framing in Augmented BPM
Constraints for Process Framing in Augmented BPM
 
Intelligent Systems for Process Mining
Intelligent Systems for Process MiningIntelligent Systems for Process Mining
Intelligent Systems for Process Mining
 
Declarative process mining
Declarative process miningDeclarative process mining
Declarative process mining
 
Process Reasoning and Mining with Uncertainty
Process Reasoning and Mining with UncertaintyProcess Reasoning and Mining with Uncertainty
Process Reasoning and Mining with Uncertainty
 
From Case-Isolated to Object-Centric Processes
From Case-Isolated to Object-Centric ProcessesFrom Case-Isolated to Object-Centric Processes
From Case-Isolated to Object-Centric Processes
 
Modeling and Reasoning over Declarative Data-Aware Processes
Modeling and Reasoning over Declarative Data-Aware ProcessesModeling and Reasoning over Declarative Data-Aware Processes
Modeling and Reasoning over Declarative Data-Aware Processes
 
Soundness of Data-Aware Processes with Arithmetic Conditions
Soundness of Data-Aware Processes with Arithmetic ConditionsSoundness of Data-Aware Processes with Arithmetic Conditions
Soundness of Data-Aware Processes with Arithmetic Conditions
 
Probabilistic Trace Alignment
Probabilistic Trace AlignmentProbabilistic Trace Alignment
Probabilistic Trace Alignment
 
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple ActorsStrategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
Strategy Synthesis for Data-Aware Dynamic Systems with Multiple Actors
 
Extending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with UncertaintyExtending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with Uncertainty
 
Extending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with UncertaintyExtending Temporal Business Constraints with Uncertainty
Extending Temporal Business Constraints with Uncertainty
 
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
Modeling and Reasoning over Declarative Data-Aware Processes with Object-Cent...
 
From legacy data to event data
From legacy data to event dataFrom legacy data to event data
From legacy data to event data
 
Putting Decisions in Perspective(s)
Putting Decisions in Perspective(s)Putting Decisions in Perspective(s)
Putting Decisions in Perspective(s)
 
Enriching Data Models with Behavioral Constraints
Enriching Data Models with Behavioral ConstraintsEnriching Data Models with Behavioral Constraints
Enriching Data Models with Behavioral Constraints
 
Representing and querying norm states using temporal ontology-based data access
Representing and querying norm states using temporal ontology-based data accessRepresenting and querying norm states using temporal ontology-based data access
Representing and querying norm states using temporal ontology-based data access
 
Compliance monitoring of multi-perspective declarative process models
Compliance monitoring of multi-perspective declarative process modelsCompliance monitoring of multi-perspective declarative process models
Compliance monitoring of multi-perspective declarative process models
 
Processes and organizations - a look behind the paper wall
Processes and organizations - a look behind the paper wallProcesses and organizations - a look behind the paper wall
Processes and organizations - a look behind the paper wall
 

Recently uploaded

ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxNikitaBankoti2
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Vipesco
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxraffaeleoman
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyPooja Nehwal
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...Sheetaleventcompany
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AITatiana Gurgel
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaKayode Fayemi
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfhenrik385807
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Kayode Fayemi
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )Pooja Nehwal
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024eCommerce Institute
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024eCommerce Institute
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxmohammadalnahdi22
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubssamaasim06
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Pooja Nehwal
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Chameera Dedduwage
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...henrik385807
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardsticksaastr
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Hasting Chen
 

Recently uploaded (20)

ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docxANCHORING SCRIPT FOR A CULTURAL EVENT.docx
ANCHORING SCRIPT FOR A CULTURAL EVENT.docx
 
Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510Thirunelveli call girls Tamil escorts 7877702510
Thirunelveli call girls Tamil escorts 7877702510
 
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptxChiulli_Aurora_Oman_Raffaele_Beowulf.pptx
Chiulli_Aurora_Oman_Raffaele_Beowulf.pptx
 
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night EnjoyCall Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
Call Girl Number in Khar Mumbai📲 9892124323 💞 Full Night Enjoy
 
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
No Advance 8868886958 Chandigarh Call Girls , Indian Call Girls For Full Nigh...
 
Microsoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AIMicrosoft Copilot AI for Everyone - created by AI
Microsoft Copilot AI for Everyone - created by AI
 
If this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New NigeriaIf this Giant Must Walk: A Manifesto for a New Nigeria
If this Giant Must Walk: A Manifesto for a New Nigeria
 
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort ServiceBDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
BDSM⚡Call Girls in Sector 93 Noida Escorts >༒8448380779 Escort Service
 
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdfCTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
CTAC 2024 Valencia - Henrik Hanke - Reduce to the max - slideshare.pdf
 
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
Governance and Nation-Building in Nigeria: Some Reflections on Options for Po...
 
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
WhatsApp 📞 9892124323 ✅Call Girls In Juhu ( Mumbai )
 
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
Andrés Ramírez Gossler, Facundo Schinnea - eCommerce Day Chile 2024
 
George Lever - eCommerce Day Chile 2024
George Lever -  eCommerce Day Chile 2024George Lever -  eCommerce Day Chile 2024
George Lever - eCommerce Day Chile 2024
 
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptxMohammad_Alnahdi_Oral_Presentation_Assignment.pptx
Mohammad_Alnahdi_Oral_Presentation_Assignment.pptx
 
Presentation on Engagement in Book Clubs
Presentation on Engagement in Book ClubsPresentation on Engagement in Book Clubs
Presentation on Engagement in Book Clubs
 
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
Navi Mumbai Call Girls Service Pooja 9892124323 Real Russian Girls Looking Mo...
 
Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)Introduction to Prompt Engineering (Focusing on ChatGPT)
Introduction to Prompt Engineering (Focusing on ChatGPT)
 
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
CTAC 2024 Valencia - Sven Zoelle - Most Crucial Invest to Digitalisation_slid...
 
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, YardstickSaaStr Workshop Wednesday w/ Lucas Price, Yardstick
SaaStr Workshop Wednesday w/ Lucas Price, Yardstick
 
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
Re-membering the Bard: Revisiting The Compleat Wrks of Wllm Shkspr (Abridged)...
 

Balancing Expressiveness and Verifiability in Data-Aware Business Processes

  • 1. Balancing Between Expressiveness and Verifiability Marco Montali Free University of Bozen-Bolzano Data-Aware Business Processes 1
  • 2. 2
  • 3. Our Starting Point Marrying processes and data is a must if we want to really understand how complex dynamic systems operate Dynamic systems of interest: • business processes • multiagent systems • distributed systems 3
  • 4. Complex Systems Lifecycle 4 picture by Wil van der Aalst
  • 5. Formal Verification Automated analysis of a formal model of the system against a property of interest, considering all possible system behaviors 5 picture by Wil van der Aalst
  • 6. Our Thesis Knowledge representation and 
 computational logics 
 
 can become a swiss-army knife to
 
 understand data-aware dynamic systems, and 
 provide automated reasoning and verification capabilities along their entire lifecycle 6
  • 11. Our Approach 1. Develop formal models for data-aware dynamic systems 2. Outline a map of (un)decidability and complexity 3. Find robust conditions for decidability/tractability 4. Bring them back into practice 5. Implement proof-of-concept prototypes 11
  • 12. Outline: 3 Acts 1. Loneliness 2. Marriage 3. Hate and love 12 ? ?
  • 13. The Three Pillars of Complex Systems System ProcessesData Resources In AI and CS, we know a lot about each pillar! 13
  • 14. Information Assets • Data: the main information source about the history of the domain of interest and the relevant aspects of the current state of affairs • Processes: how work is carried out in the domain of interest, leading to manipulate data • Resources: humans and devices responsible for the execution of work units within a process We focus on the first two aspects! 14
  • 16. State of the Art • Traditional isolation between processes and data • Why? To attack the complexity (divide et impera) • AI has greatly contributed to these two aspects • Data: knowledge bases, conceptual models, ontologies, ontology-based data access and integration, inconsistency-tolerant semantics, … • Processes: reasoning about actions, temporal/ dynamic logics, situation/event calculus, temporal reasoning, planning, verification, synthesis, … 16
  • 18. Data/Process Fragmentation • A business process consists of a set of activities that are performed in coordination in an organizational and technical environment [Weske, 2007] • Activities change the real world • The corresponding updates are reflected into the organizational information system(s) • Data trigger decision-making, which in turn determines the next steps to be taken in the process • Survey by Forrester [Karel et al, 2009]: lack of interaction between data and process experts 18
  • 19. Experts Dichotomy • BPM professionals: think that data are subsidiary to processes, and neglect the importance of data quality • Master data managers: claim that data are the main driver for the company’s existence, and they only focus on data quality • Forrester: in 83/100 companies, no interaction at all between these two groups • This isolation propagates to languages and tools, which never properly account for the process-data connection 19
  • 20. Conventional Data Modeling Focus: revelant entities, relations, static constraints Supplier ManufacturingProcurement/Supplier Sales Customer PO Line Item Work OrderMaterial PO * * spawns 0..1 Material But… how do data evolve? Where can we find the “state” of a purchase order? 20
  • 21. Conventional Process Modeling Focus: control-flow of activities in response to events But… how do activities update data? What is the impact of canceling an order? 21
  • 22. Do you like Spaghetti? Manage Cancelation ShipAssemble Manage Material POs Decompose Customer PO Activities Process Data Activities Process Data Activities Process Data Activities Process Data Activities Process Data Customers Suppliers&CataloguesCustomer POs Work Orders Material POs IT integration: difficult to manage, understand, evolve 22
  • 23. Too late to reconstruct the missing pieces… • Where are the data? • Part in the DBs • Part inside the process engine • Where shall we model relevant business rules? • At the DB level? Which DB? How to get all the necessary data? 23 Too late to reconstruct the missing pieces Where is our data? part is in the DBs, part is hidden in the process execution engine. Where are the relevant business rules, and how are they modeled? At the DB level? Which DB? How to import the process data? (Also) in the business model? How to import data from the DBs? DataProcess Supplier ManufacturingProcurement/Supplier Sales Customer PO Line Item Work OrderMaterial PO * * spawns 0..1 Determine cancelation penalty Notify penalty Material Process Engine Process State Business rules For each work order W For each material PO M in W if M has been shipped add returnCost(M) to penalty
  • 24. “ How is Research Reacting? A recent review… Verification typically takes place at the design stage of a business process type. However, at this stage, required knowledge about data (database schema, integrity constraints) is typically not yet available. Conditions should be explicitly stated under which the proposed method is applicable. 24
  • 25. …But There is Hope! • [Meyer et al, 2011]: data-process integration crucial to assess the value of processes and evaluate KPIs • [Dumas, 2011]: data-process integration crucial to aggregate all relevant information, and to suitably inject business rules into the system • [Reichert, 2012]: “Process and data are just two sides of the same coin” 25
  • 26. Business Entities/Artifacts Data-centric paradigm for process modeling • First: elicitation of relevant business entities that are evolved within given organizational boundaries • Then: definition of the lifecycle of such entities, and how tasks trigger the progression within the lifecycle • Active research area, with concrete languages (e.g., IBM GSM, OMG CMMN) • Cf. EU project ACSI (completed) 26
  • 27. Finite-State Machines 27 d by the information model? t? ds). me ontology language.
  • 30. Formal Verification The Conventional, Propositional Case Process control-flow (Un)desired property 30
  • 31. (Un)desired property Finite-state transition system Propositional temporal formula|= Formal Verification The Conventional, Propositional Case Process control-flow 31
  • 32. (Un)desired property Finite-state transition system Propositional temporal formula|= Verification via model checking 2007 Turing award: Clarke, Emerson, Sifakis Formal Verification The Conventional, Propositional Case Process control-flow 32
  • 34. (Un)desired property Formal Verification The Data-Aware Case 34 Process+Data
  • 35. (Un)desired property First-order temporal formula|= Process+Data Formal Verification The Data-Aware Case Infinite-state, relational transition system [Vardi 2005] 35
  • 36. (Un)desired property First-order temporal formula|= ? Formal Verification The Data-Aware Case 36 Process+Data Infinite-state, relational transition system [Vardi 2005]
  • 37. Why FO Temporal Logics • To inspect data: FO queries • To capture system dynamics: temporal modalities • To track the evolution of objects: FO quantification across states • Example: It is always the case that every order is eventually either cancelled, or paid and then delivered 37
  • 38. Problem Dimensions Data component Relational DB Description logic KB OBDA system Inconsistency tolerant KB … Process component condition- action rules ECA-like rules Golog program … Task modeling Conditional effects Add/delete assertions Logic 
 programs … External inputs None External services Input DB Fixed input … Network topology Single orchestrator Full mesh Connected, fixed graph … Interaction mechanism None Synchronous Asynchronous and ordered … 38
  • 39. Data-Centric Dynamic Systems 39 model underlying variants of artifact-centric systems lly equivalent to the most expressive models for bu e.g., GSM). Data Process Data+Process r: Relational databases / ontologies schema, specifying constraints on the allowed states
  • 40. DCDS [PODS 2013, …] • A “pristine” framework for data-aware process modeling • Data layer: relational DB with constraints • Schema: constraints on the data • Instance: state of the DCDS • Fixed initial instance • Infinite data domain with a finite subset for the “initial data” • Process layer • Atomic actions • Condition-action rules for action executability 40
  • 41. More on Actions • Actions have parameters • Bound to corresponding values for execution • Actions have conditional “CRUD” effects (a là ADL) • IF-THEN rules • IF part: query over the current DB • THEN part: ADD/DELETE tuples, using • Action parameters • Results to the IF query (bulk interpretation) • Service calls to account for new data 41
  • 42. Example: User Cart 42 Customer Id … Product Id … InCart BarCode Customer Product
  • 43. User Cart Actions • Any customer may decide to insert a new item of a given product into her cart
 
 • Any customer may empty her own cart 43 9~y, ~z.Customer(c, ~y) ^ Product(p, ~z) 7! AddToCart(c, p) 9~y.Customer(c, ~y) 7! EmptyCart(c)
  • 44. User Cart Actions • Adding to a cart… • Emptying a cart… 44 AddToCart(c, p) : true add{InCart(getBarCode(p), c, p)} EmptyCart(c) : InCart(b, c, p) del{InCart(b, c, p)}
  • 45. Execution Semantics Relational transition systems with database-labeled states
 
 Successors constructed considering all possible ground executable actions and all possible service call results
 (s.t. the resulting state satisfies the schema constraints) …45
  • 48. … Sources of Infinity 48 Runs visiting infinitely many DBs 
 due to usage of external input
  • 51. Our Goal 51 First-order temporal formula |= Infinite-state transition system |= Finite-state abstraction Propositional temporal formula ‘
  • 52. Our Goal 52 First-order temporal formula |= Infinite-state transition system |= Propositional temporal formula ‘ If and only if Finite-state abstraction
  • 53. Which logics? • First-order temporal logics with active domain quantification • Branching-time: μLa
 • Linear-time: LTL-FOa
 • Only initial constants can explicitly appear in the formulae • Corresponding notions of bisimulation/trace equivalence 53 G(8s.Student(s) ! F(Retired(s) _ Graduated(s)) AG(8o.Order(o) ^ Status(o, open) ! EF(mathitStatus(o, shipped))
  • 54. The Good… DCDS are: • Markovian: Next state only depends on the current state + input. 
 Two states with identical DBs are bisimilar. • Generic: FO/SQL (as all query languages) does not distinguish structures which are identical modulo uniform renaming of data objects. —> Two isomorphic states are bisimilar 54
  • 55. …the Bad… 55 What is a DCDS?
 A Turing machine I.e., You are doomed to undecidability, even for
  • 56. …the Bad… 56 What is a DCDS?
 A finite-state control process operating over an unbounded memory. So what is it? A Turing machine I.e., You are doomed to undecidability, even for
  • 57. …the Bad… 57 What is a DCDS? A finite-state control process operating over an unbounded memory. So what is it? A Turing machine I.e., You are doomed to undecidability, even for propositional reachability!
  • 58. …and the Ugly Simulation of a 2-counter Minsky machine • Counter —> “size” of a unary relation • Test counter1 for zero: check whether counter relation is empty • What matters is the # of tuples, not the actual values • Can be reconstructed also without negation in the queries 58 New Increment Decrement
  • 59. State-Boundedness Put a pre-defined bound on the DB size • Resulting transition system: still infinite-state (even in the 1-bounded case) • But: infinitely-many encountered values along a run cannot be “accumulated” in a single state 59
  • 60. Effect of state-boundedness 60 General State-bounded μLa undecidable LTL-FOa undecidable
  • 61. Effect of state-boundedness 61 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! LTL-FOa undecidable undecidable
  • 62. Effect of state-boundedness 62 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! LTL-FOa undecidable undecidable Reason? FO quantification across states.
  • 63. Effect of state-boundedness 63 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! LTL-FOa undecidable undecidable Reason? Logic unable to isolate single runs/computations
  • 64. Logics with Persistent Quantification • Intuition: control the ability of the logic to quantify across states • Only objects that persist in the active domain of some node can be tracked • When an object is lost, the formula trivializes to true or false • E.g.: “guarded” until Persistence-Preserving µ-calculus (µLP) In some cases, objects maintain their identity only if they persist in th active domain (cf. business artifacts and their IDs). . . . StudId : 123 . . . StudId : 123 . . .dismiss(123) newStud() ID() = 123 µLA µLFOG(8s.Student(s) ! Student(s)U(Retired(s) _ Graduated(s))) 64
  • 65. Effect of Persistent Quantification 65 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! μLp LTL-FOa undecidable undecidable LTL-FOp
  • 66. Effect of Persistent Quantification 66 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! μLp undecidable LTL-FOa undecidable undecidable LTL-FOp undecidable
  • 67. Effect of Persistent Quantification 67 General State-bounded μLa undecidable decidable 
 abstraction must 
 depend on the formula! μLp undecidable decidable formula-independent abstraction! LTL-FOa undecidable undecidable LTL-FOp undecidable decidable formula-independent abstraction!
  • 68. Pruning Infinite-Branching • Consider a system snapshot and its node DBs • Input is bounded —> only boundedly many isomorphic types relating the input objects and those in the DDS active domain • Input configurations in the same isomorphic type produce isomorphic snapshots • Keep only one representative successor state per isomorphic type • The “pruned” transition system is finite- branching and bisimilar to the original one 68
  • 69. Example • Input: single (new?) value • Current state: two objects a,b a b c de 69
  • 70. Example • Input: single (new?) value • Current state: two objects a,b a b c 70
  • 71. Compacting Infinite Runs • Key observation: due to persistent quantification, the logic is unable to distinguish local freshness from global freshness • So we modify the transition system construction: 
 whenever we need to consider a fresh representative object… • … if there is an old object that can be recycled 
 —> use that one • … if not —> pick a globally fresh object • This recycling technique preserves bisimulation! 71
  • 72. Compacting Infinite Runs • [Calvanese et al, 2013]: if the system is size- bounded, the recycling technique reaches a point were no new objects are needed
 —> finite-state transition system • N.B.: the technique does not need to know the value of the bound 72
  • 74. Is My System State- Bounded? • For a fixed k: decidable. • For “some” bound: undecidable. • Studied sufficient, syntactic conditions in the style of “weak acyclicity” in data exchange • See PODS 2013, KR 2014 74
  • 75. How to Make my System State-Bounded? • Different methodologies under investigation • See in particular the work on BAUML (artifact- centric UML processes) • Bounds obtained by suitably “constraining” the UML diagrams representing the data 75
  • 76. What if I have “Cases”? • Each case may reach boundedly many values in each state • If cases “interact”: also need to bound how many cases are simultaneously present • If they do not interact: unboundedly many cases can coexist • See [STTT 2016] 76
  • 77. Conclusion Marriage between processes and data is challenging, though necessary • State-boundedness is a robust condition towards the effective verifiability of such systems • The same results hold by enriching the data component with knowledge (ontologies, inconsistency-tolerance, …)
 [RR 2012, ECAI 2012, IJCAI 2013, IJCAI 2015, JAIR 2013] • The same results hold by changing the query language (Datalog, …) • Complexity: exponential in the “data that can be changed” • Same formal model for execution and verification 77
  • 78. Current lines • Emphasis on other reasoning services: monitoring, planning, adversarial synthesis [RR 2013, IJCAI 2015, IJCAI 2016] • Connections with several modeling languages [ICSOC 2013, CIKM 2014, FAOC 2016] • Distributed and multi agent systems [AAMAS 2014, AAAI 2015] • Relaxations of size-boundedness, with the help of • Parameterized verification • Verification via underapproximation [PODS 2016] 78
  • 79. Current and Future Work • Implementations, leveraging the long-standing literature in data management and formal verification • Controlling state-boundedness is important • Domain-specific case studies… how do they relate to our approach? • Relaxations of size-boundedness, with the help of • Parameterized verification • Verification via underapproximation [PODS 2016] 79
  • 80. Acknowledgments All coauthors of this research, 
 in particular 
 
 Babak Bagheri-Hariri (did PhD @ UNIBZ)
 Diego Calvanese (UNIBZ)
 Giuseppe De Giacomo (UNIROMA)
 Alin Deutsch (UCSD)
 Fabio Patrizi (UNIBZ)
 Ario Santoso (did PhD @ UNIBZ) 80