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

88 CHAPTER 5. GOAL ANNOTATION • if the property targetRole (ar ′ ) of a g is related to an Actor-role (ar) involved in av: ∃(ar ′ )targeRole(g, ar ′ ) ∧ ar ′ = ar ⊃ hasActor − role(av, ar) (d) • if the targetConstraint (c ′ ) expressed in a g is involved in (involvedIn) pre- Condition (pre), postCondition (post) or Exception (e) of av: ∃(c ′ , pre, post, e)targetConstraint(g, c ′ ) ∧ (involvedIn(c ′ , pre) ⊃ hasPrecondition(av, pre) ∨ involvedIn(c ′ , post) ⊃ hasPostcondition(av, post) ∨ involvedIn(c ′ , e) ⊃ hasException(av, e)) (e) Therefore, (a) ≡ (b) ∨ (c) ∨ (d) ∨ (e) Those definitions denote how an activity might be associated with a goal by specifying the facts of an activity that might affect a goal. Checking above cases through matching algorithms can automatically provide a list of possible goal annotations. The decisions of the desired goal annotations are left to the annotators. We hereby call such a mechanism semi-automatic goal annotation. Definition 11. A goal ontology (G) comprises a set of hard goals G h and a set of soft goals G s . G = {G h , G s } The relations are further specified based on the context of the process models and the goal ontology. We define the relations as follows: Definition 12. Hard goals can be achieved by an activity or activities. I.e. the relation between an activity (av) and a hard goal (g h ) is achieves(av, g h ). Definition 13. Soft goals can be positively or negatively satisfied by an activity or activities. I.e. the relation between an activity (av) and a soft goal (g s ) is positively_satisfies(av, g s ) or negatively_satisfies(av, g s ). Since the activities in the process models are decomposable, the relation between goals and a composite activity could be inferred based on the relations between goals and component activities. Definition 14. If an activity (av) is a component of another activity (av ∆ ) in a process model/model fragment, av is the subactivity of av ∆ , i.e. subActivityOf(av, av ∆ ). av ∆ is a Composite Activity in that model. Usually the effects of hard goals achieved by a subActivity can contribute to its composite activity. That is, Definition 15. If av is the subactivity of av ∆ and av achieves g h , av ∆ achieves g h : (∀(av, g h )∃av ∆ )subActivityO f(av, av ∆ ) ∧ achieves(av, g h ) −→ achieves(av ∆ , g h )

5.4. PSAM WITH GOAL ANNOTATION 89 However, the effects of soft goals can not be simply passed in the same way as hard goals. To a composite activity, the contribution of a soft goal from a subactivity might be enhanced or reduced by other subactivities which positively or negatively satisfy the same soft goal. The contribution could be calculated if the effects of soft goals are quantified. This issue is only simply considered in our current work by simple contribution calculation rules. All effects of soft goals are regarded as the same. The contribution of a soft goal to a composite activity is determined by comparing the numbers of subactivities which positively satisfy and negatively satisfy the same soft goal. That is, Definition 16. Let a g s is positively satisfied by N subactivities, and is negatively satisfied by M subactivities in a composite activity av ′ . Consequently, • positively_satisfies (av ′ , g s ), if N > M • the effect of g s is counteracted for av ′ , if N = M • negatively_satisfies (av ′ , g s ), if N < M The relations between goals and activities defined in this section will be applied to build annotation links between the goal ontology and process models in the goal annotation. That is to say, the metadata schema of the goal annotation for process models is: ActivityID achieves|positively satisfies|negatively satisfies GoalID 5.4 PSAM with Goal Annotation With goal annotation in the semantic annotation framework, the PSAM includes the references of the goal ontology. PSAM = (AV, AR, AF, WP, I, O, Θ pre , Θ pos E, PD, PG), where PG is a subset of goal ontology (G). The annotated activity is also updated as follows and the complete PSAM can be represented in OWL (see Appendix G.1). Definition 17. AV i = (id, model_f ragment, name, alternative_name, has_Actor − role, has_Arti f act, has_Input, has_Output, is_in_Work f lowPattern_o f , has_Precondition, has_Postcondition, has_Exception, has_subActivity, same_as, di f f erent_f rom, kind_o f , superConcept_o f , phase_o f , compositionConcept_o f , instance_o f , achieves|positively_satis f ies|negatively_satis f ies)

5.4. PSAM WITH GOAL ANNOTATION 89<br />

However, the effects <strong>of</strong> s<strong>of</strong>t goals can not be simply passed in the same way as hard<br />

goals. To a composite activity, the contribution <strong>of</strong> a s<strong>of</strong>t goal from a subactivity might<br />

be enhanced or reduced by other subactivities which positively or negatively satisfy<br />

the same s<strong>of</strong>t goal. The contribution could be calculated if the effects <strong>of</strong> s<strong>of</strong>t goals<br />

are quantified. This issue is only simply considered in our current work by simple<br />

contribution calculation rules. All effects <strong>of</strong> s<strong>of</strong>t goals are regarded as the same.<br />

The contribution <strong>of</strong> a s<strong>of</strong>t goal to a composite activity is determined by comparing the<br />

numbers <strong>of</strong> subactivities which positively satisfy and negatively satisfy the same s<strong>of</strong>t<br />

goal. That is,<br />

Definition 16. Let a g s is positively satisfied by N subactivities, and is negatively<br />

satisfied by M subactivities in a composite activity av ′ . Consequently,<br />

• positively_satisfies (av ′ , g s ), if N > M<br />

• the effect <strong>of</strong> g s is counteracted <strong>for</strong> av ′ , if N = M<br />

• negatively_satisfies (av ′ , g s ), if N < M<br />

The relations between goals and activities defined in this section will be applied to<br />

build annotation links between the goal ontology and process models in the goal annotation.<br />

That is to say, the metadata schema <strong>of</strong> the goal annotation <strong>for</strong> process models is:<br />

ActivityID<br />

achieves|positively satisfies|negatively satisfies<br />

GoalID<br />

5.4 PSAM with Goal <strong>Annotation</strong><br />

With goal annotation in the semantic annotation framework, the PSAM includes the<br />

references <strong>of</strong> the goal ontology.<br />

PSAM = (AV, AR, AF, WP, I, O, Θ pre , Θ pos E, PD, PG), where PG is a subset <strong>of</strong> goal<br />

ontology (G).<br />

The annotated activity is also updated as follows and the complete PSAM can be<br />

represented in OWL (see Appendix G.1).<br />

Definition 17. AV i = (id, model_f ragment, name, alternative_name, has_Actor − role,<br />

has_Arti f act, has_Input, has_Output, is_in_Work f lowPattern_o f ,<br />

has_Precondition, has_Postcondition, has_Exception, has_subActivity, same_as,<br />

di f f erent_f rom, kind_o f , superConcept_o f , phase_o f , compositionConcept_o f ,<br />

instance_o f , achieves|positively_satis f ies|negatively_satis f ies)

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

Saved successfully!

Ooh no, something went wrong!