Semantic Annotation for Process Models: - Department of Computer ...
Semantic Annotation for Process Models: - Department of Computer ...
Semantic Annotation for Process Models: - Department of Computer ...
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
148 CHAPTER 9. VALIDATION OF APPLICABILITY<br />
Table 9.2: SWRL queries and rules <strong>for</strong> RE2<br />
RE2 Rule Name SWRL <strong>for</strong>mulation<br />
QRule-Activity-sameas Activity(?x) ∧ same_as(?x, ?y) → query : select?x, ?y ∧ query :<br />
RE2.1<br />
orderBy(?y)<br />
QRule-Activity-kind<strong>of</strong> Activity(?x) ∧ kind_o f(?x, ?y) → query : select(?x, ?y) ∧ query :<br />
orderBy(?x)<br />
QRule-Activity-phase<strong>of</strong> Activity(?x) ∧ phase_o f(?x, ?y) → qurey : select(?x, ?y) ∧ query :<br />
orderBy(?x)<br />
QRule-Activity-Inputmappedto<br />
Activity(?x) ∧ has_ Input(?x, ?y) ∧ mapped_to(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
RE2.2 QRule-Activity-Outputmappedto<br />
Activity(?x) ∧ has_Output(?x, ?y) ∧ mapped_to(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasArtifact-sameas<br />
Activity(?x) ∧ has_ Artif act(?x, ?y) ∧ same_as(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasArtifact-kind<strong>of</strong><br />
Activity(?x) ∧ has_ Arti f act(?x, ?y) ∧ kind_o f(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasArtifact-part<strong>of</strong><br />
Activity(?x) ∧ has_Arti f act(?x, ?y) ∧ part_o f(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasActor-sameas<br />
Activity(?x) ∧ has_ Actor − role(?x, ?y) ∧ same_as(?y, ?z) → query :<br />
RE2.3<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasActor-kind<strong>of</strong><br />
Activity(?x) ∧ has_ Actor − role(?x, ?y) ∧ kind_o f(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
QRule-ActivityhasActor-member<strong>of</strong><br />
Activity(?x) ∧ has_Actor − role(?x, ?y) ∧ member_o f(?y, ?z) → query :<br />
select(?x, ?y, ?z) ∧ query : orderBy(?z)<br />
RE2.4<br />
QRule-ActivityachievesHardGoal<br />
orderBy(?y)<br />
Activity(?x) ∧ achieves(?x, ?y) → query : select(?x, ?y) ∧ query :<br />
QRule-ActivitypositivelysatisfiesS<strong>of</strong>tGoal<br />
Activity(?x) ∧ positively_satis f ies(?x, ?y) → query : select(?x, ?y) ∧<br />
query : orderBy(?y)<br />
QRule-ActivitynegativelysatisfiesS<strong>of</strong>tGoal<br />
Activity(?x) ∧ negatively_satis f ies(?x, ?y) → query : select(?x, ?y) ∧<br />
query :<br />
orderBy(?y)<br />
Activity-subActivity-hasArtifact and IRule-Activity-subActivity-hasActor<br />
are used to introduce the implicit annotation <strong>of</strong> has_Artifact and has_hasActor-role<br />
<strong>for</strong> the super-Activity. The effects <strong>of</strong> goals from the sub-Activities could be transferred<br />
to the super-Activities but it is not necessary <strong>for</strong> all cases. RE3.5 is there<strong>for</strong>e <strong>for</strong>malized<br />
as SWRL queries not inference rules by only listing the possible goal annotations<br />
transferred from the sub-Activities.<br />
RE3.6 (Check the Precondition/Postcondition <strong>of</strong> Activities) is <strong>for</strong>malized<br />
into QRule-Activity-hassamePrecondition and QRule-ActivityhassamePostcondition.<br />
It attempts to find out the redundant Activities with<br />
the same conditions or the workflow patterns with the branches divided from the<br />
conditions. Besides, <strong>for</strong> RE3.7 (Check the in<strong>for</strong>mation flow from the Output to the<br />
Input) the in<strong>for</strong>mation flow (/output-input flow) can be identified through comparing<br />
the annotated Input and Output in QRule-Activity-hasOuput-mappedtosameonto-Activity-hasInput.<br />
If an output has an ontology reference which is also<br />
referenced by an input, there might be an in<strong>for</strong>mation flow between the output and<br />
the input.<br />
9.2.4 Formalizing RE4 - Knowledge discovery requirements<br />
RE4 is related to G4 (The annotation should be helpful in the semantic reconciliation <strong>of</strong><br />
models to facilitate reuse and integration <strong>of</strong> models.). This requirement is <strong>for</strong> analyzing<br />
the potential semantic relations between different models. However, SWRL rules can<br />
only be applied in one ontology file, such as the SWRL <strong>for</strong>mulations <strong>of</strong> RE1, RE2 and