[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655983-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655983-en":130,"doc-similar-655983":162},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","enhancing-er-diagrams-to-view-data-transformations-paper","Enhancing ER Diagrams to View Data Transformations - Paper","","Transforming relational tables to create machine learning datasets is time-intensive because relational queries join, aggregate, and reshape columns through complex SQL expressions. This produces many transformed tables and repeated, disconnected query fragments that hinder evolution, waste disk space, and complicate software maintenance. The paper introduces minimal extensions to ER diagrams in UML to model common database transformations, unifying physical and logical views, clarifying provenance, reducing redundancy, and reusing existing queries for ML-focused analytics.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/enhancing-er-diagrams-to-view-data-transformations-paper/655983/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/enhancing-er-diagrams-to-view-data-transformations-paper/655983.png","ImageObject",300,407,{"name":42,"@type":43},"Jake","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",10,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why do relational database transformations create maintenance and storage problems for ML projects?","Question",{"text":63,"@type":64},"Relational queries generate many new transformed tables that are not present in the original ER diagram, and similar SQL queries are often written repeatedly for different ML models. This complicates database management, increases disk usage, and makes software maintenance harder.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What core idea does the paper propose for representing transformations?",{"text":68,"@type":64},"It moves from a physical level (tables) to a logical level (entities) by extending ER diagrams to represent data transformations computed by queries. The result is a unifying transformation ER diagram that supports analytic understanding.",{"name":70,"@type":61,"acceptedAnswer":71},"How does the proposed ER diagram help analytic users?",{"text":72,"@type":64},"It helps users understand complex transformations, consolidate columns representing analytic variables into fewer tables, reuse existing SQL queries instead of forking new ones, and explain data provenance by showing where data originated.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655983,1793051828,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":55,"slug":125},"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":97,"language":139,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":12,"update_tm":143,"read_time":144,"preview_page_count":33,"preview_urls":145},962084928904,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Enhancing ER Diagrams to View Data Transformations  \nComputed with Queries  \nCarlos Ordonez University of Houston, USA  \nLadjel Bellatreche LIAS/ISAE-ENSMA, France  \nABSTRACT  \nTransforming relational tables to build a data set takes most of the time in a machine learning (ML) project centered around a relational database. The explanation is simple: a relational database has a collection of tables that are joined and aggregated with complex relational queries, and whose columns are transformed with complex SQL expressions, in order to build the required data set. In general, such data is wide, gathering many ML variables together. Such complicated data pre-processing results in a large set of SQL queries that are independently developed from eachother for different ML models. The database grows with important tables and views that are absent in the original ER diagram. More importantly, similar SQL queries tend to be written multiple times, creating problems in database evolution, disk space utilization and software maintenance. In this paper, we go in opposite direction from a physical level (tables) to a logical level (entities) representation, providing a unifying diagram of both levels. Specifically, we propose minimal, but powerful, extensions to an ER diagram in UML notation to represent most common database transformations. Our “transformation” ER diagram helps analytic users understanding complex transformations, consolidating columns representing analytic variables into fewer tables (i.e. eliminating redundant tables), reusing existing SQL queries (i.e. avoid forking new queries) and explaining data provenance (where data originated from) .  \n1 INTRODUCTION  \nThe entity-relationship (ER) model provides methods (step by step) and diagram notation to design a database, by defining its structure before storing data values. On the other hand, the relational database model provides a precise mathematical definition to store and query data in the form of tables (relations) linked by foreign keys (FKs), whose basic structure is sketched in an ER model. We are concerned with exploiting a DBMS to analyze datasets with exploratory analysis, machine learning and statistics [2] . We are interested in modeling all potential database transformations via relational queries to build a specific data set that can be analyzed by machine learning (ML) algorithms. In general, such data set has a tabular form, where every row corresponds to an observation, instance or point and every column is associated to a variable or feature. The main side effect is that relational queries produce many new tables, which do not appear as entities in the existing ER diagram. Such collection of transformed tables and disconnected queries complicate database management, software development, and computing further ML models.  \nBased on the motivation discussed above, we introduce minor, but powerful, changes to ER diagrams to represent data transformations computed by queries, used to build data sets for ML models. Our main contributions are the following: (1) labeling ER entities to distinguish source and transformation entities; (2) numbering entities to understand a sequence of transformations;  \n© 2019 Copyright held by the author(s). Published in the Workshop Proceedings of the EDBT/ICDT 2019 Joint Conference (March 26, 2019, Lisbon, Portugal) on [CEUR-WS.org](CEUR-WS.org).  \n(3) showing SPJA queries as an optional zoom-in exploratory feature; (4) an algorithm to automate extending and maintaining the transformation ER diagram. We believe our ER diagram has potential usefulness. Existing tuned queries can be reused and extended. Redundant copies of data can be eliminated by reusing existing queries. Provenance of attributes can be tracked. Nevertheless, we do not intend to represent every query in a single ER diagram since that would create a huge diagram. Instead, we propose to represent each set of tuned queries to build each data set separately. Eac","cbCaiq7b6T7vqxMW","https://ap.wps.com/l/cbCaiq7b6T7vqxMW","pdf",535060,"English","# Abstract\n# Introduction\n# Definitions\n## ER Diagram for a Relational Database\n## Relational Queries","[{\"question\":\"Why do relational database transformations create maintenance and storage problems for ML projects?\",\"answer\":\"Relational queries generate many new transformed tables that are not present in the original ER diagram, and similar SQL queries are often written repeatedly for different ML models. This complicates database management, increases disk usage, and makes software maintenance harder.\"},{\"question\":\"What core idea does the paper propose for representing transformations?\",\"answer\":\"It moves from a physical level (tables) to a logical level (entities) by extending ER diagrams to represent data transformations computed by queries. The result is a unifying transformation ER diagram that supports analytic understanding.\"},{\"question\":\"How does the proposed ER diagram help analytic users?\",\"answer\":\"It helps users understand complex transformations, consolidate columns representing analytic variables into fewer tables, reuse existing SQL queries instead of forking new ones, and explain data provenance by showing where data originated.\"}]","Enhancing ER Diagrams to View Data Transformations - Paper | PDF",1792965326,13,[146,150,154,158],{"page_no":22,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/043d8a41c80f0dc82be31f57fef74877.webp",983,1390,{"page_no":26,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f4680aa54ee0148877b8846cac84d984.webp",982,1388,{"page_no":30,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/fb6fd0ce6c80a74c45e7170756e07e85.webp",981,1387,{"page_no":33,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/336c3e9874bc652c955f32db880e814d.webp",980,1385,{"list":163,"token":11},[164,171,177,183,190,196,203,210,216,222],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":169,"category_name":29,"create_tm":170},84701,"TabQueryBench：面向合成表格数据的以查询为中心基准","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809197450/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=iIw%2BTjSLDWUpUgfhTZiXqh5PVQ0%3D","tabquerybench-a-query-centric-benchmark-for-synthetic-tabular-data",31,1784197736,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":107,"category_name":29,"create_tm":176},656117,"A Comprehensive Tutorial on over 100 Years of Diagrammatic Representations of Logical Statements and Relational Queries - lecture-style","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975300719/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=EDCfao0lH%2BZC%2FxzPHTCqb6oi79g%3D","a-comprehensive-tutorial-on-over-100-years-of-diagrammatic-representations-of-logical-statements-and-relational-queries-lecture-style",1792966476,{"doc_id":178,"doc_title":179,"file_type":137,"home_preview_img_url":180,"slug":181,"view_count":33,"category_name":29,"create_tm":182},656127,"Towards Rich Data Queries From Schema Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974785484/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=YpMod7DadoPRWgrqlHgNLd9YSbo%3D","towards-rich-data-queries-from-schema-diagrams",1792966539,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":29,"create_tm":189},289988,"AI-Assisted Generation of SQL Comprehension Questions - Tool Demonstration","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903033081/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=2gnn9uhzZdAsjkvhQ7sOlJt0eX4%3D","ai-assisted-generation-of-sql-comprehension-questions-tool-demonstration",16,1789639413,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":113,"category_name":29,"create_tm":195},82236,"SherAgent Scaling Attack Investigation in the Wild via LLM-Empowered Iterative Query-Filter Backtracking","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808724266/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=B1I5496eZOzrVop%2BYCbV1wZO7t8%3D","sheragent-scaling-attack-investigation-in-the-wild-via-llm-empowered-iterative-query-filter-backtracking",1784179045,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":201,"category_name":29,"create_tm":202},496376,"ParSEval - Plan-aware Test Database Generation for SQL Equivalence Evaluation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229929827264/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=%2BHnJ3WtqP0lk1F1blbhFoRth6%2Fs%3D","parseval-plan-aware-test-database-generation-for-sql-equivalence-evaluation",11,1790931347,{"doc_id":204,"doc_title":205,"file_type":137,"home_preview_img_url":206,"slug":207,"view_count":208,"category_name":29,"create_tm":209},83756,"LogNLQ Natural-Language Log Querying with Parser-Induced and Semantically Grounded Schemas","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808999867/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=NCnruzdG51AOX%2B233NAgao59hSU%3D","lognlq-natural-language-log-querying-with-parser-induced-and-semantically-grounded-schemas",26,1784190241,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":22,"category_name":29,"create_tm":215},760750,"Machine Learning for Query Optimization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044250547/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=WGKERiv7zNQdg0UJBitTDkc0250%3D","machine-learning-for-query-optimization",1795908973,{"doc_id":217,"doc_title":218,"file_type":137,"home_preview_img_url":219,"slug":220,"view_count":169,"category_name":29,"create_tm":221},84877,"Escaping the Procrustean Bed: Groupwise Orthogonal Connectors for Audio-Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809215020/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=d8MRboAjwIqOrQ0NOcTr8SGRM4E%3D","escaping-the-procrustean-bed-groupwise-orthogonal-connectors-for-audio-language-models",1784198963,{"doc_id":223,"doc_title":224,"file_type":137,"home_preview_img_url":225,"slug":226,"view_count":227,"category_name":29,"create_tm":228},83849,"Identifiability of Relational Queries in Multi-View Pretraining","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809107271/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109959&Signature=d4TAd391axj%2FQllCor3QOquRP0U%3D","identifiability-of-relational-queries-in-multi-view-pretraining",29,1784190969]