Professional Documents
Culture Documents
08 PPDM BusinessRulesPresentationWorkshop
08 PPDM BusinessRulesPresentationWorkshop
20
n
tio
ia
y c
PROFESSIONAL PETROLEUM
DATA MANAGEMENT ASSOCIATION
o
op ss
C A
Business (Data) Rules &
ot M
Data Quality
N D
Trudy Curtis
o P
D tP
n
tio
ia
From the Business Rules Group:
y c o
Business Rules from the Business Perspective
op ss
C A
• ...a business rule is guidance that there is an obligation concerning conduct, action, practice, or
procedure within a particular activity or sphere.
ot M
N D
Two important characteristics of a business rule are:
o P
• There ought to be an explicit motivation for it.
D tP
• It should have an enforcement regime stating what the consequences would be if the rule were
broken.
h
se ig
• ...a business rule is a statement that defines or constrains some aspect of the business. It is
intended to assert business structure, or to control or influence the behavior of the business.
C
http://www.businessrulesgroup.org/defnbrg.shtml
10
20
BUSINESS RULES & DATA RULES – CONNECTED?
n
tio
If business rules are about processes …
ia
And processes involve people and technology …
y c
And those interactions result in KID …
o
op ss
C A
Then business rules are about data!
Data
ea y
us to work in!
C
10
20
INTEGRATED ARCHITECTURE
n
tio
ia
MDM
Ontologies
y c
Meta Data
o
Taxonomies
op ss
Physical
C A
Spatial/GIS
ot M SOR
PPDM SOR
N D
MDM
o P
D tPh
SOR
se ig
r
ea y
Business
Pl op
Rules
C
n
tio
Professional Petroleum Data Management Association
ia
Business Rules Workshop: 1
Rule Source and PPP or Bus Rule is used Owner Where / how Documented? Available to
y c
description Rule? for what Implemented? Others?
o
purpose? In what form?
op ss
C A
ot M
N D
o P
D tP
Policy
h
se ig
r
Practice
ea y
Pl op
C
Procedure
10
20
WHAT KINDS OF BUSINESS RULES EXIST?
n
tio
According to the Business Rules Group, three kinds of rules exist:
ia
y c
Definitions and Semantics (BRG = Structural Assertions):
o
• What is an XXX (where XXX is a key business object or term)?
op ss
- Many of these topics are the focus of existing or planned PPDM workgroups (i.e. “What is a Well”).
• What are the minimum data requirements for definition of a data object
C A
- (i.e. what is the minimum set of information required for a well)?
ot M
Transformation and Derivation Rules (BRG = Derivation):
N D
• How should the data be converted from a 14 digit API to a 12 digit API?
• How should well information from financial, drilling, land, G&G be reconciled?
o P
• How does the origin or source of the data affect its trustworthiness?
D tP
n
tio
• Simple
ia
- no completion date on an abandoned location
y c
- Lat/long should be accompanied by a CRS
o
• Interpretive
op ss
- [Completion Date > Spud Date > License Date]
C A
• Regional
ot M
- [Completion Date – Spud Date] < 180 days in the US
- Total depth < 9,000’ for xxx formation in Wattenberg field
N D
• Spatial
o P
• Validation
h
• Trustworthiness
r
• Consistency
- Is the data internally consistent?
C
C
Pl op
ea y
r
se ig
D tPh
o P
N D
ot M
C A
op ss
y c o
ia
tio
n
20
10
E&P LIFE CYCLE (DATA IS BUSINESS DRIVEN)
10
20
WHERE DATA BASED BUSINESS RULES HIDE
n
tio
• In your user’s software applications
ia
• In ETL tools
y c o
• In your data cleansing tools
op ss
• Explicit or inferred in data models
C A
• Written in procedures, functions, internal code
ot M
• Written in views, security grants
N D
• Embedded and inferred in data content
o P
D tP
• In people’s brains
r
ea y
Pl op
C
10
20
DISCUSSION TOPIC
n
tio
Professional Petroleum Data Management Association
ia
Business Rules Workshop: 2
y c
Rule Source and description Available to your Who creates / Any conficts Retention Subject to Available to
company? owns the rule? with other strategy? variation or Others?
o
(Do you know what (Vendor, local known rules? change? In what form?
they are?) organization)
op ss
In your user’s software applications
C A
In ETL tools
ot M
In Mapping spreadsheets
N D
In your data cleansing tools
o P
Explicit or inferred in data models
D tP
In people’s brains
C
10
20
PARTS OF A BUSINESS RULE (BRG)
n
tio
Business rules are atomic
ia
• They cannot be broken down into
y c
more detailed business rules
o
They consist of these parts
op ss
C A
• The policy
- general statement of direction for an
ot M
enterprise
N D
• The business rule statement
o P
- business rule in plain language
D tP
(SQL, BRML)
r
enforced.
Pl op
n
tio
Help us standardize how data is defined
ia
• Common sets of terms and definitions that are based on the business, and that meet
y c
the needs of data managers, IT and business!
o
Govern how data is created and managed
op ss
• Well logs can’t be created until a well exists
C A
Enforce important policies that should be supported
ot M
• Well logs must always be associated with the appropriate Wellbore
N D
Support best practice recommendations
o P
• The What is a Well component terms and definitions should be applied corporately
D tP
• The deepest depth of a logged interval cannot be deeper than the deepest depth of a
se ig
Wellbore
r
• If data contains Latitude and Longitude, the CRS must also be populated
ea y
Pl op
• A well’s spud date may not be before the drilling permit date.
C
10
20
PPDM & INDUSTRY PROPOSALS FOR
BUSINESS RULES
n
tio
Definitions of Business Terms
ia
• What is a ???
y c
- What is a Well is underway
o
- What is a Well Status is starting
op ss
- What is a Facility is planned
C A
• What are the minimum data requirements for definition of a data object?
ot M
Relationships and Constraints
N D
• Industry standard data model (PPDM 3.8)
o P
Best practice recommendations
D tP
• Regional – Total depth < 9,000’ for xxx formation in Wattenberg field
• Spatial – Tops picks < 10% variation within 0.5 mile radius
C
10
20
PPDM PROJECT:
RULES FOR DATA QUALITY AND TRUSTWORTHINESS
n
tio
Definitions BRG Structure
ia
• What is a data rule? • Policy statement
y c
• What is a ??? - Why the rule exists
o
• Narrative language, expressed in
op ss
Methodology and process
readable form.
C A
• How rules are collected and validated - Conditions of applicability (regional)
ot M
Sample rule set • Formal language expression
• Enough to be a good starting set - May be SBVR, based on PPDM 3.8 … (not
N D
decided)
o P
Web site
D tP
project
se ig
• Searchable, retrievable
Communication strategy
r
ea y
n
tio
More global or regional rules
ia
• But fewer overall, as we will consolidate and integrate!
y c o
Fewer individual or divisional rules
op ss
Implementation independent
C A
• Everyone uses the same core set of rules
ot M
• Criteria for selecting a vendor
N D
o P
More standard rules
D tPh
se ig
r
ea y
Pl op
n
tio
AUTHOR: The Business Rules Group
ia
http://www.businessrulesgroup.org/brmanifesto.htm
y c o
Copyright, 2006– 2009. Business Rules Group.
op ss
C A
ot M
N D
o P
D tPh
se ig
r
ea y
Pl op
C
10
20
THE BUSINESS RULES MANIFESTO
n
tio
Article 1. Primary Requirements, Not Secondary
ia
y c
1.1. Rules are a first-class citizen of the requirements
o
world.
op ss
1.2. Rules are essential for, and a discrete part of, business
C A
models and technology models.
ot M
N D
o P
Data rules are important; they must be
D tP
central
h
se ig
n
tio
Article 2. Separate From Processes, Not Contained
ia
In Them
y c o
2.1. Rules are explicit constraints on behavior and/or
op ss
provide support to behavior.
C A
2.2. Rules are not process and not procedure. They should
not be contained in either of these.
ot M
2.3. Rules apply across processes and procedures. There
N D
should be one cohesive body of rules, enforced
o P
consistently across all relevant areas of business
D tP
activity.
h
Data rules should not change when you move between software applications.
ea y
Pl op
n
tio
Article 3. Deliberate Knowledge, Not A By-Product
ia
3.1. Rules build on facts, and facts build on concepts as
y c
expressed by terms.
o
op ss
3.2. Terms express business concepts; facts make assertions
about these concepts; rules constrain and support these
C A
facts.
ot M
3.3. Rules must be explicit. No rule is ever assumed about any
N D
concept or fact.
o P
3.4. Rules are basic to what the business knows about itself --
D tP
n
tio
Article 4.Declarative, Not Procedural
ia
4.1. Rules should be expressed declaratively in natural-language sentences for
y c
the business audience.
o
4.2. If something cannot be expressed, then it is not a rule.
op ss
4.3. A set of statements is declarative only if the set has no implicit sequencing.
C A
4.4. Any statements of rules that require constructs other than terms and facts
ot M
N D imply assumptions about a system implementation.
4.5. A rule is distinct from any enforcement defined for it. A rule and its
enforcement are separate concerns.
o P
4.6. Rules should be defined independently of responsibility for the who, where,
D tP
Data rules are not transient, but they can change with the business.
r
ea y
Pl op
n
tio
Article 5.Well-Formed Expression, Not Ad Hoc
ia
y c
5.1. Business rules should be expressed in such a way that
o
they can be validated for correctness by business
people.
op ss
C A
5.2. Business rules should be expressed in such a way that
they can be verified against each other for
ot M
consistency.
N D
5.3. Formal logics, such as predicate logic, are fundamental
o P
to well-formed expression of rules in business terms,
D tP
n
tio
Article 6.Rule-Based Architecture, Not Indirect Implementation
ia
6.1. A business rules application is intentionally built to accommodate
y c
continuous change in business rules. The platform on which the
o
application runs should support such continuous change.
op ss
6.2. Executing rules directly -- for example in a rules engine -- is a
C A
better implementation strategy than transcribing the rules into
some procedural form.
ot M
6.3. A business rule system must always be able to explain the
N D
reasoning by which it arrives at conclusions or takes action.
o P
6.4. Rules are based on truth values. How a rule’s truth value is
D tP
many.
se ig
r
n
tio
Article 7.Rule-Guided Processes, Not Exception-Based
ia
Programming
y c
7.1. Rules define the boundary between acceptable and unacceptable
o
business activity.
op ss
7.2. Rules often require special or selective handling of detected
C A
violations. Such rule violation activity is activity like any other
activity.
ot M
7.3. To ensure maximum consistency and reusability, the handling of
N D
unacceptable business activity should be separable from the
handling of acceptable business activity.
o P
D tPh
How many of your rules are embedded in your ETL tool? Do you know
r
n
tio
Article 8.For the Sake of the Business, Not Technology
ia
8.1. Rules are about business practice and guidance; therefore, rules
y c
are motivated by business goals and objectives and are shaped
o
by various influences.
op ss
8.2. Rules always cost the business something.
C A
8.3. The cost of rule enforcement must be balanced against business
ot M
risks, and against business opportunities that might otherwise be
lost.
N D
8.4. ‘More rules’ is not better. Usually fewer ‘good rules’ is better.
o P
D tP
n
tio
Article 9.Of, By, and For Business People, Not IT
ia
People
y c o
9.1. Rules should arise from knowledgeable business
op ss
people.
C A
9.2. Business people should have tools available to help
them formulate, validate, and manage rules.
ot M
9.3. Business people should have tools available to help
N D
them verify business rules against each other for
o P
consistency.
D tP
n
tio
Article 10.Managing Business Logic, Not Hardware/Software
ia
Platforms
y c
10.1. Business rules are a vital business asset.
o
op ss
10.2. In the long run, rules are more important to the business than
hardware/software platforms.
C A
10.3. Business rules should be organized and stored in such a way
ot M
that they can be readily redeployed to new hardware/software
platforms.
N D
10.4. Rules, and the ability to change them effectively, are fundamental
o P
to improving business adaptability.
D tPh
Data rules are practical and pragmatic, and evolve to suit the business.
C
10
20
CONCLUSIONS
n
tio
Our Industry needs a standard, open set of business
ia
rules
y c o
The PPDM Association is working with industry to
op ss
create these
C A
• Some initiatives are underway now
ot M
• Others are planned
N D
We welcome your participation and input!
o P
D tP