<!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>Automatic generation of Probabilistic Ontologies from UMP-ST model</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Diego M. Azevedo</string-name>
          <email>diegomarques.azevedo@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Marcelo Ladeira</string-name>
          <email>mladeira@unb.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Laecio L. Santos</string-name>
          <email>laecio@cic.unb.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rommel N. Carvalho</string-name>
          <email>rommel.carvalho@cgu.gov.br</email>
          <email>rommelnc@unb.br</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science University of Bras lia Campus Universitario Darcy Ribeiro Bras lia</institution>
          ,
          <addr-line>Distrito Federal</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Department of Research and Strategic Information Brazilian O ce of the Comptroller General (CGU) SAS, Quadra 01, Bloco A, Edif cio Darcy Ribeiro Bras lia</institution>
          ,
          <addr-line>Distrito Federal</addr-line>
          ,
          <country country="BR">Brazil</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>The Uncertainty Modeling Process for Semantic Technologies (UMP-ST) is an incremental and iterative approach that covers the di culty in maintaining and evolving existing POs [5]. It is a general methodology for the majority of the existing semantic technologies which support uncertainty. One of them is the Probabilistic OWL (PR-OWL), which is a language for representing Multi-Entity Bayesian Networks (MEBN). The modeling of a PO using UMP-ST methodology and MEBN/PR-OWL representation is supported by UnBBayes, a framework for building probabilistic graphical models and performing plausible reasoning. Although there is a guidance described by UMP-ST to model a PO, the implementation of a PO is painful and repetitive. Nowadays, the user needs to build the ontology from the zero in a speci c technology, even if the user models the PO in UMP-ST. A proper integration that helps the user to implement the PO such as an intermediate structure makes implementation easier than build the PO from the zero and speeds up the modeling process. This paper proposes an algorithm to generate POs based on the mapping of elements of an UMP-ST model into a MEBN/PR-OWL representation. This approach is basically an extension of the UMP-ST to generate POs to an speci c formalism, that is, the MEBN/PR-OWL language. The algorithm proposed is implemented as a Java plug-in for the UnBBayes.</p>
      </abstract>
      <kwd-group>
        <kwd>Automatic Generation</kwd>
        <kwd>Probabilistic Ontology</kwd>
        <kwd>Uncertainty Modeling Process</kwd>
        <kwd>UMP-ST</kwd>
        <kwd>POMC</kwd>
        <kwd>Fraud Detection</kwd>
        <kwd>MEBN</kwd>
        <kwd>UnBBayes</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        The limitation of OWL in representing uncertainty are covered by many
approaches based on di erent formalisms, one of them is the Probabilistic Web
Ontology Language (PR-OWL) [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. PR-OWL is based on Multi-Entity Bayesian
Networks (MEBN), a formalism that joins the expressiveness power of First
Order Logic to represent a domain and the ability to perform plausible reasoning
of Bayesian Networks.
      </p>
      <p>
        Although probabilistic reasoning is one of the most promising approaches to
deal with uncertainty in ontologies, little support was giving because of the di
culty level to execute and replicate probabilistic ontologies. Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], focusing
on how to design this kind of probabilistic ontologies, proposes a methodology
based on the Uni ed Process (UP) to make the working related to build this
models less complex. The Uncertainty Reasoning Process for Semantic Technologies
(URP-ST) is a framework that guides this working process though a series of
steps as modeling, populating the knowledge base, and making inferences on the
model.
      </p>
      <p>
        The Uncertainty Modeling Process for Semantic Technologies (UMP-ST) is
an incremental and iterative approach to model probabilistic ontologies though
a set of disciplines. Carvalho de nes Probabilistic Ontology Modeling Cycle
(POMC) as a project lifecycle composed by four disciplines to handle the
uncertainty modeling and reasoning processes. These disciplines are composed by
Requirements, Analysis &amp; Design, Implementation, and Test [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The URP-ST
methodology is supported by UnBBayes [
        <xref ref-type="bibr" rid="ref1 ref6">1, 6</xref>
        ].
      </p>
      <p>
        UnBBayes 1 is an open source framework with support to plug-ins that o ers
support to many methods with di erent formalisms based on Bayesian Networks
(BN) [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. One of them gives support to UMP-ST modeling process. Basically, the
UMP-ST plug-in supports the Requirements and Analysis &amp; Design disciplines
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The Implementation and Test disciplines as well as others steps of the
URPST, such as populating the knowledge base and making inferences, can be done
in UnBBayes using the MEBN/PR-OWL plug-in.
      </p>
      <p>Although UnBBayes gives support to URP-ST, it does not have a link
between modeling and implementing disciplines. This makes the developing
process more painful because the e ort needed to build the same model switching
between the UMP-ST and in PR-OWL/MEBN plug-in, without a proper
integration. This paper presents in detail how elements de ned in UMP-ST are
mapped to PR-OWL/MEBN elements and how is made the automatic
generation of probabilistic ontology in PR-OWL from the UMP-ST plug-in extension.</p>
      <p>
        This paper is organized as follows: Section 2 presents fundamental knowledge
of URP-ST, UMP-ST, PR-OWL and MEBN. Section 3 describes UnBBayes and
the plug-ins developed for PR-OWL and UMP-ST. Section 4 de nes how it is
possible to generate PR-OWL 2 ontologies with UMP-ST models and uses the
Fraud Detection proposed by Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] as a case study. Section 5 presents
some concluding remarks.
1 http://sourceforge.net/projects/unbbayes/
      </p>
    </sec>
    <sec id="sec-2">
      <title>Fundamental Knowledge</title>
      <p>This section presents basic concepts related to URP-ST, UMP-ST,
PR-OWL/PROWL 2 and MEBN, providing an approach about these formalisms and their
application in the PO context.
2.1</p>
      <p>
        URP-ST
Uncertainty Reasoning Process for Semantic Technologies was proposed by
Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] as an approach for modeling a probabilistic ontology and using it for
plausible reasoning in applications that use Semantic Technologies. It is divided
into three steps: modeling the domain, populating the model with data, and
using both the model and the data available, i.e Knowledge base, for reasoning.
The model describes how di erent concepts in our ontology interact under
uncertainty by knowing facts that will guide the construction process. Once the
model is available, reasoning can be done when the model is populated with
data, i.e entities and evidence. Then it is possible make inferences to answer
queries from the users.
2.2
      </p>
      <p>
        UMP-ST
Uncertainty Modeling Process for Semantics Technologies was proposed by
Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] as an iterative and incremental methodology for modeling POs. It
describes the rst phase of the URP-ST and it is compounded by four major
disciplines: Requirements (functional and non-functional), Analysis &amp; Design,
Implementation, and Test. The modeling process described by UMP-ST is also
consistent with the bayesian network modeling methodology [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ][
        <xref ref-type="bibr" rid="ref10">10</xref>
        ].
      </p>
      <p>Like in the UP, all disciplines in each iteration of the UMP-ST cover a set of
requirements, building deliverable versions of the model. The idea behind every
iteration is to take advantage of what has been learned during the modeling of
earlier versions. It comes from discovering new requirements, rules, entities, and
relations from previous versions.</p>
      <p>Following the steps described by the UMP-ST, it is possible to build a
Requirements Traceability Matrix (RTM) de ned by traceability of work products
of di erent disciplines. It can describe which requirement item is being
implemented in each design object or implementation object. I.e, an entity and
relationship de ned in Analysis &amp; Design discipline can be linked to goal described in
the rst discipline. Traceability promotes an easy identi cation of objects that
should be analyzed or modi ed when implementing changes and also ensures
that all requirements are covered.</p>
      <p>The interaction process covered by the UMP-ST is depicted in Probabilistic
Ontology Modeling Cycle (POMC), illustrated in Figure 1. This cycle de nes
the major outputs from each discipline and the natural order in which outputs
are produced. Although there is a modeling order, it is not necessary to occur
in a rigid and sequential way like the waterfall model. The interactions between
the disciplines are not restricted to the arrows presented.</p>
      <p>The Requirements discipline de nes objectives that must be achieved by
reasoning in PO. For each goal, it is necessary to de ne queries that will be
answered with the aid of evidence.</p>
      <p>Analysis &amp; Design discipline de nes classes of entities, their attributes,
relationships, and rules. It will be grouped to isolate characteristics of the domain
and to facilitate the visualization of dependencies that will guide implementation
of the PO model in the next step.</p>
      <p>In the Implementation discipline, entities, relationships, attributes, rules, and
groups will be mapped to their corresponding concepts in a speci c formalism
that allows uncertainty representation. In our case study, the mapping is done
to PR-OWL 2 format.</p>
      <p>In the Test discipline, the user will validate and verify the model, in which it
is observed whether the resulting ontology has an expected behavior and whether
all requirements have been implemented.
2.3</p>
      <p>
        MEBN and PR-OWL
Multi-Entity Bayesian Networks (MEBN) was proposed by Laskey [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] as a
language for representing probabilistic knowledge. It extends Bayesian networks by
incorporating the expressive power of rst-order logic, and expands rst-order
logic by adding a way to specify probability distribution through its random
variables. Thus, MEBN expands Bayesian network approach to a domain where
the number of random variables (RVs) involved is unknown.
      </p>
      <p>MEBN describes knowledge as a collection of MEBN Fragments (MFrags),
organized into MEBN Theories (MTheories). Each MFrag represents a
repeatable pattern of knowledge that can be instantiated as many times as needed to
form a BN addressing a speci c situation. Thus, it can be seen as a template for
building fragments of a Bayesian network. MFrags are instantiated by binding
their arguments to domain entity identi ers to create instances of RVs. Each
MEBN fragment has three kinds of RV: context, resident, and input. Context
RVs are conditions that guarantee the consistency of the distributions de ned
in a MFrag. Input RVs in uence the distributions of other RVs in a MFrag, but
their distribution are de ned in their home MFrag. Resident RVs are de ned
by specifying their Local Probability Distribution (LPD) in their home MFrag.
Each LDP of Resident RV is conditioned on the values of instances of its parents.</p>
      <p>An MTheory is a set of MFrags that collectively satisfy conditions of
consistency ensuring the existence of a unique joint probability distribution over
instances of its random variables.</p>
      <p>The instantiation of its RVs by biding their arguments to domain entity
identi ers results in a Situation-Speci c Bayesian Network (SSBN), where the
RVs of MFrags will become RVs in an ordinary Bayesian network. Then, these
SSBNs can use regular BN inference engines to answer the query.</p>
      <p>
        PR-OWL is a language for representing uncertainty knowledge in a
principled, structured, and shareable way proposed by Costa [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ]. It was developed as
an extension of OWL, using MEBN to allow applications to perform plausible
reasoning and requiring MEBN inference engine to process additional syntax
based on Bayesian network probabilistic inference. This language consists of a
set of classes and subclasses that collectively form a framework for building
probabilistic ontologies [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        PR-OWL 2 is an extension of PR-OWL proposed by Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], providing
a consistent mapping between OWL concepts and data types and PR-OWL. It
facilitates the construction of hybrid ontologies with deterministic and
probabilistic statements.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>UnBBayes and the plug-in for UMP-ST</title>
      <p>
        UnBBayes is an open-source JavaT M application distributed in GPL license. It
has been developed since 2000 and was created for building probabilistic
graphical models and performing plausible reasoning [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. In mid-2010, UnBBayes had
its architecture modi ed to give support to plug-in extension form. This
facilitates its expansion into new formalisms. In core version, UnBBayes
implements Bayesian network (BN) and Inference Diagrams (ID). Multiply-Sectioned
Bayesian Network (MSBN), Object-Oriented Bayesian network (OOBN),
Hybrid Bayesian Network (HBN), MEBN, PR-OWL, and PR-OWL 2 as others
formalisms are supported by adding plug-ins extension.
      </p>
      <p>MEBN implementation in UnBBayes is saved using the PR-OWL format. It
was the rst implementation of MEBN formalism in the world. In order to
popularize PR-OWL language and MEBN formalism, UnBBayes provides a GUI for
editing ontologies making inference through the creation of SSBNs. PR-OWL
2 was implemented to allow the creation of probabilistic ontologies from
deterministic ontologies in OWL. PR-OWL 2 plug-in was developed to allow the user
to edit both probabilistic and deterministic parts of ontologies. It is possible
because Protege has been integrated into UnBBayes to design the deterministic
part.</p>
      <p>
        UMP-ST plug-in was implemented to solve three problems: the complexity
in creating POs; the di culty in maintenance and evolution of existing POs; and
the lack of a centralized tool for documenting POs [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. One of the key features
in this plug-in is the implicitly creation of the traceability matrix by linking the
objects created during the disciplines to the requirements they relate to. The
plug-in allows the user to work with the Requirements and Analysis &amp; Design
disciplines. However, to allow the automatic generation of a PO from the
UMPST model, it is necessary select a speci c language and formalism that will be
mapped in the Implementation discipline. MEBN and PR-OWL 2 were chosen
because UnBBayes has support to both formalisms as well a plug-in for UMP-ST.
4
      </p>
    </sec>
    <sec id="sec-4">
      <title>Automatic generation of probabilistic ontologies from</title>
    </sec>
    <sec id="sec-5">
      <title>UMP-ST models</title>
      <p>After the modeler de nes the elements in the Analysis &amp; Design discipline, it
is necessary to choose a speci c language that allows uncertainty representation
in semantic technologies to implement the model designed. This work describes
how to generate a PO in PR-OWL 2 using UnBBayes from the model designed
in UMP-ST plug-in. One of the main advantages is the traceability between the
elements de ned in the Requirements and Analysis &amp; Design disciplines and the
PR-OWL elements in the Implementation discipline.</p>
      <p>
        To automatic generate a model in PR-OWL 2, it is necessary to start by
mapping the entities, their attributes, and relations to the chosen language.
Figure 2 presents how the elements created in UMP-ST can be mapped to
PROWL 2, which essentially uses MEBN terms [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The designed model needs to
be simpli ed, since UnBBayes has some limitations. E.g., the lack of support for
a type hierarchy.
      </p>
      <p>As represented in Figure 2, the elements of UMP-ST (in blue) at the left
side are mapped to MEBN terms present at the right side by considering the
limitations of UnBBayes. Thus, the entities in the model will be mapped to an
entity in PR-OWL 2. The attributes and relationships of the model are
characteristics that may be uncertain. In MEBN, it is represented by de ning random
variables (RVs), which can be a kind of context RV (in green), input RV (in
gray) or resident RV (in yellow).</p>
      <p>
        To de ne a RV in UnBBayes PR-OWL, rst we need to de ne its home
MFrag. However, it is not necessary with the PR-OWL 2 plug-in, because RVs
are independent of MFrag and are de ned globally. This makes the RVs de nition
easier compared with UnBBayes PR-OWL de nition process [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>In UMP-ST, the attributes and relationships as others elements de ned in the
Analysis &amp; Design discipline are separated in di erent groups. Also in MEBN,
each RV has a home MFrag into which it is de ned the local probability
distribution. So on, in Figure 2 the groups (on the left side) will be mapped as MFrags
(on the right side).</p>
      <p>
        As described in Figure 3, relationships in UMP-ST (on top) can be de ned as
a relation of one or more entities, being a predicate or a function, depending of
their context, e.g, livesAtSameAddress(Person, Person). In MEBN theories,
a RV (in yellow) takes arguments that refer to entities of the domain of
application [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. These arguments in UnBBayes have OrdinaryVariable type and they
are represented by a Context RV (in green) with Boolean range as the built-in
RV isA(resource, class). resource, in this type of RV, represents
individuals of OrdinaryVariable and class represents entities related to the domain
of application [
        <xref ref-type="bibr" rid="ref1 ref8">8, 1</xref>
        ].
      </p>
      <p>Relationships de ned in the UMP-ST will be mapped to (input or resident)
RVs (in yellow) and for each entity present in relationship, context RVs (in green)
with Boolean range will be created as the built-in RV isA(resource, class).
This will be necessary to guarantee the unique joint probability distribution over
the RVs when the model is instantiated.</p>
      <p>
        Even though UMP-ST is a generic modeling process for the majority of
existing semantic technologies which support uncertainty representation, the chosen
language does not o er a formal link between these terms. It is impossible for
reasoners to identify that these terms are even linked. At best, it could only
\guess" they are the same, since they have similar syntax [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ].
      </p>
      <p>
        Once all RVs are mapped, their relations and constraints can be de ned by
analyzing RVs dependencies described by the rules in the UMP-ST model [
        <xref ref-type="bibr" rid="ref1 ref3">3, 1</xref>
        ].
It is important to capture local consistence of the model by testing these rules
even before implementing the model in a speci c language by creating simple
probabilistic model to evaluate whether it will behave as expected. However,
rules in UMP-ST are basically described in textual form [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], which makes an
automatic identi cation of the rule structure more complexity and subject to
errors.
      </p>
      <p>To make the rule structure understandable by computer and less subject to
errors, an extension of the rule de nition is proposed during the Implementation
discipline. It is based on four steps. In the rst and the second steps, the rule
context (ordinary variables and necessary conditions) is speci ed. In the third
and last steps, a casual relation to describe the dependence of RVs is de ned.
Figure 4 presents an example to illustrate this form of extension.</p>
      <p>Considering the rule and the group description in the Analysis &amp; Design
discipline, each rule is related to only one group and each group can have one or
more rules. Therefore, the relation of dependence over the RVs described by the
rule is restricted to the group in which it is declared. This relation of dependence
de ned in a speci c group will contribute to set the local probability distribution
over the RVs by describing who it is cause and who it is e ect.</p>
      <p>The new rule de nition extension allows mapping the ordinary variables and
the necessary conditions to context RVs and the cause and the e ect to (input
or resident) RVs. For instance, in Figure 4 the ordinary variables person and
enterprise are both related to the class Person and Enterprise. Thus, they are
mapped in an MFrag to the isA(person, Person) and the isA(enterprise,
Enterprise) context RVs. The necessary condition can be described by a
rstorder logic and also can be a RV as isResponsibleFor(person, enterprise)
which is mapped to a context RV. This condition, in the MEBN fragment, will
restrict the application of the probability distribution over its RVs to instances
of Person that are responsible for the instances of Enterprise.</p>
      <p>With all elements de ned in the Analysis &amp; Design already mapped to the
PR-OWL 2 language, now it is necessary to distinguish input and resident RVs.
An algorithm to select RVs based on their home MFrag and their relation of
dependence is proposed. This algorithm is composed by three criterion of
selections.</p>
      <p>The First criteria of selection de nes as resident RV the RV present
only in its home MFrag and does not in uence a probability distribution of
other RVs as a possible input RV. E.g., ownsSuspendedEnterprise(person) in
Owns Suspended Enterprise MFrag illustrated by Figure 5. This is done by the
algorithm, by identifying the relationships that there are in just one group.</p>
      <p>The Second criteria of selection de nes as input RV in a MFrag the
RV that also is de ned as resident RV in another MFrag. E.g, in Figure 5,
isSuspended(enterprise) has input type in Owns Suspended Enterprise MFrag,
but rst it is de ned as resident RV in Enterprise Information MFrag.</p>
      <p>In the Second criteria of selection, the algorithm analyses the rules of each
group and identify where the RVs are the cause and where they are the e ect.
If there is a RV that is cause and in other group it is de ned as e ect by a rule,
then this RV which is cause will have input type and the other which is e ect will
have resident type. This is possible because in MEBN an input RV in uences
the local probability distribution of resident RV like a cause and e ect relation,
but rst the RV which has input type needs to be a resident RV in its home
MEBN fragment.</p>
      <p>After analyzing the causal relation de ned by the rules, it is possible to
exist some RVs that still have unde ned type. This kind of RVs can be identi ed
by analyzing the RVs which are not de ned by a rule but they still
participate in a MFrag. E.g, in Figure 5 in Enterprise Information MFrag, the RV
isResponsibleFor(person, enterprise) is not de ned by some rule because
in the group related to its MFrag, it is not a cause or e ect. In this case, the
algorithm considers that this kind of MFrag is the home MFrag of the RV
analyzed and it will be de ned as resident RV. Nevertheless, if there are RVs that
still do not have a type, they will be added in a list of doubts.</p>
      <p>The Third criteria of selection analyzes whether after rst and second
criterion of selection may exist some RVs that still have unde ned type. So on,
if there are RVs in the list of doubts, then each RV in doubt will be presented
to the user decides manually whether this RV has input or resident type. The
type of RV decided by the user will be added to a list of hypothesis and it will
be saved in UMP-ST plug-in le.</p>
      <p>
        Carvalho [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] proposes the probabilistic ontology for procurement fraud and
detection and prevention in Brazil. This case study is modeled in PR-OWL 2
with URP-ST and it will be used to illustrate the generation process using the
algorithm proposed.
      </p>
      <p>To explain the problem described by Carvalho in the fraud and detection
model, it is necessary to have in mind the principles established by Brazil's Law
among equality of bidders. This Law prohibits the procurement agent from
discrimination among potential suppliers. Therefore, the procurement agent cannot
be related to the bidder or might feed information in order to favor the bidder's
enterprise. Also, the committee for a procurement must be well prepared and
must has a clean history with no criminal or administrative convictions. These
constraints give rise to a set of goals, queries and evidences which will guide the
modeling process.</p>
      <p>During the Analysis &amp; Design discipline, one of the goals covered by Carvalho
identi es whether some person ownsSuspendedEnterprise. This relationship is
de ned as a relation between Person and Enterprise entities. However, to know
whether some person ownsSuspendedEnterprise, it is necessary to known also
the probability of the enterprise analyzed isSuspended. This rule only will be
valid whether the person isResponsibleFor the enterprise. Figure 4 illustrates
this rule in extension form.</p>
      <p>This goal can be analyzed and designed in two groups. isSuspended and
isResponsibleFor can be grouped as Enterprise Information which also
will contain the entities that they relate to. The other group will contain the
elements necessary to describe the rule de ned before. So on, it needs to have
isResponsibleFor, isSuspended and ownsSuspendedEnterprise as
relationships and Person and Enterprise as entities.</p>
      <p>After modeling the elements during Analysis &amp; Design discipline, to generate
the PO, rst each element will be mapped as described in Figure 2. Then, the
algorithm will run the sequence of steps presented below to de ne the RVs type
based on rules and groups distribution.
i It is identi ed whether the model had already been generated by analyzing
the list of hypothesis.
ii Case the list of hypothesis is not empty, then each RV listed will have the
type de ned by the user hypothesis.
iii First criterion of selection is executed and the RVs present in just one MFrag
will be de ned as resident.
iv Second criterion of selection is executed. If the RV is de ned as cause in a
rule and in other group it is de ned as e ect, then it will have input type
in MFrag that it was cause and in the other that it was e ect, it will have
resident type.
v Case there are RVs that were not declared in any rule, but they were de ned
in a group, then they will have resident type.
vi Third criterion of selection will de ne the type of the RVs that still are in
doubt by presenting them to the user decides.</p>
      <p>The PR-OWL 2 format generated by the algorithm does not de ne the
local probability distribution presents in each resident RVs. Therefore, the model
generated is not complete. The user needs to de ne the local probability
distribution by editing the code generated in MEBN plug-in supported by UnBBayes.
After that, the PO is validated and veri ed by analyzing whether the ontology
has a expected behavior and whether all requirements have been implemented.
Case one requirement has not been implemented, the user will edit the PO in
the MEBN plug-in, but if it is necessary to change some rule, then it is possible
to generate other PO in PR-OWL 2 format from the UMP-ST plug-in extension.</p>
    </sec>
    <sec id="sec-6">
      <title>Conclusion</title>
      <p>It is possible to generate automatically a PO in PR-OWL 2 format able to be
read and edited by UnBBayes. Although there is not a formal link between the
UMP-ST elements and the output format, the proposed mapping of the elements
de ned in Analysis &amp; Design discipline to PR-OWL 2 format was based on the
related concepts of each element of both representations.</p>
      <p>The new de nition of the rule during the generation process is necessary to
make its format understandable by a computer. This is possible by de ning the
ordinary variables, the necessary conditions and the causal relation over its RVs.
These elements will be mapped to MEBN/ PR-OWL 2 and, by executing the
algorithm, the model de ned by UMP-ST plug-in will generate a MEBN theory.</p>
      <p>The generation of the PR-OWL 2 code by the extension of the UMP-ST
plugin speeds up and facilitates the creation of a MEBN model (PR-OWL 2 PO).
The development of this extension is on implementing phase. It is developed in
J avaT M and riles on Java Plugin Framework2 (JPF) version 1.5.1.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <given-names>R. N.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <article-title>"Probablistic ontology: Representation and modeling methodology," PhD</article-title>
          , George Mason University, Fairfax,
          <string-name>
            <surname>VA</surname>
          </string-name>
          , USA,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>P. C. G.</given-names>
            <surname>Costa</surname>
          </string-name>
          ,
          <article-title>"Bayesian semantics for the semantic web," PhD</article-title>
          , George Mason University, Fairfax,
          <string-name>
            <surname>VA</surname>
          </string-name>
          , USA, Jul.
          <year>2005</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>R. M. de Souza</surname>
          </string-name>
          ,
          <article-title>"UnBBayes plug-in for documenting probabilistic ontologies using UMP-ST,"</article-title>
          <string-name>
            <surname>B.S.</surname>
          </string-name>
          , University of Bras lia,
          <source>Bras lia, Brazil</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>K. B. Laskey</surname>
          </string-name>
          ,
          <article-title>"MEBN: a language for First-Order bayesian knowledge bases,"</article-title>
          <source>Arti cial Intelligence</source>
          , vol.
          <volume>172</volume>
          , no.
          <issue>2-3</issue>
          , pp
          <fpage>140</fpage>
          -
          <lpage>178</lpage>
          ,
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>R. N.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ladeira</surname>
          </string-name>
          ,
          <string-name>
            <surname>R. M. de Souza</surname>
            , S. Matsumoto,
            <given-names>H. A. D.</given-names>
          </string-name>
          <string-name>
            <surname>Rocha</surname>
            , and
            <given-names>G. L.</given-names>
          </string-name>
          <string-name>
            <surname>Mendes</surname>
          </string-name>
          , \
          <article-title>UMP-ST plug-in: A tool for documenting, maintaining, and evolving probabilistic ontologies." in URSW, ser</article-title>
          . CEUR Workshop Proceedings,
          <string-name>
            <given-names>F.</given-names>
            <surname>Bobillo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. N.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          , P. C. G. da Costa, C. d'Amato,
          <string-name>
            <given-names>N.</given-names>
            <surname>Fanizzi</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. B. Laskey</surname>
            ,
            <given-names>K. J.</given-names>
          </string-name>
          <string-name>
            <surname>Laskey</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          <string-name>
            <surname>Lukasiewicz</surname>
            , T. Martin,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Nickles</surname>
          </string-name>
          , and M. Pool, Eds., vol.
          <volume>1073</volume>
          . CEURWS.org,
          <year>2013</year>
          , pp.
          <volume>15</volume>
          {
          <fpage>26</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>R. N.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <surname>K. B. Laskey</surname>
            , P. C. G. da Costa,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Ladeira</surname>
            ,
            <given-names>L. L.</given-names>
          </string-name>
          <string-name>
            <surname>Santos</surname>
            , and
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Matsumoto</surname>
          </string-name>
          , \
          <article-title>UnBBayes: modeling uncertainty for plausible reasoning in the semantic web," in Semantic Web, gang wu ed</article-title>
          .
          <source>INTECH, Jan</source>
          .
          <year>2010</year>
          , pp.
          <volume>1</volume>
          {
          <fpage>28</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>S.</given-names>
            <surname>Matsumoto</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. N.</given-names>
            <surname>Carvalho</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Ladeira</surname>
          </string-name>
          , P. C. G. da
          <string-name>
            <surname>Costa</surname>
            ,
            <given-names>L. L.</given-names>
          </string-name>
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          <string-name>
            <surname>Silva</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Onishi</surname>
            , E. Machado, and
            <given-names>K.</given-names>
          </string-name>
          <string-name>
            <surname>Cai</surname>
          </string-name>
          , \
          <article-title>UnBBayes: a java framework for probabilistic models in AI," in Java in Academia and Research</article-title>
          . iConcept Press,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>S.</given-names>
            <surname>Matsumoto</surname>
          </string-name>
          ,
          <article-title>"Framework based in plug-ins for reasoning with probabilistic ontologies," M.Sc</article-title>
          ., University of Bras lia,
          <source>Bras lia, Brazil</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>K. B. Laskey</surname>
            and
            <given-names>S. M.</given-names>
          </string-name>
          <string-name>
            <surname>Mahoney</surname>
          </string-name>
          , \
          <article-title>Network engineering for agile belief network models,"</article-title>
          <source>IEEE Transactions on Knowledge and Data Engineering</source>
          , vol.
          <volume>12</volume>
          , no.
          <issue>4</issue>
          , pp.
          <volume>487</volume>
          {
          <issue>498</issue>
          ,
          <year>2000</year>
          . [Online]. Available: http://portal.acm.org/citation.cfm?id=
          <fpage>628073</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>K. B. Korb</surname>
            and
            <given-names>A. E.</given-names>
          </string-name>
          <string-name>
            <surname>Nicholson</surname>
          </string-name>
          ,
          <source>Bayesian Arti cial Intelligence</source>
          , 1st ed. &amp; Hall/CRC, Sep.
          <year>2003</year>
          . Chapman
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>