ontology assisted systems engineering process application ...€¦ · “semantic” knowledge must...

34
Ontology Assisted Systems Engineering Process Application to Requirements Engineering Jose Fuentes – The Reuse Company Luis Alonso – The Reuse Company Anabel Fraga – Universidad Carlos III de Madrid Juan Llorens – Universidad Carlos III de Madrid CSD&M’14 Paris, 12-14 November 2014

Upload: others

Post on 11-Oct-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

Ontology Assisted Systems Engineering Process

Application to Requirements Engineering

Jose Fuentes – The Reuse Company

Luis Alonso – The Reuse Company

Anabel Fraga – Universidad Carlos III de Madrid

Juan Llorens – Universidad Carlos III de Madrid

CSD&M’14

Paris, 12-14 November 2014

Page 2: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

2 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Agenda

Systems Engineering and Requirements Engineering: current situation

What can we do and when should we do it?

KCSE – Knowledge Centric Systems Engineering

Applications of KCSE to the Requirements Engineering process:

Requirements quality improvement

Requirements reuse

Requirements authoring

Page 3: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

3 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Systems Engineering and

Requirements Engineering:

Current situation

Page 4: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

4 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Successful projects

Challenged; 44%

Failed; 24%

Succeeded ; 32%

Chaos Report, 2009

Page 5: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

5 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements quality: Successful projects

Scope

Time

Quality

Money

Page 6: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

6 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality: source of defects

Project Success Factors % of Responses 1. User Involvement 15.9%

2. Executive Management Support 13.9%

3. Clear Statement of Requirements 13.0%

4. Proper Planning 9.6%

5. Realistic Expectations 8.2%

6. Smaller Project Milestones 7.7%

7. Competent Staff 7.2%

8. Ownership 5.3%

9. Clear Vision & Objectives 2.9%

10. Hard-Working, Focused Staff 2.4%

Other 13.9%

+40% directly related with

requirements definition and

management

15.9%

13.0%

8.2 %

2.9 %

Based on requirements

(Source: CHAOS Report, 2004)

Page 7: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

7 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality: source of defects

Study in the scope of RAMP project (Requirements Analysis and Modeling Process) in

partnership with Airbus Group, RENAULT, EDF, ADN, CORTIM, ENSTA, IRIT, PARIS 1

UNIVERSITY (end 2010 over 22 industrials in several domains worldwide: interviews and questionnaires)

Page 8: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

8 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality characteristics

IEEE Std. 830:

Correct

Unambiguous

Complete

Consistent

Ranked

Verifiable

Modifiable

Traceable

ESA PSS-05,

ISO/IEC 29148, others:

Pretty much the same characteristics

SMART:

Specific

Measurable

Aligned

Realistic

Time-limited

"I believe that this nation should commit itself

to achieving the goal, before this decade is out,

of landing a man on the Moon and returning

him safely to Earth"

Page 9: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

9 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality characteristics

Good characteristics to check but…

Can we measure how correct, how complete, how consistent, how

measurable… a specification is??

Are those characteristics SMART?

Are they specific?

Easy to measure? From a objective point of view?

Is it realistic to ask for those characteristics?

Page 10: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

10 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

What can we do and when should we do it?

Page 11: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

11 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Need of knowledge for better Systems Engineering

The “smarter” we need systems engineering to be, the more dependent on

“semantic” knowledge must it be.

0% 25% 50% 75% 100%

Semantics

Knowledge must be represented within a knowledge structure (KOS)

from informal representations to glossaries, to …., to ontologies

The proper selection of the knowledge structure allows different quality

enhancement opportunities to the organization

Page 12: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

12 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Why managing requirements quality?

Impact of not well defined requirements : “The sooner the better”

100%

90%

80%

70%

60%

50%

40%

30%

20%

10%

0%

ConceptDesign

Develop

Prod/Test

Operations

Through

Disposal

8% 15% 20%

100%

Committed Costs

70%

85%

95%

3-6X

20-100X

500-1000X

Time

50%

Cost to E

xtract D

efects

Cu

mu

lati

ve

Pe

rce

nta

ge

Lif

e C

yc

le C

os

t100%

90%

80%

70%

60%

50%

40%

30%

20%

10%

0%

ConceptDesign

Develop

Prod/Test

Operations

Through

Disposal

8% 15% 20%

100%

Committed Costs

70%

85%

95%

3-6X

20-100X

500-1000X

Time

50%

Cost to E

xtract D

efects

100%

90%

80%

70%

60%

50%

40%

30%

20%

10%

0%

ConceptDesign

Develop

Prod/Test

Operations

Through

Disposal

8% 15% 20%

100%

Committed Costs

70%

85%

95%

3-6X

20-100X

500-1000X

Time

50%

Cost to E

xtract D

efects

Cu

mu

lati

ve

Pe

rce

nta

ge

Lif

e C

yc

le C

os

t

INCOSE Handbook V 3.2: Figure 2-4 Committed Life Cycle Cost against Time

Page 13: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

13 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality: from things we know Requirements Authoring

Experiences showed that about 25% of system Requirements are critical and can

grammatically be improved

No Shall: 8 to 10%

Forbidden words: 10 to 15%

Subject, multiple objects, design: 15%

Incorrect grammar: 50%, …

Requirements error costs are high

Fixing requirements after delivery may cost up to 100 times more than fixing in the requirements

definition stage

Training, best practices and verifying requirements by reviewers can help to get SMART

requirements:

But the process is still costly and time consuming

Introducing quality analysis during the authoring activity:

Reduce the number of iterations between System Engineers and sub-contractors and

improve the verification activities

Page 14: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

14 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Engineering Process

It’s good to automate the verification process but…

… it’s even better to provide such a help to requirements authors

“Right the first time”

Requirements development

Stakeholders

Requirements

management

Elicitation

Analysis

Specification

Verification

Page 15: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

15 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

KCSE – Knowledge Centric Systems Engineering

Page 16: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

16 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

SKR

Ontologies Patterns

Semantic indexing

Key concepts of KCSE

Page 17: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

17 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Knowledge Organization in Systems Engineering

System Knowledge Repository (SKR)

Allows representing, storing, managing and

retrieving

Relevant knowledge around the System

and its domain (including the SE Process)

Digital content (Assets) regarding a

particular System

The SKR is formed by

SKB – System Knowledge Base

SAS – System Assets Store

“Managing” knowledge for “managing” requirements quality

Page 18: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

18 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

System Knowledge Base (SKB): Ontology for Requirements

Engineering Terminology layer: valid terms, forbidden terms, other NL terms, syntactic tagging

Thesaurus layer: relationships among concepts (hierarchies, associations, synonyms…) as well as semantic clusters and relationship types

Patterns layer: definition of requirements grammar

Formalization layer: Semantic formalization: from textual requirements to semantic graphs

Inference layer: for decision making (e.g. consistency, completeness)

Page 19: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

19 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

When <Event> <Component> Shall <Action> <Entity> Time

constraint

Requirement Pattern

Sequential restrictions structure with place-holders for the specific terms and

values that constitute a particular knowledge statement,

A pattern encapsulates the rules for writing and validating a knowledge statement

of a particular kind

Different types of restrictions: terms, syntactic tags, Clusters, sub-patterns

Other options:

Combined restrictions: syntactic + semantic

Optional slots

Repetitive groups

Propagation according to the ontology

Page 20: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

20 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Ontology : full example

A380 A350 System Operate Temperature Environment Pressure Controlled

Vocabulary

A380 A350

<<Aircraft>> “ Greater than (>) “

Operate Work

<<Operation>>

<<Aircraft>> Shall <Operation> <<Minimum>> At Environment Of [MEASUREMENT

UNIT] NUMBER

temperature “ Greater than (>) “

ºC -70

Patterns

Temperature Pressure

Environment

Temperature [-60ºC , +60ºC] “ Operation Range “

Inference

Rules NUMBER “ Lower than (<) “ -60º NUMBER “ Greater than (>) “ +60º ||

Thesaurus

Formalizations The aircraft shall be able to operate at a

minimum temperature of -70º C

If ºC ºC

“ Lower than (<) “

Shall

At a minimum

<<Minimum>>

At a minimum Of

Page 21: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

21 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

• Tokenization

• Normalization

• Disambiguation

• Pattern matching

• Formalization

Semantic indexing

The semantic indexing process:

Page 22: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

22 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Semantic indexing

Inputs and outputs:

SR0254: “When ice is detected, the car shall show an ice icon in less than 0,5 s”

Pattern matching:

When <Event> <Component> Shall <Action> Time

constraint

Page 23: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

23 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Semantic indexing

Inputs and outputs:

SR0254: “When ice is detected, the car shall show an ice icon in less than 0,5 s”

Pattern matching: • When When

• ice is detected <Event>

• the car <System>

• shall Shall

• show an icon ice <Action>

• in less than 0,5 s [Time constraint]

Page 24: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

24 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Semantic indexing

Inputs and outputs:

SR0254: “When ice is detected, the car shall show an ice icon in less than 0,5 s”

Semantic formalization:

<Event>

Ice Detect

<Action>

Display Ice icon

<Time restriction>

0,5 second

Page 25: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

25 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Applications

Page 26: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

26 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements Quality Metrics

Different initiatives to use a set of easy-to-measure metrics/rules instead

of the former characteristics:

INCOSE Guide for Writing Requirements

Describes a set of quality characteristics (based on ISO/IEC 29148):

Necessary

Implementation independent

Unambiguous

Complete

Singular

Feasible

Verifiable

Correct

Conforming

But also describes a number of more

precise rules

And the matching among characteristics

and easy-to-measure rules

Characteristic Cxx – Characteristic name

Rationale: xxxx

Strategy: xxxx

Rules that help establish this characteristic:

Rxx - /Section/Rule name

Avoid xxxx

Ryy - /Section/Rule name

Avoid yyy

Page 27: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

27 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

How “Smart” must we be in SE: “Requirements quality challenges”

Correctness

Consistency

Completeness

Redundant requirements Inconsistent units

Missing or redundant

requirements

Text content

metrics

Missing links

RMS

metrics

The C

CC

Appro

ach

Page 28: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

28 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements semantic retrieval

Based on patterns, every requirement can be formalized by means of semantic

graphs

Page 29: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

29 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements semantic retrieval

Semantic retrieval: for consistency

Do we have duplicated requirements in the specification?

Do we have conflicting requirements?

Traceability:

Help discovering related requirements that must be traced

Requirements reuse:

Looking for similar requirements in previous projects

Traceability and quality are other key factors for requirements reuse

Page 30: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

30 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Requirements authoring

From a requirements quality control process, to empower the author in

earlier stages: “Right the first time”

Tools for the authors:

Correctness quality assessment on the fly

Some kinds of requirements consistency on the fly:

Vocabulary and grammar consistency

Others: e.g. consistency in terms of measurement units

Completeness for individual requirements

Requirements traceability

Requirements reuse

Page 31: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

31 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Author assistance on the fly (typing requirement)

Requirements Authoring Tool

Correctness Quality Assessment

Valid examples to fulfill the selected patterns

Ontology terms to keep

fulfilling the selected patterns

Pattern selection

Page 32: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

32 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Semantically similar requirements on the fly

There’s a requirement in the DB very similar to the writing requirement

Requirements Authoring Tool

Page 33: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

33 December 2, 2014 © The REUSE Company – http://www.reusecompany.com

Ontology Assisted Systems Engineering Process

Inconsistent measurement units on the fly

There’s a requirement in the DB conflicting with the writing requirement

Conflictive point (kilometres VS inches)

Requirements Authoring Tool

Page 34: Ontology Assisted Systems Engineering Process Application ...€¦ · “semantic” knowledge must it be. 0% 100%25% 50% 75% Semantics Knowledge must be represented within a knowledge

http://www.reusecompany.com

@ReuseCompany

[email protected]

Margarita Salas, 16 2nd Floor

Innovation Center

LEGATEC Technology Park

28919 Leganés – Madrid

SPAIN – EU

Tel: (+34) 912 17 25 96

Fax: (+34) 916 80 98 26