An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry

I‐Chen Wu, Sung-Huai HsiehProceedings of the ... ISARC 2002

TL;DR

This paper proposes a straightforward method to map construction project data from UML models to XML schemas and then to relational databases (RDBs). This approach aims to standardize and simplify information sharing across different systems in the construction industry, a field notorious for its data fragmentation.

What Problem Does This Paper Address?

The construction industry generates vast amounts of data throughout a project's lifecycle. Sharing this information among various stakeholders (architects, engineers, contractors, etc.) is crucial but often hindered by the fact that different systems use disparate data models. Directly mapping these models is complex and time-consuming. The paper addresses this by proposing a standardized, multi-step mapping process: from UML (a common object-oriented modeling language) to XML Schema (a standard for data exchange) and finally to RDB schemas (the prevalent choice for data management).

Methods

The authors introduce a three-stage mapping process:

  1. UML to XML Schema: This leverages the XMI (XML Metadata Interchange) specification, with a slight extension. UML classes are mapped to XML elements, and UML attributes are mapped to either XML attributes or child elements. A novel aspect is the use of a special "relation" attribute to flag delegation/dependency and aggregation relationships, which XML Schema doesn't directly support. Naming conventions for XML elements are also defined.
  2. XML Schema to RDB Schema: This involves a set of consistent rules for mapping XML elements and their relationships to relational database tables.
  3. XML elements with attributes, content, or mixed content are mapped to separate RDB tables.
  4. Attributes of an XML element are mapped to columns in the corresponding RDB table.
  5. Delegation/dependency relationships between XML elements are mapped to separate RDB tables linked by primary and foreign keys.
  6. Aggregation relationships are mapped by uniting the attributes of the parent and child XML elements into a single RDB table.
  7. Schema2RDB Tool: A Java-based tool is developed to automate the generation of RDB schemas from XML Schemas based on the defined mapping rules. It parses XML Schemas, determines table and column names, and generates SQL statements for database creation.

Datasets

Not discussed in the paper. The paper focuses on a methodology and a tool, rather than specific datasets for training or evaluation.

Key Insights and Ideas

  • Bridging the Gap: The paper effectively bridges the gap between conceptual object-oriented models (UML), data exchange standards (XML), and data storage systems (RDBs), providing a unified pathway for data management.
  • Handling Object-Oriented Concepts in Relational Models: The proposed method for mapping delegation/dependency and aggregation relationships using primary/foreign keys and combined tables, respectively, is a practical approach to represent object-oriented structures in a relational context.
  • The "relation" Attribute: Introducing a custom attribute to flag object relationships in XML Schema is a clever workaround for XML Schema's limitations in expressing complex object-oriented semantics, which is crucial for accurate RDB mapping.
  • Automation is Key: The development of the Schema2RDB tool highlights the importance of automation in making such mapping processes practical and efficient for industry adoption.

Key Results

The paper presents a methodology and a tool that have been "successfully tested by several verification examples." While these examples are not described as sophisticated, the authors state that the "effectiveness of Schema2RDB in mapping XML Schema to RDB table schema has been observed." The primary result is the proposed framework and the functional tool that automates RDB schema generation from XML Schemas.

Limitations and Future Work

  • Limited Sophistication of Examples: The authors acknowledge that the verification examples used were not highly sophisticated, implying that the tool's performance on more complex, real-world scenarios might require further validation.
  • Completeness of Transformation: The abstract mentions that "most of these tools are still incapable of making a complete transformation," suggesting that while their approach is effective, there might be edge cases or highly complex structures that are challenging to map completely.
  • Future Work: The paper implicitly suggests that further testing and refinement of the tool and mapping rules with more complex construction project data would be beneficial. The focus on "simple and easy-to-implement" rules suggests a desire for broad applicability, which might be extended to handle more intricate scenarios.

Summary updated

BibTeX
@inproceedings{wu2002uml,
  author = {I‐Chen Wu and Sung-Huai Hsieh},
  title = {{An UML-XML-RDB Model Mapping Solution for Facilitating Information Standardization and Sharing in Construction Industry}},
  booktitle = {Proceedings of the ... ISARC},
  year = {2002},
  doi = {10.22260/isarc2002/0050},
}

Loading related content...

Figure