Docsity

Ontologies in Software Engineering: Definitions, Roles, Categorization, and Benefits, Exercises of Mathematics

Toggle sidebar
bg1
Integrating Cognition+Emotion+Autonomy
European Integrated Project IST-027819
6th Framework Programme - Cognitive Systems
Title
Ontology-based Software
Engineering
Engineering Support for Autonomous Systems
Author Julita Bermejo Alonso
Reference ASLab-ICEA-R-2006-016
Release 0.1 Draft
Date 2006-11-15
URL http://www.aslab.org/documents/ASLab-ICEA-2006-016.pdf
Clearance Consortium
Partners
University of Sk¨
ovde, SE
Universit´
e Pierre et Marie Curie, FR
Centre National de la Recherche Scientifique, IT
Consiglio Nazionale delle Ricerche, FR
University of Sheffield, UK
University of the West of England, UK
BAE Systems, UK
Cyberbotics Ltd., CH
Hungarian Academy of Sciences, HU
Universidad Polit´
ecnica de Madrid, ES
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b

Partial preview of the text

Download Ontologies in Software Engineering: Definitions, Roles, Categorization, and Benefits and more Exercises Mathematics in PDF only on Docsity!

Integrating Cognition+Emotion+Autonomy

European Integrated Project IST-

6th Framework Programme - Cognitive Systems

Title

Ontology-based Software

Engineering

Engineering Support for Autonomous Systems

Author Julita Bermejo Alonso

Reference ASLab-ICEA-R-2006-

Release 0.1 Draft

Date 2006-11-

URL http://www.aslab.org/documents/ASLab-ICEA-2006-016.pdf

Clearance Consortium

Partners

University of Sk ¨ovde, SE Universit ´e Pierre et Marie Curie, FR Centre National de la Recherche Scientifique, IT Consiglio Nazionale delle Ricerche, FR University of Sheffield, UK University of the West of England, UK BAE Systems, UK Cyberbotics Ltd., CH Hungarian Academy of Sciences, HU Universidad Polit ´ecnica de Madrid, ES

Revisions

Release Date Content Author 0.0 November 15, 2006 (^) Initial release. J.Bermejo

ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 5 of 43

List of Figures

  • 4.1 Categorization of usage of ontologies in Software Engineering
  • 7.1 The SWEBOK ontology project phases
  • 7.2 The SWEBOK ontology mapping
  • 7.3 Application Configuration
  • 7.4 Semantic Network of Modeling
    • Ontologies 7.5 Verification of Knowledge Based Systems by deploying Core
  • 7.6 Structure of the software maintenance projects ontology
  • 7.7 Part of the Software Quality Ontology
  • 7.8 Software Measurement Ontology
  • 7.9 Ontology for Software Metrics and Indicators
  • 7.10 Part of the Software Process Ontology
  • 7.11 Software Process Metal–Level Model
  • 7.12 Software Process Base Level Model
    • ologies and Endeavours 7.13 Architecture of Ontology for Software Development Method-
  • 7.14 Onto-ActRE Problem Domain Ontology
  • 7.15 EOSDE components
  • 7.16 MANTIS Components
  • 7.17 Ontology Modules for use cases supporting development
  • ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 7 of

Chapter 1

Introduction

Software development is more demanding nowadays as software applica- tions have become increasingly more complex. New procedures and tech- niques are sought to simplify the software engineering processes with the aim of shortening development time and costs by re–using components. The development of software systems is a complex activity which may imply the participation of people and machines (distributed or not). Therefore, differ- ent stakeholders, heterogeneity and new software features make software de- velopment a heavily knowledge–based process [Force, 2001]. To reduce this complexity, the use of ontologies might prove useful. Ontolo- gies allow for the definition of a common vocabulary and framework among users (either human or machines). Software development has benefited from this conceptual modeling, allowing a common understanding of the concepts involved in the software process. Ontologies also ease the integration issues that usually appear while developing software applications.

8 of 43 ASLab-ICEA-R-2006-016 v 0.1 Draft / Ontology-based Software Engineering / ICEA

main and the solution domain. Modeling approaches have evolved from co- existence of model and code to a model–only one, where models are used in software processes as discussion tools. In between, the model–centric ap- proach regards the models as code, if defined with enough detail. Transform- ation rules and patterns provide the tools to generate code from such models [Brown et al., 2005]. Domain–driven development is the development of software applications within a specific domain or application area [Hruby, 2005]. Also called Domain en- gineering, its goal is to identify, model and implement software models to be used in a particular application domain [Falbo et al., 2002]. Ontology–driven software development or engineering has been defined as an ap- proach that, based on ontologies, takes into account semantic constraints, adapting in a dynamic way to new constraints [Tanasescu, 2005]. It could be considered a particular case of model–driven software, where models are based on ontologies at different levels of abstraction.

10 of 43 ASLab-ICEA-R-2006-016 v 0.1 Draft / Ontology-based Software Engineering / ICEA

Chapter 3

Roles of Ontologies for Software

Development

Ontologies, for software design and development, can be used with the fol- lowing objectives [Ruiz and Hilera, 2006]:

  • Specification: ontologies are used to specify either the requirements and components definitions (informal use) or the system´s functionality.
  • Confidence: ontologies are used to check the system´s design.
  • Reusability: ontologies could be organized in modules to define do- mains, subdomains and their related tasks, which could be later reused and/or adapted to other problems.
  • Search: ontologies are used as information repositories.
  • Reliability: ontologies could be used in (semi)–automatic consistency checking.
  • Maintenance: ontologies improve documentation use and storage for system’s maintenance.
  • Knowledge acquisition: ontologies could be used as a guide for the knowledge acquisition process.

Within Software Engineering, two main roles for ontologies have been con- sidered [Hesse, 2005]:

  • Ontologies for the Software Engineering Process: the definition, re–use and integration of software components is aided by the use of ontolo- gies as the conceptual basis.
  • Ontologies for the Software Engineering Domain: the use of ontologies to describe the structure and terminology of the software engineering domain itself.

ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 11 of 43

  • At Run Time - As Architectural Artifacts: when ontologies are part of the sys- tem software architecture. - As (Information) Resources: when ontologies are used as re- source at run time by the system.

The categories in this taxonomy could be mapped to the two main roles defined beforehand (Sec. 3) :

Roles T axonomyCategories Ontologies for Software Engineering Domain Ontologies of Domain Ontologies for Software Engineering Process Ontologies as Software Artifacts

Table 4.1: Mapping of Roles and Taxonomy Categories

An additional categorization of ontologies for software engineering is provided in [Happel and Seedorf, 2006]. Two dimensions for comparison are considered: the role of ontologies (at run time vs. at development time) and the kind of knowledge (domain vs. infrastructure). Combining this two dimensions, four different areas are defined:

Figure 4.1: Categorization of usage of ontologies in Software Engineering

  • Ontology–driven development (ODD): ontologies are used at develop- ment time to describe the domain.

ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 13 of 43

  • Ontology–enabled development (OED): ontologies are used at devel- opment time to support developers with their activities.
  • Ontology–based architectures (OBA): ontologies are used at run time as part of the system architecture.
  • Ontology–enabled architectures (OEA): ontologies are used at run time to provide support to the users.

This categorization provides a similar viewpoint about the use of ontologies corresponding to the category “Ontologies as software artifacts” previously described. Both consider the same temporal dimension (at run time v.s at development time), as described in [Guarino, 1998]. Paying attention to the definitions (not the names) used in the categorization, the other dimension about kind of knowledge (infrastructure vs. software) is underlying in the subcategories considered by the taxonomy

14 of 43 ASLab-ICEA-R-2006-016 v 0.1 Draft / Ontology-based Software Engineering / ICEA

Chapter 6

Issues on Ontology–based Software

Process

Although ontologies are considered a useful element within software engin- eering activities, some issues should still be born in mind when developing ontology–based software development projects [Hesse, 2005]:

  • The ontology–based approach is adequate for those software develop- ment projects that belong to a set of projects within the same domain.
  • The ontology–based approach allow to extend the notion of reusability to the modeling phase, not only the usual implementation one. There- fore, ontologies could be considered reusable model components in the system.
  • Model–Driven Developments can benefit from the use of ontologies as model re–use mechanisms.
  • The ontology–based approach affects all the software development pro- cess phases, from requirement analysis and domain analysis to integra- tion, deployment and use of the developed software.
  • The ontology–based approach allow ontologies to be used to facilitate software development in the long term, as well as addressing interop- erability and re–use issues.

Furthermore, ontologies should exhibit some specific properties to facilitate their use within the software engineering community [Gonz´alez-P´erez and Henderson-Sellers

  • Completeness: to assure that all areas of software development are covered. It could be achieved by paying attention to the different activ- ities carried out by software development enterprises.
  • Unambiguity: to avoid misinterpretations. Ambiguity could be avoided by using both concise definitions of concepts and semi–formal models.
  • Intuitive: to specify concepts familiar to users’ domain.

16 of 43 ASLab-ICEA-R-2006-016 v 0.1 Draft / Ontology-based Software Engineering / ICEA

  • Genericity: to allow the ontology to be used in different contexts. It could be done by keeping the ontology as small as possible, to achieve maximum expressiveness while being minimal.
  • Extendability: to facilitate the addition of new concepts. It could be achieved by providing appropriate mechanisms defining how to extend the ontology.

ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 17 of 43

analyzed to specify the main activities to develop such ontology [Mendes and Abran, 2005b]. Three phases were finally defined: proto–ontology construction, internal validation cycle and finally, external validation and possible extension Fig. (7.1). The SWEBOK proto–ontology contains over 6,000 concepts and 1,200 facts or in- stances of concepts [Mendes and Abran, 2005a].

Figure 7.1: The SWEBOK ontology project phases

Another approach for an ontology based on the SWEBOK guide falls within the Onto–SWEBOK project [Sicilia et al., 2005], where essential software engineering concepts are mapped into OpenCyc (the open source version of Cyc (MISSING REF!))definitions. Such concepts encompasses the idea that a software engineering deals with artifacts created by agents as a result of activities guided by rules. As a result, some propositions for the general mapping have been proposed Fig. (7.2).

Figure 7.2: The SWEBOK ontology mapping

A summary of both approaches could be found in [Abran et al., 2006].

Ontology–Based Domain–Driven Design [Hruby, 2005]: the research focuses on the development of software applications for a specific domain, based on the use of ontologies. A method consisting of

ICEA / Ontology-based Software Engineering / ASLab-ICEA-R-2006-016v 0.1 Draft 19 of 43

four steps is proposed: (a) Determination of the domain: the first step is to determine the scope of the application. (b) Election of an ontology for the domain: this step requires either to choose an existing ontology or to develop one suitable for it. A metamodel can aid to develop a domain ontology. (c) Consideration of users requirements: this step considers the requirements for functionality that are not part of the onto- logy, as they are not needed in all applications belonging to the chosen domain. (d) Construction of the application model: this step implies con- figuring objects from ontological categories (metaclasses) with aspects (concepts) originated from specific user requirements. Hruby distinguishes clearly between domain ontology (which spe- cifies the structure of concepts to be applied to all systems in the domain, with the compromise of minimal possible conceptualiza- tion) and application functionality (which specifies the function- alities and user requirements which might differ from application to application, and cannot be fully considered at the time of on- tology creation), The former is addressed by using two dimen- sions. The first one, Object dimension, implemented as Ontolo- gical Categories, whose instantiation are the Application Objects. The second one, Aspect dimension, to reflect behavior by consid- ering Aspect Categories, whose instantiation produce Application Aspects.

Figure 7.3: Application Configuration

  • Specific

Software Requirements

Generic Requirement Analysis Method based on Ontologies (GRAMO) [Girardi et al., 2004]: it is an ontology–based technique for the spe-

20 of 43 ASLab-ICEA-R-2006-016 v 0.1 Draft / Ontology-based Software Engineering / ICEA