XBRL, UML and Databases: State of art XIII European Banking Supervisors XBRL Workshop 24th - 25th November 200, Luxembourg Ignacio Santos & Elena Castro LABDA Group Carlos III University of Madrid
Summary Summary Introduction Multidimensional Data Model. Proposal.of Automation Conclusions Introduction. Multidimensional Data Model. Automation. Conclusions. 2
Summary Introduction Multidimensional Data Model. Proposal of Automization. Conclusions XML and Data Warehouse (DW) applications. extensible Business Reporting Language (XBRL), based on XML. XBRL represents business information, and it is multidimensional. The target is a "Data Warehouse". The objective is to analyze the semantics of taxonomies and instances, and then map this data model to the Multidimensional Data Model (Conceptual Model). 3
Summary Summary Introduction Multidimensional Data Model. Proposal of Automation. Conclusions Introduction. Multidimensional Data Model. Proposal of Automation. Conclusions. 4
0... Definition Label 0... Reference 0..* Dimension Document Instance XBRL Schema Formula 0..* 0..* 0... Presentation Rendering Calculation Figure.- UML design of XBRL Schemas and linkbases (DTS). 5
0..* Primary Item 0 * 0..* All/notAll Hypercube 0 * Typed dimension 0 * Explicit dimension 0.. Domain 0... Domain Default 0....*...* Member...* 0..* Figure 2.- Design the XDT model with UML. 6
P-FINREP (CEBS) Xproslb-types (BE) Es-be-p-FINREP (BE) Es-b-p-FINREP-rol (BE) Es-be-d-FINREP- -distribucion Es-be-FINREP-IS- BalanceSectorial Consolidado (BE) Es-be-t-FINREP-IS- BalanceSectorial Consolidado (BE) Figure 3.- Simplified UML diagram of the taxonomies of the 660 report. 7
Ifrs-gp-2006-08-5-Lab.xml Ifrs-gp-2006-08-5-ref.xml ifrs-gptyp-2006-08-5.xsd xpreslbtypel-es. xsd ifrs-gp- 2006-08-5.xsd xpreslbtypelabeles.xml xbrl- Es-beinstance- FINREPxbrl-linkbase-2003 2-3.xsd 2003-2- rol.xsd 3..xsd Es-be-t-FINREP-IS- BalanceSectorilal Consolidado.xml xbrldt- 2005.xsd P-FINREP-2008-0-0.xsd es-be-p- FINREP. xsd Es-be-p-FINREP- BalanceSectorialConsolidado.xsd Ref-2004-08-0.xsd P-FINREP- 2008-0- 0-references.xml P-FINREP-2008-0-0-Label.xml P-FINREP-2008-0- 0-references.xml Es-be-t-FINREP-IS-BalanceSectorialConsolidado-presentation.xml restatedlabel.xsd Es-be-p-FINREP.IS.BalanceSectorial Consolidado-presentation.xml Es-be-p-FINREP.IS.BalanceSectorial Consolidado-definition.xml Es-be-p-FINREP.IS.BalanceSectorial Consolidado-Label.xml Es-be-d-FINREP-distribution-Presentation.xml Es-be-d-FINREP-distributionl-definicion.xml Es-be-d-FINREP-distribution-Label.xml Es-be-t-FINREP-IS-BalanceSectorilalConsolidado-definition.xml Es-be-t-FINREP-IS-BalanceSectorilalConsolidado-Label.xml Es-be-t-FINREP-IS-BalanceSectorilalConsolidado-reference.xml Es-be-d-FINREPdistribution.xml Figure 4.- UML Complete model design of the 660 report taxonomies. 8
Summary Summary Introduction Multidimensional Data Model. Proposal of Automation. Conclusions Introduction. Multidimensional Data Model. Proposal of Automation. Conclusions. 9
Fact Schema Dimension Fact attributes or measures Attribute of dimension facts Figure 5.- View of Dimensional table with Xwand 0f Fujitsu 0
Distribution Grupo Consolidable.500 --- --- Otras entidades 2.500 --- --- Entidades de Seguro 2.000 --- --- Grupo Consolidable de Entidades de Crédito 36 --- --- Total 6.36 25.680 4.366 --------- Activo Caja de depósitos en bancos centrales Cartera De Negociación Depósitos en entidades de Crédito ------- Time 30-9-2008 Facts attribute Figure 6.- Dimensional graphic of the example 660 report («Balance Público Consolidado»).
DISTRIBUTION 660 report (Fact) Date Entity (Bamk or Entity Financial) (Fact attributes) «Activo caja de depósitos En bancos centrales» «Cartera de negociación» - - - - - - - - Methods Figure 7.- Multidimensional Data Model of the 660 report 2
Summary Summary Introduction Multidimensional Data Model. Proposal of Automation. Conclusions Introduction. Multidimensional Data Model. Proposal of Automation. Conclusions. 3
Metametamodels Multidimensional Transformations Logical Model Transformations XBRL 2. Dimen sions.0 Formula.0 MOLAP MOLAP PMT MDBMS Taxonomy Transfor mations Multidimensional Conceptual Model ROLAP ROLAP PRT RDBMS HOLAP HOLAP PHT HDBMS Universe of the Discurse Conceptual Model Logical Model Physical Model CIM PIM PSM Figue 8.-Global transformation of the XBRL metamodel. 4
Transformation from Conceptual Model to Logical Model MOLAP Transformation from Logical Model to Physical Model MOLAP Start Transformation from Taxonomies (UD) to Multidimensional Conceptual Model Transformation from Conceptual Model to Logical Model ROLAP Transformation from Logical Model to Physical Model ROLAP End Transformation from Conceptual Model to Logical Model HOLAP Transformation from Logical Model to Physical Model HOLAP Figue 9.- Activity Diagram of the transformation of XBRL Data Model to Multidimensional Data Modeling 5
Summary Summary Introduction Multidimensional Data Model. Proposal of Automation. Conclusions Introduction. Multidimensional Data Model. Proposal of Automation. Conclusions. 6
Build an abstract data model and analyze anomalies. Automation Process. Performance in each of the transformations. 7
XBRL UML and Databases: State of art Ignacio Santos, ignacio.santos@bde.es Elena Castro, ecastro@inf.uc3m.es LABDA Group Carlos III University of Madrid