Formal Validation of Data Point Models, -...

18
LABDA Group Carlos III University of Madrid Formal Validation of Data Point Models XBRL week in Brussels, Eurofiling Workshop November 26 th , 2014 . Banque Nationale de Belgique/Belgische National Bank, Brussels, Belgium. Ignacio Santos & Abel Nieto-Cano

Transcript of Formal Validation of Data Point Models, -...

Page 1: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

LABDA Group – Carlos III University of Madrid

Formal Validation of Data

Point Models

XBRL week in Brussels, Eurofiling Workshop

November 26th, 2014 .

Banque Nationale de Belgique/Belgische National Bank, Brussels,

Belgium.

Ignacio Santos & Abel Nieto-Cano

Page 2: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

2

Summary

1. Summary

2. Introduction

3. Validation

4. Proof of concept

5. Set of validation tests

6. Conclusion and future work

7. References

8. Questions

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 3: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

3

Introduction I

The Data Point metamodel consists of:

Sets of necessary Data Points or facts in the European Supervisory

reports.

Definitions and rules of expert users (Supervisor/Regulators).

These reports have semantic meaning.

Used terms: Concept, Data Point Model (DPM), Dimension, Domain,

Family, item, (Domain) member, Metric, Namespace, Owner, Public

elements, Table Group, DateCube, module and Hypercube

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 4: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

4

Introduction II

Star model of the DPM using a ROLAP tool

Dimension Domain member

Relation Dimension/Domain member

Context Dimension Member Pair

Context

Data Point

Base Dimension

Taxonomy

Framework

* *

*

*

*

**

*

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 5: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

5

Proof of concept III

• The validation is element to element.

Correct EBA DPM

Error report

Data report

Validation process

EBA DPM

Structure of the proof.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 6: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

6

Set of validation tests I

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Structure of validation in the Relational Model.

Page 7: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

7

Set of validation tests II

• Insert two duplicate conceptsSummary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

• Insert ID Dimension to null.

• Insert a domain-member without inserted domain.

Page 8: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

8

Set of validation tests III

Domain1 ={C1, C2, C3, C4, C5, C6}Dimension1, Dimension2 Є Domain1

Dimension1 Dimension2 Level

+

C1

C2 C3 C3

C1

C4

C4

C5 C6 C6

1

2

3

=

=

<

+

+ +

+

> >

Hierarchy1 Hierarchy2Hierarchy → Dimension

Hierarchy validation

+

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 9: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

9

Set of validation tests IV

• Hierarchy: A son with its hierarchy has a

father with the same hierarchy.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

• …

Page 10: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

10

Introduction III

<<Metaclass>>PublicElement

- Code [1]- Label [2]- creationDate [1]- ModificationDate [0,1]

<<Metaclass>>DataPointModel

Owner [1]

<<Metaclass>>DictionaryElement

- ValidFrom[0,1]- ValidTo [0,1]

<<metaclas>>Framework

<<metaclass>>Module

<<metaclass>>

Taxonomy

<<metaclass>>DefinedMember

<<metaclass>>NonDefinedMember

<<metaclass>>NonEnumerableDimension

<<metaclass>>EnumerableDimension

<<metaclass>>Member

<<metaclass>>Domain

<<metaclass>>Dimension

<<metaclass>>Family

- dataType [1]- IsDefault [0,1]

<<metaclass>>DimensionedElement

- dataType [1]- periodType [1]

Data Point Model: Set of artefacts in UML.

1..*

1..* 1..*

- Version [1]

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 11: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

11

Validation I

• The main objective of this validation is to ensure the ability of the

DPM to be used and to accomplish the design objectives.

• The validation of conceptual models at early phases of their

development can help correct faults in the design at a point where

they may still be corrected with relative ease.

• From the templates in the spreadsheets are obtained: data types,

domains, concepts, primary items, dimensions, etc.

• Each element type is inserted in the structural artefacts and

validated.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 12: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

12

Validation II

Structural DPM

Errors in the model

Star ModelDPM

Diagram of validation

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 13: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

13

Proof of Concept I

• This proof uses the framework release 09/2013 (applicable as of March 2014).

• DPM data base 2.0.

• This version has been chosen, because it is not stable enough.

• From this version, in Access, the constructors are obtained.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 14: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

14

Proof of concept II

Part of the EBA DPM

Summary

Introduction

Validation

Proof of concept

Set of validation

tests

Conclusion and

future work

References

Questions

Page 15: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

15

Conclusion and future Work

• It is necessary to validate the rest of constructors as: Tables, Tablegroup, etc.

• The target is to produce well-built metadata for semantic economic/financial reports.

• Structural validation.

• Validation with experts users in order that the validation can be semantically complete.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 16: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

16

References

• Declerck T., Heince K., Hommes R., Santos I. and Weber A., 2013. Improving transparency in financial and business reporting-Harmonisation topic. CEN Workshop XBRL.

• Openfiling/Academy.

• Gogolla M., Büttner F. and Richters M., 2007. USE: A UML-Based Specification Environment for validation UML an OCL. Science of Computer Programming 69:27-34.

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 17: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

17

Questions

Summary

Introduction

Validation

Proof of concept

Set of validation tests

Conclusion and future

work

References

Questions

Page 18: Formal Validation of Data Point Models, - Eurofilingeurofiling.info/201411/presentations/20141126FormalValidationData… · Formal Validation of Data Point Models Ignacio Santos,

LABDA Group – Carlos III University of Madrid

Formal Validation of Data

Point Models

Ignacio Santos, [email protected]

Abel Nieto-Cano, [email protected]

In this work have collaborated the Doctors at Carlos III University:

Elena Castro, Dolores Cuadra and Jarith Al-Jumaily