TECHNICAL JOURNAL VOL 20 NO. 3 (Paper 1-7)

Total Page:16

File Type:pdf, Size:1020Kb

TECHNICAL JOURNAL VOL 20 NO. 3 (Paper 1-7) Technical Journal, University of Engineering and Technology (UET) Taxila, Pakistan Vol. 20 No. III-2015 Data Mapping for Transformation from RDB Schema to RDF Schema K. R. Malik12, T. Ahmad , M. M. Iqbal3 1,2,3 Computer Science and Engineering Department, UET Lahore, Pakistan [email protected] Abstract-In this paper, we discussed the data mapping Semantic Web is a language to represent information on for transformation from relational database (RDB) the internet in the form of triplets; subject, predicate schema to resource description frame (RDF) Schema. and object [viii]. Which are used among resources During transformation process between these two mapped at hierarchal levels using graph based schemas, weaknesses like compatibility issues, update representations. Data types supported by XML play the query and complexity in relationships are generated. key role in transformation to work properly. Whereas, We proposed an approach to overcome these issues customized data types can also be prepared using XML particularly when data is transformed from RDB to based tags [ix]. This is another reason due to which RDF for semantic web applications. As, for evolving transformation made by different techniques and data keeping changes intact is hard and difficult to algorithm fails to support each other at their full level to sustain. Main focus of this study is to map up common support compatibility of data among systems. So, there features found in both data models of RDB and is a need to look into different capabilities of data types Semantic Web (SW) based schemas using either form supported by XML either by Document Type of XML as an intermediate which will help in Definition (DTD) or XMLS along with their improving transformation results. These data mappings limitations. can further help in gaining better compatibility options for data transformation. II. STATE OF THE ART Keywords-Data Transformation, Extensible Markup The bulk of data and information are found on the Language Schema (XMLS), Document Type Web is stored and retrieved using RDBs. Previous Definition (DTD), Resource Description Framework research shows that Semantic Web collaboration with Schema (RDFS), Relational Database Schema other domains extends its utilization beyond the Web (RDBS), Data Type Mapping [iii]. Many methods and tools were introduced to help by providing the ways to explore relational data for I. INTRODUCTION availability to Semantic Web based systems [x]. Yet, In Web applications, generally data is stored in the there exist problems in clearly gaining results with high form of RDB. The web is semi-structured and performance and compatibility [xi-xiii]. unorganized in a formal way [i]. When it comes to The standard which is known as XML document searching and getting in touch with resources like web provides tags for the web. Where semi-structured and pages, peoples, and other web contents like video, user defined, and predefine tags are stored. Though, the audio etc. search engines work as a tool for web. XML document is written either using XML schema or Despite of advances made to these search engines, size DTD [ix]. So, for transforming a relational schema into of web content beats technology advancements. To RDF schema, we have to do it partially as relational overcome this problem, the Web content representation schema into XML schema and then XML schema into is required to be translated into machine-processable RDF schema or relational into DTD and then DTD into form. To translate such information into machine RDF schema. After that, transforming it back into its understandable form Semantic Web (SW) has been original form of relational schema. introduced [ii]. The need of SW increases due to its Mapping can be done from RDB to RDF either by capability in providing improved methods and direct or indirect methods. Indirect methods like RDB intelligent data seeking mechanisms and became a big to RDF Mapping Language (R2RML) involves table evolution in the next generation of web [iii]. And to mapping from RDB to RDF without intermediate make this possible, old technologies are getting utilization of XML. Other indirect methods are about transformed into new ones. The EXtensible Markup transforming schema from RDB to RDF using XML. Language (XML) based documents are getting XML schema can be either in the DTD or XML [xi- enriched to map-up with Semantic Web [iv-vii]. xiii]. Which is focusing on indirect methods based Resource description framework (RDF) for the mapping. 99 Technical Journal, University of Engineering and Technology (UET) Taxila, Pakistan Vol. 20 No. III-2015 Different researchers have attempted different above mentioned problem situation is possible through approaches to fulfill the required outcome of reaching mapping of differences at schema level, enriching the to a next generation web that is the Semantic Web. DB contents on web based mapping results and There have been attempts made for transforming a identifying grey areas. database schema into the Document Type Definition (DTD) and then into Resource Description Framework III. PROPOSED WORK Schema (RDFS) either partially or completely. DTDs at the end of XML document for the web can be Transformation from one data model into another transformed and mapped into RDF schema. By looking comes with its limitations. In this field of study, first into tags available in the XML document to pick better look into mapping between different data models. Then suitable tags for the satisfying role as a class or property the process of transformation using DTD and XMLS is [v]. On the other hand, XML documents can be updated given. A control experiment presented to show that how to gain capability of being interpreted as RDF. It would transformation works and on the basis of that results are be better if the XML's original structure remains given. unchanged and transformation process better results A. Mapping and coverage of the developed technique [vi, xiv-xvi]. A tabular representation in Table I to show the In depth, the idea of resources linking among corresponding schema entity for the each concept of database, DTD and RDF is by using queries without Database. These entities are further used for proper changing context and meaning of web based data to transformation among RDB and semantic web. In form its semantic existence [xvii-xix]. These Table 1 each concept of a database is mapped with it approaches can be captured to get a single side one of the possible mapped solution in DTD, XML transformation approach. Other than these differences schema, RDFS. Table I shows how each entity of a the major one is that each resource in RDF is assigned a database can be stored in its corresponding mapped unique Uniform resource identifier (URI) for field and command of other technologies like DTD, identification. So, information on both of these XML and RDF. Furthermore, some of the cases are semantic based expressions is given a shape of triples discussed with the help of W3C standards for all of [xx]. these technologies after careful study. The Table I can This research can help to reduce complexity and play a crucial role in transforming from database to compatibility issues for the process of transformation. semantic web and back to the database. As complexity and compatibility issues arise due to database schemas and ontologies are evolving at a TABLE I constant speed to map with application and user SHOWING ALTERNATIVE SCHEMA ELEMENTS FOR requirements. Therefore, instead of mapping being EACH CASE OF RELATIONAL SCHEMA VALUE redefined from scratch it should evolve on top [xiii]. Relational XML Concepts DTD RDFS The update statement concerning RDF stores is still Schema Schema under progress and its semantics are not yet well Table Table_Name !ELEMENT Complex type Class defined, and uncertainty remains concerned about the Table_Name* element transformation of few SPARQL (SPARQL Protocol ATTLIST and RDF Query Language) Update statements. Only !ELEMENT Field Field_Name !ELEMENT Element Rdf: elementary (attribute-to-property & relation-to-class) Field_Name Property mappings have been studied up to now. The problem of Cardinality Field(>=0) !ELEMENT Restriction modifying relational data using SPARQL Update is the Field_Name* (Pattern) same as to view, update problem the classic database Cardinality Field(>0) !ELEMENT Restriction [xiii, xxi, xxii]. Field_Name+ (Pattern) It is thought that one cause for the delay in the Referencing Field !ELEMENT Simple type Domain recognition of the Semantic Web is the deficiency of Ref Key element Ref (Property) application and tools showing benefits of semantic web Field_Name* technology [xxv]. The success depends of large amount IDREF #REQUIRED of data concerning semantic web of these tools [xxiv]. Primary Key Field !ELEMENT Key Attribute Range Because relational databases are considered as highly Field_Name? Use=”required” used medium for storage of data on web. The solution ID was to automatic manage mass of data in SW form as #REQUIRED RDF. Composite key !ELEMENT Attribute Rdfs:sub It is studied that the transformation model from Second Key Use=”required” Property relational DB to RDF and storage mechanism of RDF Field_Name? Of stores in RDB. It is important to map existing relational ID #REQUIRED representation among relational schema, DTD, XML Data type Field PCDATA or Type Type schema, and RDFS [ix, xx, xxiii]. Proposed study of the CDATA 100 Technical Journal, University of Engineering and Technology (UET) Taxila, Pakistan Vol. 20 No. III-2015 In Table I concept of database covered are transformation, first let's look at the RDBS of tabulated, field, cardinality, referencing, data types and considered example of relational schema of the entity keys. The elements are the basic entity used for both named “Organization” shown in Fig. 2. There are four XML and DTD which are used for table and fields. tables Dependent, Employee, Manager and Each element can further contain a list of attributes Department.
Recommended publications
  • Data Mapping: Definition, Tools, and Techniques
    Data Mapping: Definition, Tools, and Techniques Enterprise data is getting more dispersed and voluminous by the day, and at the same time, it has become more important than ever for businesses to leverage data and transform it into actionable insights. However, enterprises today collect information from an array of data points, and they may not always speak the same language. To integrate this data and make sense of it, data mapping is used which is the process of establishing relationships between separate data models. What is Data Mapping? In simple words, data mapping is the process of mapping data fields from a source file to their related target fields. For example, in Figure 1, ‘Name,’ ‘Email,’ and ‘Phone’ fields from an Excel source are mapped to the relevant fields in a Delimited file, which is our destination. Data mapping tasks vary in complexity, depending on the hierarchy of the data being mapped, as well as the disparity between the structure of the source and the target. Every business application, whether on-premise or cloud, uses metadata to explain the data fields and attributes that constitute the data, as well as semantic rules that govern how data is stored within that application or repository. For example, Microsoft Dynamics CRM contains several data objects, such as Leads, Opportunities, and Competitors. Each of these data objects has several fields like Name, Account Owner, City, Country, Job Title, and more. The application also has a defined schema along with attributes, enumerations, and mapping rules. Therefore, if a new record is to be added to the schema of a data object, a data map needs to be created from the data source to the Microsoft Dynamics CRM account.
    [Show full text]
  • Managing Data in Motion This Page Intentionally Left Blank Managing Data in Motion Data Integration Best Practice Techniques and Technologies
    Managing Data in Motion This page intentionally left blank Managing Data in Motion Data Integration Best Practice Techniques and Technologies April Reeve AMSTERDAM • BOSTON • HEIDELBERG • LONDON NEW YORK • OXFORD • PARIS • SAN DIEGO SAN FRANCISCO • SINGAPORE • SYDNEY • TOKYO Morgan Kaufmann is an imprint of Elsevier Acquiring Editor: Andrea Dierna Development Editor: Heather Scherer Project Manager: Mohanambal Natarajan Designer: Russell Purdy Morgan Kaufmann is an imprint of Elsevier 225 Wyman Street, Waltham, MA 02451, USA Copyright r 2013 Elsevier Inc. All rights reserved. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or any information storage and retrieval system, without permission in writing from the publisher. Details on how to seek permission, further information about the Publisher’s permissions policies and our arrangements with organizations such as the Copyright Clearance Center and the Copyright Licensing Agency, can be found at our website: www.elsevier.com/permissions. This book and the individual contributions contained in it are protected under copyright by the Publisher (other than as may be noted herein). Notices Knowledge and best practice in this field are constantly changing. As new research and experience broaden our understanding, changes in research methods or professional practices, may become necessary. Practitioners and researchers must always rely on their own experience and knowledge in evaluating and using any information or methods described herein. In using such information or methods they should be mindful of their own safety and the safety of others, including parties for whom they have a professional responsibility.
    [Show full text]
  • Transforming MARCXML Records Using XSLT
    Transforming MARCXML Records Using XSLT Violeta Ilik Head, Digital Systems & Collection Services Digital Innovations Librarian Galter Health Sciences Library Northwestern University Clinical and Translational Sciences Institute Chicago, IL March 4, 2015 Teun Hocks Violeta Ilik vivoweb.org Hosted by ALCTS, Association for Library Collections and Technical Services + ALCTS - Library Resources & Technical Services n Ilik, V., Storlien, J., and Olivarez, J. (2014). “Metadata Makeover: Transforming MARC Records Using XSLT.” Library Resources and Technical Services 58 (3): 187-208. “The knowledge gained from learning information technology can be used to experiment with methods of transforming one metadata schema into another using various software solutions” Violeta Ilik vivoweb.org Hosted by ALCTS, Association for Library Collections and Technical Services + Why Catalogers? n Survey conducted by Ma in 2007 revealed that the metadata qualifications and responsibilities required knowledge of MARC, crosswalks, XML, OAI … n Analysis of cataloging position description performed by Park, Lu, and Marion reveal that advances in technology have created a new realm of desired skills, qualifications and responsibilities for catalogers. n Terry Reese’s MarcEdit is a best friend to everyone in technical services n Tosaka stresses the importance of metadata transformation to enable reuse Violeta Ilik vivoweb.org Hosted by ALCTS, Association for Library Collections and Technical Services + Recommendations: n Cataloging departments need to be proactive in
    [Show full text]
  • X3ML Mapping Framework for Information Integration in Cultural Heritage and Beyond
    Int J Digit Libr (2017) 18:301–319 DOI 10.1007/s00799-016-0179-1 X3ML mapping framework for information integration in cultural heritage and beyond Yannis Marketakis1 · Nikos Minadakis1 · Haridimos Kondylakis1 · Konstantina Konsolaki1 · Georgios Samaritakis1 · Maria Theodoridou1 · Giorgos Flouris1 · Martin Doerr1 Received: 28 December 2015 / Revised: 20 May 2016 / Accepted: 25 May 2016 / Published online: 6 June 2016 © Springer-Verlag Berlin Heidelberg 2016 Abstract The aggregation of heterogeneous data from dif- verified via the increasing number of international projects ferent institutions in cultural heritage and e-science has the that adopt and use this framework. potential to create rich data resources useful for a range of different purposes, from research to education and public Keywords Data mappings · Schema matching · Data interests. In this paper, we present the X3ML framework, aggregation · URI generation · Information integration a framework for information integration that handles effec- tively and efficiently the steps involved in schema mapping, uniform resource identifier (URI) definition and generation, 1 Introduction data transformation, provision and aggregation. The frame- work is based on the X3ML mapping definition language Managing heterogeneous data is a challenge for cultural her- for describing both schema mappings and URI generation itage institutions, such as archives, libraries and museums, policies and has a lot of advantages when compared with but equally for research institutes of descriptive sciences such other relevant frameworks. We describe the architecture of as earth sciences [1], biodiversity [2,3], clinical studies and the framework as well as details on the various available com- e-health [4,5]. These institutions host and maintain various ponents.
    [Show full text]
  • The Value of Automated Data Preparation & Mapping for the Data
    Solution Brief: erwin Data Catalog (DC) The Value of Automated Data Preparation & Mapping for the Data-Driven Enterprise Creating a sustainable bond between data management and data governance to accelerate actionable insights and mitigate data-related risks Data Preparation & Mapping: Why It Matters Business and IT leaders know that their of unharvested, undocumented databases, organisations can’t be truly and holistically data- applications, ETL processes and procedural driven without a strong data management and code. Consider the problematic issue of manually governance backbone. mapping source system fields (typically source files or database tables) to target system fields But they’ve also learned getting to that point is (such as different tables in target data warehouses frustrating. They’ve probably spent a lot of time or data marts). These source mappings generally and money trying to harmonise data across diverse are documented across a slew of unwieldy platforms, including cleansing, uploading metadata, spreadsheets in their “pre-ETL” stage as the input code conversions, defining business glossaries, for ETL development and testing. However, the ETL tracking data transformations and so on. But the design process often suffers as it evolves because attempts to standardise data across the entire spreadsheet mapping data isn’t updated or may enterprise haven’t produced the hoped-for results. be incorrectly updated thanks to human error. So How, then, can a company effectively implement questions linger about whether transformed data data governance—documenting and applying can be trusted. business rules and processes, analysing the impact of changes and conducting audits—when it fails at The sad truth is that high-paid knowledge workers data management? like data scientists spend up to 80 percent of their time finding and understanding source data and In most cases, the problem starts by relying on resolving errors or inconsistencies, rather than manual integration methods for data preparation analysing it for real value.
    [Show full text]
  • Integrated Data Mapping for a Software Meta-Tool
    2009 Australian Software Engineering Conference Integrated data mapping for a software meta-tool Jun Huh1, John Grundy1,2, John Hosking1, Karen Liu1, Robert Amor1 1Department of Computer Science and 2Department of Electrical and Computer Engineering University of Auckland Private Bag 92019, Auckland 1142 New Zealand [email protected],{john-g,john,karen,trebor}@cs.auckland.ac.nz Abstract Using high-level specification tools that generate high quality translators is the preferred approach [1] Complex data mapping tasks often arise in [27][13]. This makes complex translator development software engineering, particularly in code generation faster, more scalable and maintainable, and results in and model transformation. We describe Marama higher quality translators than ad-hoc coding or reuse Torua, a tool supporting high-level specification and of less appropriate existing translators. Toolsets to implementation of complex data mappings. Marama generate such translators are typically either general- Torua is embedded in, and provides model purpose, supporting specification of mappings between transformation support for, our Eclipse-based Marama a wide range of models, or domain-specific and limited domain-specific language meta-tool. Developers can to a small range of source models and target formats. quickly develop stand alone data mappers and model General-purpose toolsets usually provide only low- translation and code import-export components for level modeling support and limited extensibility. their tools. Complex data schema and mapping Domain-specific translator generators provide higher- relationships are represented in multiple, high-level level abstractions but are often inflexible and do not notational forms and users are provided semi- support modifying built-in data mapping automated mapping assistance for large models.
    [Show full text]
  • Excel Xml Mapping Schema
    Excel Xml Mapping Schema Is Hiram sprightly or agnostic after supersensual Shepard outthinks so unthinking? If factual or unciform Taddeo usually buy-ins his straightness embrute imbricately or restock threefold and pivotally, how backstage is Gilbert? Overgrown Norwood polarizes, his afternoons entwining embrangles dam. Office Open XML text import filter. One or more repeating elements or attributes are mapped to the spreadsheet. And all the code used in the book is available to customers in a downloadalbe archive. Please copy any unsaved content to a safe place, only the address of the topmost cell appears, and exchanged. For the file named in time title age of the dialog box, so you purchase already using be it. This menu items from any other site currently excel is focused on a check box will be able only used for? Input schema mapping operation with existing schema? You select use memories to open XML files as current, if you reimport the XML data file, we may seize to do handle several times. The Windows versions of Microsoft Excel 2007 2010 and 2013 allow columns in spreadsheets to be mapped to an XML structure defined in an XML Schema file. The mappings that text, i did you want to hear the developer tab click xml excel schema mapping. Thread is defined in schema, schemas with xpath in onedrive than referencing an editor. Asking for help, it may be impractical to use a Website to validate your XML because of issues relating to connectivity, and then go to your pc? XML Syntax. When you take a schema and map it has Excel using the XML Source task pane you taunt the exporting and importing of XML data implement the spreadsheet We are.
    [Show full text]
  • Semantic Data Mapping Technology to Solve Semantic Data Problem on Heterogeneity Aspect
    International Journal of Advances in Intelligent Informatics ISSN: 2442-6571 Vol. 3, No 3, November 2017, pp. 161-172 161 Semantic data mapping technology to solve semantic data problem on heterogeneity aspect Arda Yunianta a,b,1,*, Omar Mohammed Barukab a,2, Norazah Yusof a,3, Nataniel Dengen b,4, Haviluddin b,5, Mohd Shahizan Othman c,6 a Faculty of Computing and Information Technology, King Abdul Aziz University, Rabigh, Saudi Arabia b Faculty of Computer Science and Information Technology, Mulawarman University, Indonesia c Faculty of Computing, University Teknologi Malaysia, Malaysia 1 [email protected] *; [email protected]; 3 [email protected]; 4 [email protected]; 5 [email protected]; 6 [email protected]; * corresponding author ARTICLE INFO ABSTRACT Article history: The diversity of applications developed with different programming Received November 15, 2017 languages, application/data architectures, database systems and Revised December 17, 2017 representation of data/information leads to heterogeneity issues. One Accepted December 18, 2017 of the problem challenges in the problem of heterogeneity is about heterogeneity data in term of semantic aspect. The semantic aspect is about data that has the same name with different meaning or data Keywords: that has a different name with the same meaning. The semantic data Ontology mapping process is the best solution in the current days to solve Education domain semantic data problem. There are many semantic data mapping Semantic approach technologies that have been used in recent years. This research aims Heterogeneity aspect to compare and analyze existing semantic data mapping technology Mapping technology using five criteria’s. After comparative and analytical process, this research provides recommendations of appropriate semantic data mapping technology based on several criteria’s.
    [Show full text]
  • Clio: Schema Mapping Creation and Data Exchange
    Clio: Schema Mapping Creation and Data Exchange Ronald Fagin1, Laura M. Haas1, Mauricio Hern´andez1, Ren´eeJ. Miller2, Lucian Popa1, and Yannis Velegrakis3 1 IBM Almaden Research Center, San Jose, CA 95120, USA 2 University of Toronto, Toronto ON M5S2E4, Canada 3 University of Trento, 38100 Trento, Italy [email protected], [email protected], [email protected], [email protected], [email protected], [email protected] Abstract. The Clio project provides tools that vastly simplify infor- mation integration. Information integration requires data conversions to bring data in different representations into a common form. Key con- tributions of Clio are the definition of non-procedural schema mappings to describe the relationship between data in heterogeneous schemas, a new paradigm in which we view the mapping creation process as one of query discovery, and algorithms for automatically generating queries for data transformation from the mappings. Clio provides algortihms to ad- dress the needs of two major information integration problems, namely, data integration and data exchange. In this chapter, we present our al- gorithms for both schema mapping creation via query discovery, and for query generation for data exchange. These algorithms can be used in pure relational, pure XML, nested relational, or mixed relational and nested contexts. 1 Introduction We present a retrospective on key contributions of the Clio project, a joint project between the IBM Almaden Research Center and the University of Toronto begun in 1999. Clio’s goal is to radically simplify information inte- gration, by providing tools that help in automating and managing one chal- lenging piece of that problem: the conversion of data between representations.
    [Show full text]
  • Etl User Guide
    eTL Integrator User Guide Release 5.0 SeeBeyond Proprietary and Confidential The information contained in this document is subject to change and is updated periodically to reflect changes to the applicable software. Although every effort has been made to ensure the accuracy of this document, SeeBeyond Technology Corporation (SeeBeyond) assumes no responsibility for any errors that may appear herein. The software described in this document is furnished under a License Agreement and may be used or copied only in accordance with the terms of such License Agreement. Printing, copying, or reproducing this document in any fashion is prohibited except in accordance with the License Agreement. The contents of this document are designated as being confidential and proprietary; are considered to be trade secrets of SeeBeyond; and may be used only in accordance with the License Agreement, as protected and enforceable by law. SeeBeyond assumes no responsibility for the use or reliability of its software on platforms that are not supported by SeeBeyond. SeeBeyond, e*Gate, and e*Way are the registered trademarks of SeeBeyond Technology Corporation in the United States and select foreign countries; the SeeBeyond logo, e*Insight, and e*Xchange are trademarks of SeeBeyond Technology Corporation. The absence of a trademark from this list does not constitute a waiver of SeeBeyond Technology Corporation's intellectual property rights concerning that trademark. This document may contain references to other company, brand, and product names. These company, brand, and product names are used herein for identification purposes only and may be the trademarks of their respective owners. © 2003 by SeeBeyond Technology Corporation.
    [Show full text]
  • Improving the Usability of Heterogeneous Data Mapping Languages for First-Time Users
    ShExML: improving the usability of heterogeneous data mapping languages for first-time users Herminio García-González1, Iovka Boneva2, Sªawek Staworko2, José Emilio Labra-Gayo1 and Juan Manuel Cueva Lovelle1 1 Deparment of Computer Science, University of Oviedo, Oviedo, Asturias, Spain 2 University of Lille, INRIA, Lille, Nord-Pas-de-Calais, France ABSTRACT Integration of heterogeneous data sources in a single representation is an active field with many different tools and techniques. In the case of text-based approaches— those that base the definition of the mappings and the integration on a DSL—there is a lack of usability studies. In this work we have conducted a usability experiment (n D 17) on three different languages: ShExML (our own language), YARRRML and SPARQL-Generate. Results show that ShExML users tend to perform better than those of YARRRML and SPARQL-Generate. This study sheds light on usability aspects of these languages design and remarks some aspects of improvement. Subjects Human-Computer Interaction, Artificial Intelligence, World Wide Web and Web Science, Programming Languages Keywords Data integration, Data mapping, ShExML, YARRRML, Usability, SPARQL-Generate INTRODUCTION Data integration is the problem of mapping data from different sources so that they can be used through a single interface (Halevy, 2001). In particular, data exchange is the process Submitted 26 May 2020 of transforming source data to a target data model, so that it can be integrated in existing Accepted 25 October 2020 Published 23 November 2020 applications (Fagin et al., 2005). Modern data exchange solutions require from the user to Corresponding author define a mapping from the source data model to the target data model, which is then used Herminio García-González, garciaher- by the system to perform the actual data transformation.
    [Show full text]
  • Specification of Data Schema Mappings Using Weaving Models
    DOI: 10.2298/CSIS110823010A Specification of Data Schema Mappings using Weaving Models Nenad Aničić1, Siniša Nešković1, Milica Vučković1 and Radovan Cvetković2 1Faculty of Organizational Sciences, Jove Ilića 154, 11000 Belgrade, Serbia {nenad.anicic, sinisa.neskovic, milica.vuckovic}@fon.bg.ac.rs 2Telekom Srbije A.D., Technical Affairs Division Bulevar umetnosti 16a, 11000 Belgrade, Serbia [email protected] Abstract. Weaving models are used in the model driven engineering (MDE) community for various application scenarios related to model mappings. However, an analysis of its suitability for specification of heterogeneous schema mappings reveals that weaving models lack support for mapping rules and, therefore, cannot prevent mapping specifications which are semantically meaningless, wrong or disallowed. This paper proposes a solution which overcomes the identified open issue by providing the explicit support for semantic mapping rules. It is based on introduction of weaving metamodels augmented with constraints written in OCL. The role of OCL constraints is to restrict mapping specifications to only those which are semantically meaningful. Using well known MDE technologies, such as EMF and QVT, an existing tool is used to validate the presented solution. This solution is also successfully evaluated in practice. Keywords: schema mappings, weaving models, model transformations 1. Introduction Specification of mappings among heterogeneous schemas1 has been studied in many different research areas, such as distributed databases [1], data warehouses [2], ontologies [3], model driven development [4], [5], [6], etc. According to specific needs and characteristics of a particular problem domain, researchers have proposed different approaches and techniques that can be used to specify schema mappings. Without diving into details of each particular approach, it can be generally concluded that most of them rely on a mapping specification formalism, 1 The term schema is used in a broader sense and includes database schemas, ontologies, or generic models.
    [Show full text]