Semantic Annotation for Process Models: - Department of Computer ...

Semantic Annotation for Process Models: - Department of Computer ... Semantic Annotation for Process Models: - Department of Computer ...

21.01.2014 Views

72 CHAPTER 4. SEMANTIC ANNOTATION FRAMEWORK specified through its relations with inputs or outputs. • Actor-role is the one who interacts with an activity. Although actor and role are two different concepts, we combine these into one to represent that a role is acted by an actor and an actor is a person, or an organization or a system that operates the activity. The role is not acted by any artifact which is distinguished from the definitions of role in some modeling languages, e.g. ResourceRole in UEML. • Precondition and Postcondition represent respectively constraints before an activity starts and after an activity ends. Pre- or Post- conditions may also directly constrain inputs and outputs of activities. • Exception provides additional information about failures of a process or any exceptional cases in a process. The exception can be handled by activities. • WorkflowPatterns represent orderings of different activities. WorkflowPattern can be refined into several specific patterns according to the workflow patterns defined in [191], such as Choice (Exclusive Choice, MultipleChoice, ParallelSpit), Merge (SimpleMerge, MultipleMerge, Synchronization) and Sequence, which are basic control workflow patterns supported by most process modeling languages with logical symbols like AND, OR and XOR. The aim of including workflow patterns in GPO is for the user to navigate preceding, succeeding, synchronizing and exclusive activities, because those workflow patterns denote semantics of process orders. Figure 4.5: General Process Ontology Process perspectives in GPO With regard to the process perspectives from the paradigm of BPM systems (defined in Chapter 3), GPO has following correspondences: GPO uses Activity together with

4.4. META-MODEL ANNOTATION 73 Input and Output to represent the operational/function perspective. Decomposable Activities and their subAcitivities can be applied to specify the structural perspective. The resource and organizational perspectives can be presented through the specifications of Artifact and Actor-role respectively. The control perspective of a process is represented by Precondition, Postcondition of Activities and a set of WorkflowPatterns and Exception to link Activities. No particular concept is identified to represent the data transaction perspective but the links between Artifact and Input or Output can be used to specify changes of data values associated with a certain Artifact. 4.4.2 Mapping rules in Meta-model annotation GPO is a mediator for semantic reconciliation of process modeling concepts and it should not be seen as a new process modeling language, but a means to annotate the process modeling constructs. In a meta-model annotation a process modeling language is annotated manually by annotators. The procedure of meta-model annotation is in fact to set mapping rules between the GPO concepts and process modeling language constructs or meta-model elements. The mapping rules consist of both one-to-one and one-to-many correspondences between the GPO concepts and modeling language constructs or meta-model elements. More complicated cases might occur, such as a correspondence between a GPO concept and a combination of several modeling constructs or meta-model elements. To define mapping rules for different cases, we categorize three types of modeling constructs — AtomicConstruct, EnumeratedConstruct and ComposedConstruct. Each single modeling construct is an AtomicConstruct, an EnumeratedConstuct is a list of several AtomicConstructs, and a ComposedConstruct is composed of several AtomicConstructs. Mapping Rules: • One-to-one mapping: a GPO concept is referred by an AtomicConstruct (e.g. GPO:Activity) is mapped to EEML:Task); • One-to-many mapping: a GPO concept can be referred by several modeling language constructs respectively which are enumerated in an EnumeratedConstruct (e.g. GPO:Artifact) can be mapped to EEML:Information Object or EEML:Material Object); • One-to-combination mapping: a GPO concept is referred by a combination of those modeling language constructs in a ComposedConstruct (e.g. GPO:WorkflowPattern is mapped to a combination of EEML:Flow and EEML:Decision Point). Different technologies can be employed to represent the mapping rules, such as XML, RDF/RDFS or OWL. An OWL representation is exemplified below. A namespace metaAnno is used to encode meta-model annotation in these three mapping cases:

4.4. META-MODEL ANNOTATION 73<br />

Input and Output to represent the operational/function perspective. Decomposable<br />

Activities and their subAcitivities can be applied to specify the structural perspective.<br />

The resource and organizational perspectives can be presented through the specifications<br />

<strong>of</strong> Artifact and Actor-role respectively. The control perspective <strong>of</strong> a process is<br />

represented by Precondition, Postcondition <strong>of</strong> Activities and a set <strong>of</strong> WorkflowPatterns<br />

and Exception to link Activities. No particular concept is identified to represent the<br />

data transaction perspective but the links between Artifact and Input or Output can be<br />

used to specify changes <strong>of</strong> data values associated with a certain Artifact.<br />

4.4.2 Mapping rules in Meta-model annotation<br />

GPO is a mediator <strong>for</strong> semantic reconciliation <strong>of</strong> process modeling concepts and it<br />

should not be seen as a new process modeling language, but a means to annotate the<br />

process modeling constructs. In a meta-model annotation a process modeling language<br />

is annotated manually by annotators. The procedure <strong>of</strong> meta-model annotation is in<br />

fact to set mapping rules between the GPO concepts and process modeling language<br />

constructs or meta-model elements. The mapping rules consist <strong>of</strong> both one-to-one<br />

and one-to-many correspondences between the GPO concepts and modeling language<br />

constructs or meta-model elements. More complicated cases might occur, such as a<br />

correspondence between a GPO concept and a combination <strong>of</strong> several modeling constructs<br />

or meta-model elements. To define mapping rules <strong>for</strong> different cases, we categorize<br />

three types <strong>of</strong> modeling constructs — AtomicConstruct, EnumeratedConstruct<br />

and ComposedConstruct. Each single modeling construct is an AtomicConstruct, an<br />

EnumeratedConstuct is a list <strong>of</strong> several AtomicConstructs, and a ComposedConstruct<br />

is composed <strong>of</strong> several AtomicConstructs.<br />

Mapping Rules:<br />

• One-to-one mapping: a GPO concept is referred by an AtomicConstruct (e.g.<br />

GPO:Activity) is mapped to EEML:Task);<br />

• One-to-many mapping: a GPO concept can be referred by several modeling<br />

language constructs respectively which are enumerated in an EnumeratedConstruct<br />

(e.g. GPO:Artifact) can be mapped to EEML:In<strong>for</strong>mation Object or<br />

EEML:Material Object);<br />

• One-to-combination mapping: a GPO concept is referred by a combination <strong>of</strong><br />

those modeling language constructs in a ComposedConstruct (e.g. GPO:WorkflowPattern<br />

is mapped to a combination <strong>of</strong> EEML:Flow and EEML:Decision Point).<br />

Different technologies can be employed to represent the mapping rules, such as<br />

XML, RDF/RDFS or OWL. An OWL representation is exemplified below. A namespace<br />

metaAnno is used to encode meta-model annotation in these three mapping cases:<br />

<br />

<br />

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!