<!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>Logic-based reasoning support for SBVR</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Dmitry Solomakhin</string-name>
          <email>Dmitry.Solomakhin@stud-inf.unibz.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Enrico Franconi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessandro Mosca</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Free University of Bozen-Bolzano</institution>
          ,
          <addr-line>Italy Piazza Domenicani 3, 39100 Bolzano</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Automated support to enterprize modeling has increasingly become a subject of interest for organizations seeking solutions for storage, distribution and analysis of knowledge about business processes. This interest has recently resulted in approving the standard for specifying Semantics of Business Vocabulary and Business Rules (SBVR). Despite the existence of formally grounded notations, up to now SBVR still lacks a sound and consistent logical formalization which would allow developing automated solutions able to check the consistency of a set of business rules. This work reports on the attempt to provide logical foundations for SBVR by the means of de ning a speci c rst-order deonticalethic logic (FODAL). The connections of FODAL with the modal logic QK and the description logic ALCQI have been investigated and, on top of the obtained theoretical results, a special tool providing automated support for consistency checks of a set of ALCQI-expressible deontic and alethic business rules has been implemented.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Automated support to enterprize modeling has increasingly become a subject of
interest for organizations seeking solutions for storage, distribution and analysis
of knowledge about business processes. One of the most common approaches for
describing business and the information used by that business is the rule-based
approach [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], which was adopted by the Object Management Group (OMG) for
a standard for specifying business objects and rules. The Semantics of Business
Vocabulary and Business Rules (SBVR) [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ] standard provides means for
describing the structure of the meaning of rules, so called \semantic formulation",
expressed in one of the intuitive notations, including the natural language that
business people use [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] and Object-Role Modeling (ORM2) diagrams [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. ORM2
has recently become widely used as conceptual modeling approach combining
both formal, textual speci cation language and graphical modeling language [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
It consists in identifying and articulating the rules that de ne the structure
(alethic) and control the operation (deontic) of an enterprize [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ]. The main
expectation from automated solutions built upon this approach is the ability to
automatically determine consistency of business rules in a business model, so
that they can be further exploited to build information systems and relational
databases that are coherent with the intended domain business logic.
      </p>
      <p>
        Several attempts have been made so far in order to provide a logical
formalization for structural and operational rules in SBVR and its notations. The most
signi cant related work includes several formalizations of the purely structural
fragment of ORM2, including translation to rst-order predicate logic (FOL)
[
        <xref ref-type="bibr" rid="ref10">10</xref>
        ] and some description logics (DL), e.g. [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ] and [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ]. However, none of the
existing approaches enables consistency checks for a combined set of possibly
interacting alethic and deontic business rules.
      </p>
      <p>In this paper we de ne a multimodal rst-order deontic-alethic logic
(FODAL) with sound and complete axiomatization that captures the desired
semantics of and interaction between business rules. We then report on the logical
properties of such formalization and its connections with the modal logic QK
and the description logic ALCQI. Finally we present the tool which provides
automated support for consistency checks of a set of ALCQI-expressible
deontic and alethic ORM2 constraints. Additionally, it implements the translation of
aforementioned class of ORM2 constraints into an OWL2 ontology.</p>
      <p>The rest of the paper is organized as follows. In the second section an overview
of the SBVR standard and its ORM2 notation is given. Third section describes
the proposed logical formalization in terms of rst-order deontic-alethic logic
(FODAL) along with its syntax, semantics and complete and sound
axiomatization. Next two paragraphs are devoted to modeling SBVR rules with FODAL
and checking their consistency with the help of this logic, while in the sixth
section a connection with standard modal logic is introduced. Finally, the last
paragraph describes the tool developed to provide automated support for
consistency checks together with translation to OWL2.
2</p>
    </sec>
    <sec id="sec-2">
      <title>SBVR Overview</title>
      <p>
        A core idea of business rules formally supported by SBVR is the following [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]:
\Rules build on facts, and facts build on concepts as expressed by terms. Terms
express business concepts; facts make assertions about these concepts; rules
constrain and support these facts". The notions of terms and facts of this \business
rules mantra" correspond to SBVR noun concepts and verb concepts (or fact
types) respectively.
      </p>
      <p>
        Noun and verb concepts. According to the SBVR 1.0 speci cation [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]
a noun concept is de ned as a \concept that is the meaning of a noun or noun
phrase". It has several subtypes: object type, individual concept and fact type
role. An object type is de ned as \noun concept that classi es things on the
basis of their common properties", while individual concept is \a concept that
corresponds to only one object [thing]". A role is a \noun concept that
corresponds to things based on their playing a part, assuming a function or being
used in some situation".
      </p>
      <p>A verb concept (or fact type) represents the notion of relations and is de ned
as \a concept that is the meaning of a verb phrase". A fact type can have one
(characteristic), two (binary ) or more fact type roles.</p>
      <p>
        Business rules. The main types of rules de ned in SBVR standard are
structural business rules and operative business rules (See Figure 1). Structural
(de nitional ) rules specify what the organization takes things to be, how do the
members of the community agree on the understanding of the domain [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. They
de ne the characteristics of noun concepts and put constraints on verb concepts
and can not be broken. Operative (behavioral ) business rules are intended to
describe the business processes in organization and can be either ignored or
violated by people.
      </p>
      <p>Conceptual model. An SBVR conceptual model CM = hS; F i is a
structure intended to describe a business domain, where S is a conceptual schema,
declaring fact types and rules relevant to the business domain, and F is a
population of facts that conform to this schema. Business rules de ned in the conceptual
schema S can be considered as high-level facts (i.e., facts about propositions)
and play a role of constraints, which are used to impose restrictions concerning
fact populations.</p>
      <p>
        The SBVR standard provides means for formally expressing business facts
and business rules in terms of fact types of pre-de ned schema and certain logical
operators, quanti ers, etc. These formal statements of rules may be transformed
into logical formulations, which can in turn be used for exchange with other
rules-based software tools. Such logical rule formulations are equivalent to
formulae in 2-valued rst-order predicate calculus with identity [
        <xref ref-type="bibr" rid="ref19">19</xref>
        ]. In addition to
standard universal (8) and existential (9) quanti ers, for the sake of convenience,
SBVR standard allows logical formulation to use some pre-de ned [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] numeric
quanti ers, such as at-most-one (90::1), exactly-n (9n; n 1) and others.
      </p>
      <p>In order to express the structural or operational nature of a business rule, the
corresponding rule formulation uses any of the basic alethic or deontic modalities.
Structural rule formulations use alethic operators: = it is necessary that and
= it is possible that ; while operative rule formulations use deontic modal
operators O = it is obligatory that, P = it is permitted that, as well as F = it
is forbidden that.</p>
      <p>
        Notations for business vocabulary and rules. There are several
common means of expressing facts and business rules in SBVR, namely through
statements, diagrams or any combination of those, each serving best for
different purposes ([
        <xref ref-type="bibr" rid="ref16">16</xref>
        ], [19, Annex C, Annex L]). While graphical notations are
helpful for demonstrating how concepts are related, they are usually impractical
when de ning vocabularies or expressing rules. We use r to denote a business
rule in SBVR regardless the particular format in which it is written. For the
sake of readability we will denote any necessity claim as r , possibility claim as
r , obligation claim as rO and permission claim as rP .
      </p>
      <p>
        One of the most promising notations for SBVR is Object-Role Modeling
(ORM2), which is a conceptual modeling approach combining both formal,
textual speci cation language and formal graphical modeling language [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. ORM2
speci cation language applies to mix x predicates of any arity and contains
prede ned patterns covering a wide range of constraints typical for business
domains. An example of a structural rule expressed as necessity statement in
ORM2 speci cation language is the following:
      </p>
      <p>r = Each visitor has at most one passport.</p>
      <p>An example illustrating ORM2 graphical notation is introduced on Figure 2.</p>
      <p>
        The advantage of ORM2 over other notations is that it is a formal language
per se, featuring rich expressive power, intelligibility, and semantic stability [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ].
There exist several translations from non-modal ORM2 expressions to standard
logics, including translation to rst-order logic ([
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]) and some description logics
([
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). We will hereafter denote by r^ a rst-order representation of a
nonmodal ORM2 expression1 r^ from a rule r. Similarly, we will denote by rD^L a
description logic representation of a non-modal ORM2 expression r^.
      </p>
      <p>Aforementioned existing translations to standard logics may be seen as
attempts to provide a logical formalization for structural and operational rules.
However, since they consider only the purely structural fragment of ORM2, they
are not capable of providing consistency checks for a combined set of possibly
interacting alethic and deontic business rules.
1 Since the nature of business rules implies the absence of uncertainty, it means that
the resulting rst-order formulae will not contain free variables, i.e. will be closed
formulae. Then an SBVR rule may be represented by an expression resulted from
application of modalities and boolean connectives to a set of closed FOL formulae r^i .</p>
    </sec>
    <sec id="sec-3">
      <title>First-order deontic-alethic logic (FODAL)</title>
      <p>
        In this section we describe our attempt to provide logical foundations for SBVR
by the means of de ning a speci c multi-modal logic. The basic formalisms we
use to model business rule formulations are standard deontic logic (SDL) and
normal modal logic S4, which are both propositional modal logics. We then
construct a rst-order deontic-alethic logic (FODAL) { a multimodal logic, as a
rst-order extension of a combination of SDL and S4 to be able to express
business constraints de ned in SBVR. In order to construct the rst-order extension
for the combined logic we follow the procedure described in [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
3.1
      </p>
      <sec id="sec-3-1">
        <title>Syntax</title>
        <p>The alphabet of FODAL contains the following symbols:
{ a set of propositional connectives : :; ^.
{ a universal quanti er: 8 (for all ).
{ an in nite set P = fP11; P 1; :::; P 2; P22; :::; P1n; P2n; :::g of n-place relation
sym2 1
bols (also referred to as predicate symbols ).
{ an in nite set V = fv1; v2; :::g of variable symbols.</p>
        <p>{ modal operators: alethic { (necessity ) and deontic { O (obligation).
FODAL formulae. The formulae of FODAL are de ned inductively in the
following way:
{ Every atomic formula is a formula.
{ If X is a formula, so is :X.
{ If X and Y are formulae, then X ^ Y is a formula.
{ If X is a formula, then so are X and OX.</p>
        <p>{ If X is a formula and v is a variable, then 8vX is a formula.</p>
        <p>The existential quanti er (9) as well as other propositional connectives (_; !; $)
are de ned as usual, while additional modal operators ( ; P ; F ) are de ned in
the following way:
: :</p>
        <p>P
:O:</p>
        <p>F</p>
        <p>O:
(1)
A FODAL formula with no free variable occurrences is called a closed formula
or a sentence. A modal sentence is a sentence whose main logical operator is a
modal operator. An atomic modal sentence is a modal sentence which contains
one and the only modal operator.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Semantics</title>
        <p>Since SBVR itself interprets constraints in the context of possible worlds which
correspond to states of the fact model (i.e. di erent fact populations), the choice
of varying domain Kripke semantics is intuitively justi ed. Also, since SBVR
rule formulations may includes two types of modalities: deontic and alethic, - we
utilize the notion of two-layer Kripke frames with accessibility relations RO and
R respectively.</p>
        <p>Augmented frame. A varying domain augmented bimodal frame is a
relational structure Fvar = hW; RO; R ; Di, where hW; RO; R i is a two-layer
Kripke frame, W is a non-empty set of worlds, R( ) are binary relations on W
and D is a domain function mapping worlds of W to non-empty sets. A domain
of a possible world w is then denoted as D(w) and a frame domain is de ned as
D(F) = SfD(wi)jwi 2 Wg.</p>
        <p>
          In order to correctly capture the behavior and interaction of the alethic and
deontic modal operators it is necessary to constrain the corresponding
accessibility relations: the alethic accessibility is usually taken to be a re exive and
transitive relation (S4) [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], while the behavior of a deontic modality is
classically considered to be captured by a serial relation (KD) [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. We refer to the
corresponding class of bimodal frames as S4 KD-frames.
        </p>
        <p>Moreover, since one of the objectives of the formalization under development
is to de ne the consistency of the set of business rules, it should also take into
account the existing interaction between alethic and deontic modalities. The
desired interaction can be verbalized as \Everything which is necessary is also
obligatory" and then expressed as a following FODAL formula:</p>
        <p>X ! OX
(2)
It can be proved that the formula 2 de nes a special subclass of S4
KD-frames.</p>
        <p>
          Theorem 1. The modal formula X ! OX de nes the subclass of augmented
bimodal S4 KD-frames F = hW; RO; R ; Di such that RO R , where R
is a preorder and RO is serial. We then call such frame a FODAL frame.
Proof: For the complete proof please refer to [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
        </p>
      </sec>
      <sec id="sec-3-3">
        <title>Interpretation and model. An interpretation I in a varying domain aug</title>
        <p>mented frame Fvar = hW; RO; R ; Di is a function which assigns to each
mplace relation symbol P and to each possible world w 2 W some m-place
relation on the domain D(w) of that world. I can be also interpreted as a
function that assigns to each possible world w 2 W some rst-order
interpretation I(w). A FODAL varying domain rst-order model is a structure
M = hW; RO; R ; D; Ii, where hW; RO; R ; Di is a FODAL frame and I is
an interpretation in it.</p>
        <p>Truth in a model. The satis ability relation between FODAL models and
formulae is then de ned in the usual way, using the notion of valuation which
maps variables to elements of the domain.</p>
        <p>Let M = hW; RO; R ; D; Ii be a FODAL model, X; Y and be FODAL
formulae. Then for each possible world w 2 W and each valuation on D(M) the
following holds:
{ if P is a m-place relation symbol, then M; w P (x1; :::; xm) if and only if
( (x1); :::; (xm)) 2 I(P; w) or, equivalently, I(w) F OL P (x1; :::; xm),
{ M; w :X if and only if M; w 2 X,
{ M; w X ^ Y if and only if M; w X and M; w Y ,
{ M; w 8x if and only if for every x-variant 0 of at w, M; v ,
{ M; w 9x if and only if for some x-variant 0 of at w, M; v ,
{ M; w
{ M; w
{ M; w
{ M; w</p>
        <p>X if and only if for every v 2 W such that wR v, M; v</p>
        <p>X if and only if for some v 2 W such that wR v, M; v
OX if and only if for every v 2 W such that wROv, M; v
P X if and only if for some v 2 W such that wROv, M; v
X,
X,
X,
X.
3.3</p>
      </sec>
      <sec id="sec-3-4">
        <title>Axiomatization</title>
        <p>
          A F ODAL axiom system for rst-order alethic-deontic logic is de ned following
the approach presented in [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ] and is obtained by combining the axiom systems
for the propositional modal logics S4 and KD and extending the resulting
combination with additional axiom schemas and the axiom 9 re ecting desired
interaction between alethic and deontic modalities.
        </p>
        <p>Axioms. All the formulae of the following forms are taken as axioms.
(Tautologies S4)</p>
        <p>Any FOL substitution-instance of a theorem of S4
(Tautologies KD)</p>
        <p>Any FOL substitution-instance of a theorem of KD (4)
8x
8x( !
8x8y ! 8y8x
8y(8x (x) !</p>
        <p>(y))
; provided x is not free in
) ! (8x</p>
        <p>! 8x )
(Vacuous 8)
(8 Distributivity)
(8 Permutation)
(8 Elimination)</p>
        <p>(Necessary O)</p>
      </sec>
      <sec id="sec-3-5">
        <title>Rules of inference.</title>
        <p>(Modus Ponens)
(Deontic Necessitation)
! O
!</p>
        <p>O
(3)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(Alethic Necessitation)
(8 Generalization)
8x
Theorem 2. The F ODAL axiom system is complete and sound with respect to
the class of FODAL frames.</p>
        <p>
          Proof: For the complete proof please refer to [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Modeling SBVR vocabulary and rules with FODAL</title>
      <p>Given an SBVR conceptual schema S we de ne the following translation ( )
from elements of S to notions of rst-order deontic-alethic logic:
{ For each noun concept A from S, (A) is an unary predicate in FODAL.
{ For each verb concept R from S, (R) is an n-ary predicate in FODAL
(n 2).</p>
      <p>Recall that an SBVR business rule may be represented by an expression resulted
from application of modalities and boolean connectives to a set of closed
rstorder formulae r^i . Then for each SBVR rule r from S, its FODAL formalization
(r) is de ned inductively as follows:
{
{
{
{</p>
      <p>(r^) = r^, where r^ is an non-modal SBVR expression and r^ is its rst-order
translation,
(:r) = : (r);
(r1 r2) = (r1) (r2); 2 f^; _; !; $g, where r1 and r2 are rule
formulations,</p>
      <p>( r^) = (r^) and (Or^) = O (r^):
Example 1. Assume the following set of business rules, expressed in SBVR
Structured English:
(r1) Each car rental is insured by exactly one credit card.
(r2) Each luxury car rental is a car rental.
(r3) It is obligatory that each luxury car rental is insured by at least
two credit cards.</p>
      <p>Then the corresponding FODAL formulas are the following:
(r1) = 8x91y(CarRental(x) ^ Insured(x; y)),
(r2) = 8x(LuxuryCarRental(x) ! CarRental(x)),
(r3) = O(8x9 2y(LuxuryCarRental(x) ^ Insured(x; y))).</p>
      <p>
        While our F ODAL formalization of SBVR rules provides logical mechanism
supporting rule formulations with multiple occurrences of modalities, SBVR
standard mostly focuses on normalized business constraints [19, p.108] that may
be expressed by rule statements of the form of atomic modal sentences or by
statements reducible to such a form via mechanisms provided by F ODAL
axiomatization. As a matter of fact, restricting the domain of interest only to such
atomic modal rule formulations allows to obtain some useful results concerning
satis ability reduction and connection to standard logics, as shown in [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ].
      </p>
      <p>Hereafter we will only consider SBVR rules expressible in one of the following
forms of atomic modal sentences:
O</p>
      <p>P
(12)
where is any closed w of rst-order logic.</p>
      <p>In the case of having negation in front of the modal operator, we assume
application of the standard modal negation equivalences in order to obtain the basic
form of the initial rule.</p>
      <p>FODAL regulation. A FODAL regulation is a set of FODAL atomic
modal sentences formalizing structural and operational rules of an SBVR
conceptual schema S. We introduce the following designations:
(r ) =</p>
      <p>;
(rO ) = O ;
(r ) =</p>
      <p>;
(rP ) = P ;
= f
1; :::;
^ =
k;
k
^
i=1
1; :::;</p>
      <p>l; O 1; :::; O m; P 1; :::; P ng
l
^
i=1
i ^
i ^
where every i; i; i; i is a closed rst-order logic formula.</p>
    </sec>
    <sec id="sec-5">
      <title>Consistency of a set of business rules</title>
      <p>The nal objective of the proposed formalization is to provide an automation
solution with reasoning support for SBVR business modeling and business
processes monitoring. It is well known that when reasoning about some particular
universe of discourse, consistency is essential.</p>
      <p>Assume a FODAL regulation representing a set of structural and operative
business rules. The task of consistency check for is de ned as procedure which
analyzes the given set and decides whether the rules do not contradict each
other, i.e. there is no formula such that ` ^ : ?.</p>
      <p>A FODAL regulation is called internally inconsistent when the speci ed
constraints contradict each other when the system is populated. We then de ne a
minimal inconsistent set ? such that ? ` ? and 8 ?; 0 ?.</p>
      <p>We distinguish several types of inconsistency depending on types of
modalities of rules involved. The set is called alethic inconsistent if it is inconsistent
and the minimal inconsistent set ? contains formulae of only alethic nature,
i.e. ? . The set is called deontic inconsistent if it is inconsistent and
the minimal inconsistent set ? contains formulae of only deontic nature, i.e.
? O. Otherwise, if ? [ O, the set is called cross inconsistent.</p>
      <p>According to the completeness of the FODAL logic we have that 0 if
and only if there exists a FODAL model M and a possible world w in it, such
that M; w ^ : . Therefore, it is su cient to state the satis ability of the
conjunction of all formulae of the set:
^ =
k
^
i=1
i ^
l
^
i=1
i ^
Bearing in mind the fact that the regulation may only contain FODAL atomic
modal sentences and taking into account the properties of accessibility relations
of the FODAL frame F, we can obtain the following result:
Theorem 3. A FODAL regulation ^ = Vik=1 i ^ Vli=1 i ^ Vim=1 O i ^
Vin=1 P i is FODAL-satis able if and only if each of the following formulae
N ; O; Qj ; Pj is independently rst-order satis able:</p>
      <p>k
N = ^
i=1
m
O = ^</p>
      <p>i=1
Qj = j ^
Pj = j ^
i ^
k
^
i=1</p>
      <p>i
i
i ^
k
^
i=1
m
^
i=1
i; 8j = 1 : : !:l
k
^
i=1</p>
      <p>Observe that satis ability of N follows naturally from satis ability of any Qj .
The same holds for O and Pj respectively. However, the satis ability checks for
15a and 15b should be examined explicitly, since may only contain necessity
and obligation rules. Moreover, such de nition allows to detect the actual source
of unsatis ability of the FODAL regulation .</p>
      <p>Modularity of the approach. It should be noted that the developed
approach of satis ability reduction possesses a property of modularity, i.e. it does
not depend on the formalism behind the rule bodies i; i; i and i, as long as
formalism-speci c satis ability relation is provided.
6</p>
    </sec>
    <sec id="sec-6">
      <title>Reduction from FODAL to monomodal logic QK</title>
      <p>
        As a matter of fact, the FODAL logic inherits the property of undecidability from
both its component logics: standard predicate modal logics QS4 and QKD are
undecidable [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ]. However, decidability results have been obtained for several
well-studied fragments of quanti ed modal logics [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ]. This section de nes a
truth-preserving translation of atomic modal sentences of the FODAL logic into
standard predicate modal logic QK, which allows to use those results.
      </p>
      <sec id="sec-6-1">
        <title>Monomodal simulating pointed frame. Given a FODAL frame</title>
        <p>F = hW; RO; R ; Di and a possible world w0 2 W, a monomodal simulating
pointed frame Fw0 is de ned as a tuple hWs; Rs; Ds; w0i, such that:
s
{ Ws includes w0 and all its deontic and alethic successors:</p>
        <p>Ws = fw0g[fv j (w0; v) 2 ROg[fv j (w0; v) 2 R g = jsince RO
R is re exivej = fv j (w0; v) 2 R g.
{ Rs = f(w0; v) j (w0; v) 2 R g, and</p>
        <p>with Rs.
{ Ds is a domain function on Ws such that Ds(v) = D(v) [ f
where Ds 2= D is a new service domain symbol.</p>
        <p>R</p>
        <p>and
Ds g; 8v 2 W ,</p>
        <p>s
s; s are modal operators associated
Since the de nition of Rs does not preserve speci c properties of RO and R ,
the resulting frame Fsw0 belongs neither to serial nor to transitive nor to re exive
class of frames and therefore can be classi ed as a K-frame.</p>
        <p>Monomodal translation. Given a FODAL regulation expressed as a
conjunction of FODAL atomic modal sentences 14, a monomodal translation of
regulation M T R( ^) is de ned inductively as follows:
M T R( )
= ; where</p>
        <p>is an objective FODAL formula;
M T R( 1 ^ 2) = M T R( 1) ^ M T R( 2); where 1 and 2 are FODAL atomic
M T R(
M T R(
) =
) =</p>
        <p>modal sentences;
sM T R( );
s(M T R( ) ^
);</p>
        <p>M T R(O ) =
M T R(P ) =
s(:</p>
        <p>! M T R( ));
s(M T R( ) ^ :
);
where is a objective FODAL formula and is a 0-place predicate symbol,
i.e. propositional letter, encapsulating the nature of the original modality of the
rules of possibility and permission.</p>
        <p>Simulated pointed model. Given a FODAL model M = hF; Ii and a
possible world w0 2 W, a simulated pointed model Msw0 is de ned as a tuple
hFsw0 ; Isi such that:
{ Fw0 = hWs; Rs; Ds; w0i is a monomodal simulating pointed frame for F =
s
hW; RO; R ; Di and a possible world w0 2 W,
{ Is is a rst-order interpretation on the frame Fsw0 such that:</p>
        <p>For each v 2 Ws and for every n-place predicate P , Is(P; v) = I(P; v),
For each v 2 Ws such that (w0; v) 2 RO, Is( ; v) = ?,</p>
        <p>For each v 2 Ws such that (w0; v) 2= RO, Is( ; v) = f Ds g.</p>
        <p>We now state formally that the translation given above is truth-preserving
with respect to varying domain semantics.</p>
        <p>Theorem 4. For any FODAL regulation
possible world w0 of a model, we have that
, any FODAL model M and any
M; w0
if and only if</p>
        <p>Msw0 ; w0</p>
        <p>
          M T R( );
(16)
where Msw0 is a simulated pointed model for M and w0:
Proof: For the complete proof please refer to [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ].
        </p>
        <p>
          Therefore, the truth-preserving translation M T R de ned for FODAL regulations
enables the transfer of decidability results from well-studied fragments of
predicate modal logics ([
          <xref ref-type="bibr" rid="ref20">20</xref>
          ], [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ]) to FODAL. In particular, the following fragments of
FODAL logic are decidable:
{ the set of atomic modal sentences with at most two variables,
{ the set of monadic atomic modal sentences, all predicate symbols in which
are at most unary,
{ the set of atomic modal sentences, modal operators in which are applied to
subformulas from the guarded fragment of rst-order logic.
7
7.1
        </p>
      </sec>
    </sec>
    <sec id="sec-7">
      <title>Implementation of automated reasoning support tool</title>
      <sec id="sec-7-1">
        <title>General description of the tool</title>
        <p>
          The ORM2 automated reasoning support tool is implemented in Java and
includes a parser for ORM2 Formal Syntax [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ], a set of Java classes
representing the ORM2 knowledge database, a translator into an OWL2 ontology and a
modal reasoning engine using HermiT or FaCT++ as an underlying reasoner.
The work ow diagram of the tool is depicted on Figure 3. Currently, the tool
provides the following functionality:
{ Checking the consistency of a given ORM2 schema which may include both
alethic (necessities and possibilities) and deontic (obligations and
permissions) constraints. One of the advantages of the underlying approach is the
straight-forward possibility to determine whether the inconsistency is caused
purely by alethic or deontic constraints or by their combination. Additionally
to the result of the consistency check, the tool prints out the list of concepts
which are involved in con icting constraints.
{ Translating a given ORM2 schema into OWL2 ontology which can then be
saved in various formats for further use. However, this translation does not
support modalities in their diversity and, therefore, takes into account only
structural constraints (i.e. alethic rules).
        </p>
      </sec>
      <sec id="sec-7-2">
        <title>Logical foundations of implementation</title>
        <p>The algorithm of the developed automated reasoning support tool relies on two
fundamental results.</p>
        <p>
          Firstly, it implements the procedure de ned in [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] to translate a set of
constraints from ORM2 Formal Syntax to ALCQI description logic, which is in
fact a fragment of OWL2. Since the implemented ORM2 reasoning procedure
involves less expressive ALCQI logic as underlying formalism [
          <xref ref-type="bibr" rid="ref17">17</xref>
          ], it does not
support reasoning about the following information about the ORM2 conceptual
schema:
{ frequency constraints on multiple roles,
{ generalized subset constraints on relations,
still supported: simple case of stand-alone roles,
still supported: special case of contiguous full-set of roles;
{ ring constraints (NB: drawback of mapping n-ary relations via rei cation).
The same information is lost by translating a given ORM2 schema into OWL2
ontology.
        </p>
        <p>
          Secondly, in order to check the consistency of a set of business rules expressed
in ALCQI-de nable fragment of ORM2, we utilize the modularity of the
approach de ned in Section 5 and adapt the result of satis ability reduction for
the case of general description logic DL. The satis ability relation for ORM2 is
then provided by the semantic-preserved translation from ORM2 Formal Syntax
to ALCQI [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ].
        </p>
        <p>N</p>
        <p>DL
Qj
= j u
=
k
l
i=1
i=1
i;</p>
        <p>i
Theorem 5. A FODAL regulation = f 1; :::; k; 1; :::; l; O 1; :::; O m;
P 1; :::; P ng, expressed in DL-de nable fragment of ORM2, is internally
consistent if and only if each of the following description logic formulae N DL , ODL ,
QjDL , PjDL is independently satis able in DL:</p>
        <p>DL lk DL lm lk</p>
        <p>DL
Pj
= j u</p>
        <p>O
m
l
i=1
=
i u
i=1
k
l
i=1
i u</p>
        <p>i
i=1</p>
        <p>Thus, we can reduce the consistency of a given set of constraints to ALCQI
satis ability, which in turn can be interpreted as unsatis able concepts' check
in resulting OWL2 ontology. Indeed, whenever a formula in ALCQI is
unsatisable, it means that the concept de nition expressed by this formula contains a
contradiction which prevents the concept from having a model, i.e. the concept
is forced to not have any instances, hence is unsatis able.
In the following section we will demonstrate the functionality of the implemented
tool by means of a real-life example of its usage. The graphical user interface of a
tool is introduced on Figure 5 and contains controls which allow to select an input
le, underlying reasoner, output le and output format for resulting ontology (if
needed). The consistency check for an input ORM2 schema is performed after
loading the input le and the result of the check is communicated by visual ag
as well as by a detailed log in the corresponding window.</p>
        <p>Checking the consistency of a given ORM2 schema. In order to
illustrate the functionality of the consistency check we will consider the ORM2
schema obtained by merging two conceptual models (e.g. A and B) and depicted on
the Figure 4. This schema contains the following set of con icting business rules:
(R1A) Each car rental is insured by exactly one credit card.
(R1B) Each luxury car rental is a car rental.
(R2B) It is obligatory that each luxury car rental is insured by at least
two credit cards.</p>
        <p>Fig. 4. Inconsistent ORM2 Schema</p>
        <p>The given set of constraints can be fully expressed in ALCQI description
logic, therefore we can use the developed reasoning support tool for consistency
check. The schema on Figure 4 is internally inconsistent with respect to
obligation (R2B) since the latter clearly contradicts the structural constraint (R1A)
which, together with is-a constraint on luxury car rental, simply does not
support more than one credit card. Therefore, for any luxury car rental the obligatory
cardinality constraint cannot be satis ed. The same conclusion is indeed inferred
by the implemented tool on Figure 5.</p>
        <p>Fig. 5. The Graphical User Interface
8</p>
      </sec>
    </sec>
    <sec id="sec-8">
      <title>Conclusion</title>
      <p>In this paper we introduced a logical formalization of the Semantics of Business
Vocabulary and Rules standard (SBVR) by de ning a rst-order deontic-alethic
logic (FODAL) with its syntax, semantics and complete and sound
axiomatization, that captures the semantics of and interaction between business rules.</p>
      <p>We also showed that satis ability in FODAL logic may be reduced to a
standard rst-order satis ability for a class of formulas restricted to atomic modal
sentences. Moreover, in order to establish a relationship with a standard logical
formalism, we de ned a truth-preserving translation from a fragment of bimodal
FODAL into quanti ed monomodal logic QK, that can be used to facilitate the
transfer of decidability results from well-studied fragments of predicate modal
logics to FODAL.</p>
      <p>Finally we presented the ORM2 reasoning tool which provides an automated
support for consistency checks of the conceptual model along with its translation
to OWL2 ontology. The main functionality of the tool is a consistency check of
a set of ALCQI-expressible deontic and alethic business rules. Another
important task supported by the tool is translation of the aforementioned fragment
of an ORM2 schema into an OWL2 ontology, which, however, does not
support any modalities except necessity due to lack of notions representing deontic
constraints in OWL2.</p>
      <p>The future research in the eld of logical formalization of SBVR aims at
studying the problem of entailment with respect to possible interaction of alethic
and deontic modalities. Another future course of work includes de ning an
approach to translate an ORM2 schema with its alethic and deontic rules to SWRL
or some other extension of OWL2.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>Hajnal</given-names>
            <surname>Andreka</surname>
          </string-name>
          , Johan Van Benthem,
          <string-name>
            <given-names>and Istvan</given-names>
            <surname>Nemeti</surname>
          </string-name>
          .
          <article-title>Modal languages and bounded fragments of predicate logic</article-title>
          ,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Donald</surname>
            <given-names>E.</given-names>
          </string-name>
          <string-name>
            <surname>Baisley</surname>
            , John Hall, and
            <given-names>Donald</given-names>
          </string-name>
          <string-name>
            <surname>Chapin</surname>
          </string-name>
          .
          <article-title>Semantic formulations in SBVR</article-title>
          .
          <source>In Rule Languages for Interoperability. W3C</source>
          ,
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Blackburn</surname>
          </string-name>
          , Maarten de Rijke, and
          <string-name>
            <given-names>Yde</given-names>
            <surname>Venema</surname>
          </string-name>
          .
          <source>Modal Logic. Number 53 in Cambridge Tracts in Theoretical Computer Science</source>
          . Cambridge University Press, UK,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Paolo</given-names>
            <surname>Ceravolo</surname>
          </string-name>
          , Cristiano Fugazza, and
          <string-name>
            <given-names>Marcello</given-names>
            <surname>Leida</surname>
          </string-name>
          .
          <article-title>Modeling semantics of business rules</article-title>
          .
          <source>In Proceedings of the Inaugural IEEE International Conference On Digital Ecosystems and Technologies (IEEE-DEST)</source>
          ,
          <year>February 2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Donald</given-names>
            <surname>Chapin</surname>
          </string-name>
          . SBVR:
          <article-title>What is now possible and why?</article-title>
          <source>Business Rules Journal</source>
          ,
          <volume>9</volume>
          (
          <issue>3</issue>
          ),
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Melvin</given-names>
            <surname>Fitting</surname>
          </string-name>
          and Richard L. Mendelsohn.
          <article-title>First-order modal logic</article-title>
          . Kluwer Academic Publishers, Norwell, MA, USA,
          <year>1999</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Enrico</given-names>
            <surname>Franconi</surname>
          </string-name>
          , Alessandro Mosca, and Dmitry Solomakhin.
          <article-title>ORM2: Syntax and semantics</article-title>
          .
          <source>Internal report, KRDB Research Centre for Knowledge and Data</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Terry</given-names>
            <surname>Halpin</surname>
          </string-name>
          .
          <article-title>A Logical Analysis of Information Systems: Static Aspects of the Data-oriented Perspective</article-title>
          .
          <source>PhD thesis</source>
          , Department of Computer Science, University of Queensland,
          <year>1989</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Terry</given-names>
            <surname>Halpin</surname>
          </string-name>
          .
          <article-title>Object-Role Modeling (ORM/NIAM)</article-title>
          .
          <source>In Handbook on Architectures of Information Systems</source>
          , pages
          <fpage>81</fpage>
          {
          <fpage>102</fpage>
          . Springer-Verlag,
          <year>1998</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>Terry</given-names>
            <surname>Halpin</surname>
          </string-name>
          and
          <string-name>
            <given-names>Tony</given-names>
            <surname>Morgan</surname>
          </string-name>
          . Information Modeling and
          <string-name>
            <given-names>Relational</given-names>
            <surname>Databases</surname>
          </string-name>
          . Morgan Kaufmann Publishers Inc., San Francisco, CA, USA,
          <volume>2</volume>
          <fpage>edition</fpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Terry</surname>
          </string-name>
          <article-title>A. Halpin and Jan Pieter Wijbenga. FORML 2</article-title>
          . In Ilia Bider, Terry A.
          <string-name>
            <surname>Halpin</surname>
          </string-name>
          , John Krogstie, Selmin Nurcan, Erik Proper, Rainer Schmidt, and Roland Ukor, editors,
          <source>BMMDS/EMMSAD</source>
          , volume
          <volume>50</volume>
          <source>of Lecture Notes in Business Information Processing</source>
          , pages
          <volume>247</volume>
          {
          <fpage>260</fpage>
          . Springer,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <given-names>Rami</given-names>
            <surname>Hodrob</surname>
          </string-name>
          and
          <string-name>
            <given-names>Mustafa</given-names>
            <surname>Jarrar</surname>
          </string-name>
          .
          <article-title>Mapping ORM into OWL 2</article-title>
          .
          <source>In Proceedings of the 1st International Conference on Intelligent Semantic Web-Services and Applications</source>
          , ISWSA '
          <volume>10</volume>
          , pages
          <issue>9:1</issue>
          {
          <issue>9</issue>
          :
          <fpage>7</fpage>
          , New York, NY, USA,
          <year>2010</year>
          . ACM.
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <given-names>G. E.</given-names>
            <surname>Hughes</surname>
          </string-name>
          and
          <string-name>
            <given-names>M. J.</given-names>
            <surname>Cresswell</surname>
          </string-name>
          . A New Introduction To Modal Logic. Routledge,
          <year>1996</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Maria Keet. Mapping the Object-Role Modeling language ORM2 into Description Logic language DLRifd</article-title>
          . CoRR, abs/cs/0702089,
          <year>2007</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <given-names>Paul</given-names>
            <surname>McNamara</surname>
          </string-name>
          .
          <article-title>Deontic logic</article-title>
          . In Edward N. Zalta, editor,
          <source>The Stanford Encyclopedia of Philosophy. Fall 2010 edition</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Ronald</surname>
            <given-names>G.</given-names>
          </string-name>
          <string-name>
            <surname>Ross</surname>
          </string-name>
          .
          <article-title>Principles of the Business Rule Approach</article-title>
          . Addison-Wesley Longman Publishing Co., Inc., Boston, MA, USA,
          <year>2003</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <given-names>Dmitry</given-names>
            <surname>Solomakhin</surname>
          </string-name>
          .
          <article-title>Logical Formalization of Semantic Business Vocabulary and Rules</article-title>
          .
          <source>MSc thesis</source>
          , Faculty of Informatics, Vienna University of Technology, http: //media.obvsg.at/AC07810206-2001,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18. The Business Rules Group.
          <article-title>De ning business rules</article-title>
          .
          <source>What are they really? Technical report</source>
          , The Business Rules Group,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. The Object Management Group.
          <article-title>Semantics of Business Vocabulary and Business Rules (SBVR)</article-title>
          .
          <source>Formal speci cation, v1.0</source>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <given-names>Frank</given-names>
            <surname>Wolter</surname>
          </string-name>
          and
          <string-name>
            <given-names>Michael</given-names>
            <surname>Zakharyaschev</surname>
          </string-name>
          .
          <article-title>Decidable fragments of rst-order modal logics</article-title>
          .
          <source>J. Symb. Log.</source>
          ,
          <volume>66</volume>
          (
          <issue>3</issue>
          ):
          <volume>1415</volume>
          {
          <fpage>1438</fpage>
          ,
          <year>2001</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>