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

150 CHAPTER 9. VALIDATION OF APPLICABILITY RE3. For RE4, we have to run the SWRL rules of RE1, RE2 and RE3 on different models respectively and analyze all query results manually. For example, implementing RE4.1 (Find out semantic relationships between the Activities of different process models) needs the SWRL rules QRule-Activity-sameas, QRule-Activity-kindof and QRule-Activity-phaseof for RE2.1 (Find the model fragments of process models that reference to SCOR Management Process). In this application, those rules are run on all the three models, and SCOR Management Processes in the domain ontology are used as the common references (which are specified in the variables in the SWRL rule formulations) to analyze the relationships between the query results of three models. The relationships usually applied in the analysis are ontological relations such as OWL Class subsumption, OWL Class equivalent, ObjectProperty part-whole relationship and etc. To implement RE4.5 (Find out possible integration points among different process models), we consider the following integration cases by running related SWRL queries and rules for the above requirements. • Case 1. Output and input. If the outputs in one model can be mapped to the inputs in another model, then it is possible to integrate the two models through the outputs and the inputs. QRule-Activity-Output-mappedto and QRule- Activity-Input-mappedto are run on three models respectively. The variable of ontology concept ?z can be replaced by a specific domain concept. • Case 2. Sequence of activities. If the Activities from the three annotation models that have references of the SCOR process elements, then a possible integration of those Activities from different models can be checked according to the sequence definition in SCOR ontology. SWRL queries for RE2.1 (Find the model fragments of process models that reference to SCOR Management Process) can be run in this case, and the variable ?y is specified with a SCOR process element in each query. • Case 3. Semantic relationship of activities. If two Activities from different models have certain semantic relationships with each other according to the domain annotation, then there is a possibility for two Activities to be integrated through the relationships. The SWRL queries for RE2.1 (Find the model fragments of process models that reference to SCOR Management Process) can also be used in this case, and the annotation relationships such as same_as, kind_of and phase_of should be concerned in the integration analysis. • Case 4. Ontological relationship of goals. If two Activities from different models are annotated with the goals and the goals are same or have certain ontological relationships, the possible integration of two models can be analyzed based on the goal annotation. Goal concept is specified to replace the ontology concept variable ?y in the queries QRule- Activity-achievesHardGoal, QRule-Activity-positivelysatisfiesSoftGoal and QRule-Activity-negativelysatisfiesSoftGoal. Through the ontological relationship has_parts or rdfs:subClassOf, the parts or the sub-class of this goal are also specified to replace ?y respectively in the queries. The SWRL queries and rules above are edited in Protégé-OWL SWRLTab (see Figure 9.1). They are attached to all the OWL files of the annotation models and will

9.3. APPLICABILITY VALIDATION IN AN INTEGRATION APPLICATION 151 be executed on those OWL instances for the evaluation. Section G.2 of Appendix G presents a SWRL file of above queries and rules . Figure 9.1: The SWRL rules in Protege-OWL SWRLTab 9.3 Applicability Validation in an Integration Application The SWRL formulations for requirements are applied in the exemplar studies to validate the applicability of the proposed annotation approach. The validation is described by an application for integrating delivery process from enterprise A and B. The procedure of the implementation of this application is also the procedure of the validation. The following steps have been undertaken for the integration application. In each step, some query questions are described by the application user, and the query questions are then inferred and answered by executing corresponding SWRL rules of the formalized requirements. Results are then analyzed and adjusted based on the semantic relationships of ontologies and models: • Step 1. Set application goals and get goal-relevant model fragments. Running QRule-Activity-achievesHardGoal for RE2.4 (Find the model fragments of process models that reference to SCOR Goal) to find process model fragments achieving the integration goals. Query Question: Find model fragments from the PM A , PM B1 and PM B2 which have impact on the goals "Delivery_is_Processed" and "Invoice_to_Customer_is_Processed". Query Inference: Sub-goals of "Delivery_is_Processed" and "Invoice_to_Customer_is_Processed" are inferred to expand the query, such as "Delivery_is_Scheduled", "Delivery_Terms_are_Generated",

9.3. APPLICABILITY VALIDATION IN AN INTEGRATION APPLICATION 151<br />

be executed on those OWL instances <strong>for</strong> the evaluation. Section G.2 <strong>of</strong> Appendix G<br />

presents a SWRL file <strong>of</strong> above queries and rules .<br />

Figure 9.1: The SWRL rules in Protege-OWL SWRLTab<br />

9.3 Applicability Validation in an Integration Application<br />

The SWRL <strong>for</strong>mulations <strong>for</strong> requirements are applied in the exemplar studies to validate<br />

the applicability <strong>of</strong> the proposed annotation approach. The validation is described by<br />

an application <strong>for</strong> integrating delivery process from enterprise A and B. The procedure<br />

<strong>of</strong> the implementation <strong>of</strong> this application is also the procedure <strong>of</strong> the validation.<br />

The following steps have been undertaken <strong>for</strong> the integration application. In each<br />

step, some query questions are described by the application user, and the query questions<br />

are then inferred and answered by executing corresponding SWRL rules <strong>of</strong> the<br />

<strong>for</strong>malized requirements. Results are then analyzed and adjusted based on the semantic<br />

relationships <strong>of</strong> ontologies and models:<br />

• Step 1. Set application goals and get goal-relevant model fragments.<br />

Running QRule-Activity-achievesHardGoal <strong>for</strong> RE2.4 (Find the model fragments<br />

<strong>of</strong> process models that reference to SCOR Goal) to find process model<br />

fragments achieving the integration goals.<br />

Query Question: Find model fragments from the PM A , PM B1 and<br />

PM B2 which have impact on the goals "Delivery_is_<strong>Process</strong>ed" and<br />

"Invoice_to_Customer_is_<strong>Process</strong>ed".<br />

Query Inference: Sub-goals <strong>of</strong> "Delivery_is_<strong>Process</strong>ed" and<br />

"Invoice_to_Customer_is_<strong>Process</strong>ed" are inferred to expand the query,<br />

such as "Delivery_is_Scheduled", "Delivery_Terms_are_Generated",

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

Saved successfully!

Ooh no, something went wrong!