Xbrl flat table mapping system and method
AssigneeXBRL Cloud, Inc.
InventorsCliff Binstock, Brian Milnes
Life of this patent
Estimating the term…
Abstract
XBRL data may be automatically mapped back and forth between an XBRL instance an set of automatically generated flat tables, where each table represents the projection of a single hypercube.
Claims19
A computer-implemented method for mapping eXtensible Business Reporting Language (“XBRL”) data to a flat table, the method comprising:
- obtaining, by the computer, an XBRL linkbase describing relationships among a plurality of XBRL concepts;
- identifying, by the computer, an XBRL hypercube to which at least some of said plurality of XBRL concepts are attached as XBRL measures;
- identifying, by the computer, a ubiquitous dimension-like XBRL element associated with said XBRL hypercube and a set of one or more non-ubiquitous dimension-like XBRL elements defined in said XBRL hypercube, said ubiquitous dimension-like XBRL element being ubiquitous among XBRL-structured data;
- initializing, by the computer, a tabular data structure including a value column for storing facts, a concept column for storing fact-associated concepts, a ubiquitous-dimension column, and one or more non-ubiquitous-dimension columns;
- generating, by the computer, a data map mapping said XBRL measures of said XBRL hypercube to said concept column, mapping said ubiquitous dimension-like XBRL element of said XBRL hypercube to said ubiquitous-dimension column, and respectively mapping said set of one or more non-ubiquitous dimension-like XBRL elements of said XBRL hypercube to said one or more non-ubiquitous-dimension columns;
- and
- storing said data map and said tabular data structure.
A computer-implemented method for mapping eXtensible Business Reporting Language (“XBRL”) data to a flat table, the method comprising:
- obtaining, by the computer, an XBRL linkbase describing relationships among a plurality of XBRL concepts;
- identifying an XBRL hypercube to which at least some of said plurality of XBRL concepts are attached as XBRL measures, said XBRL hypercube being associated with a ubiquitous dimension-like XBRL element that is ubiquitous among XBRL-structured data, said said XBRL hypercube defining a set of one or more non-ubiquitous dimension-like XBRL elements;
- initializing a tabular data structure including a value column for storing facts, a concept column for storing fact-associated concepts, a ubiquitous-dimension column, and one or more non-ubiquitous-dimension columns;
- obtaining, by the computer, a data map mapping said XBRL measures of said XBRL hypercube to said concept column, mapping said ubiquitous dimension-like XBRL element of said XBRL hypercube to said ubiquitous-dimension column, and respectively mapping said set of one or more non-ubiquitous dimension-like XBRL elements of said XBRL hypercube to said one or more non-ubiquitous-dimension columns;
- obtaining XBRL instance data comprising a plurality of facts and associated metadata;
- using said data map, selecting from said XBRL instance data a plurality of hypercube-attached facts that are respectively associated with any one of said plurality of XBRL measures and that are explicitly or implicitly associated with exactly said set of one or more non-ubiquitous dimension-like XBRL elements;
- using said data map, populating said tabular data structure with a plurality of rows corresponding respectively to said plurality of hypercube-attached facts;
- and
- providing said populated tabular data structure for display to a user.
A computer-implemented method for mapping a tabular data structure to an eXtensible Business Reporting Language (“XBRL”) hypercube, the method comprising:
- obtaining, by the computer, a tabular data structure comprising a plurality of rows, each row having a fact value corresponding to a value column, a concept value corresponding to a concept column, a plurality of ubiquitous-dimension values corresponding to a plurality of ubiquitous-dimension columns, and a plurality of non-ubiquitous-dimension values corresponding to a plurality of non-ubiquitous-dimension columns;
- obtaining, by the computer, a data map respectively mapping a plurality of concept values to a plurality of XBRL measures, respectively mapping said plurality of ubiquitous-dimension columns to a plurality of ubiquitous dimension-like XBRL elements, and respectively mapping said plurality of non-ubiquitous-dimension columns to a plurality of non-ubiquitous dimension-like XBRL elements;
- declaring, by the computer, an XBRL instance document and an XBRL hypercube corresponding to said tabular data structure;
- identifying a plurality of semantically unique rows of said plurality of rows;
- and
- for each of said plurality of semantically unique rows, the computer:
- determining an XBRL context that maps to a given combination of ubiquitous-dimension values of a given row;
- adding to said XBRL instance document a new measure:fact pair corresponding to a given concept value and a given fact value of said given row;
- associating said new measure:fact pair in said said XBRL instance document with said determined XBRL context;
- and
- mapping said plurality of ubiquitous-dimension values of the given row to said plurality of ubiquitous dimension-like XBRL elements associated with said new measure:fact pair in said XBRL instance document.
Dependencies are inferred from the claim text.