<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Tshepiso Mogoswane on Medium]]></title>
        <description><![CDATA[Stories by Tshepiso Mogoswane on Medium]]></description>
        <link>https://medium.com/@mrmogoswane?source=rss-ceb613657bb3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*acNfEkXiqfYTvwYul_H0dA@2x.jpeg</url>
            <title>Stories by Tshepiso Mogoswane on Medium</title>
            <link>https://medium.com/@mrmogoswane?source=rss-ceb613657bb3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:03:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mrmogoswane/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Microsoft Fabric deserved a Fabric-native orchestration engine, not another evolution of ADF.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://blog.gopenai.com/microsoft-fabric-deserved-a-fabric-native-orchestration-engine-not-another-evolution-of-adf-47b344042965?source=rss-ceb613657bb3------2"><img src="https://cdn-images-1.medium.com/max/1774/1*vdqaiQuOAr9-rTrHCPklOg.png" width="1774"></a></p><p class="medium-feed-snippet">I&#x2019;ve used Microsoft Fabric from the beginning, and watching it evolve has been one of the more enjoyable parts of the job. Microsoft took&#x2026;</p><p class="medium-feed-link"><a href="https://blog.gopenai.com/microsoft-fabric-deserved-a-fabric-native-orchestration-engine-not-another-evolution-of-adf-47b344042965?source=rss-ceb613657bb3------2">Continue reading on GoPenAI »</a></p></div>]]></description>
            <link>https://blog.gopenai.com/microsoft-fabric-deserved-a-fabric-native-orchestration-engine-not-another-evolution-of-adf-47b344042965?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/47b344042965</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 20:24:29 GMT</pubDate>
            <atom:updated>2026-11-21T20:24:29.407Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Data Domains: The Missing Map for Productive Analytics and Governance]]></title>
            <link>https://mrmogoswane.medium.com/data-domains-the-missing-map-for-productive-analytics-and-governance-65a3320d1de2?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/65a3320d1de2</guid>
            <category><![CDATA[data-governance-framework]]></category>
            <category><![CDATA[data-mesh]]></category>
            <category><![CDATA[modern-data-architecture]]></category>
            <category><![CDATA[data-ownership]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Thu, 23 Oct 2025 22:02:55 GMT</pubDate>
            <atom:updated>2025-10-23T22:02:55.104Z</atom:updated>
            <content:encoded><![CDATA[<p>Most data problems aren’t technical. They’re alignment problems. If business, technology, and analytics don’t share a map of what data means and who owns it, everything slows down. Data domains are that map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1003/1*cc8I5q_nogDpKcsYhGsjLw.png" /></figure><p>Data problems aren’t just about data quality or systems. They’re often boundary problems, where teams talk past each other. Data domains draw the lines that let business, technology, and analytics finally speak the same language.</p><p>What are data domains? A data domain is a stable grouping of related data anchored in business meaning and outcomes. It’s not a system or a team. It’s a boundary around the concepts, rules, and ownership that define how data should be created, governed, and used.</p><p>Think city zoning for data. <strong>Payments</strong> live here. <strong>Clients</strong> live there. <strong>Accounts</strong> next door. <strong>Trading</strong> across the river. Zoning reduces disputes, clarifies consent, and speeds approvals. Once you draw the zones, it’s easier to build and connect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*D5j0hZIocbhY7uo2BsAvXg.png" /></figure><blockquote>Why data domains matter now</blockquote><ul><li>AI and analytics depend on consistent meaning. Domains standardize language and metrics.</li><li>Privacy and regulation require accountable ownership of sensitive data.</li><li>Cloud sprawl created copies without context. Domains restore signal and reduce duplication.</li><li>Data mesh works only with clear domains that own data as products.</li></ul><blockquote>Example: A banking domain map</blockquote><ul><li><strong>Client (aka Party)</strong>: people and organizations, KYC/AML attributes, relationships, consent flags, privacy controls.</li><li><strong>Accounts</strong>: deposit, loan, and card accounts; balances; terms; lifecycle events.</li><li><strong>Payments</strong>: transfers, wires, ACH, card transactions; authorizations; settlements; fees.</li><li><strong>Trading &amp; Treasury</strong>: orders, executions, positions, valuations, risk factors.</li><li><strong>Products &amp; Pricing</strong>: product catalog, rates, fees, bundles, eligibility rules.</li><li><strong>Risk &amp; Compliance</strong>: credit risk, market risk, liquidity metrics, fraud alerts, case management.</li><li><strong>Channels &amp; Interactions</strong>: branch, mobile, web, call center, marketing touchpoints.</li><li><strong>Finance &amp; Ledger</strong>: general ledger, P&amp;L, cost allocations.</li></ul><blockquote>A powerful tool for data modelers</blockquote><ul><li>Model by meaning first. Map business concepts, then align systems to those meanings.</li><li>Create the domain canon. Define core entities, events, primary keys, metrics, and policies. That becomes your semantic layer.</li><li>Publish domain contracts. Document allowed joins, join keys (party_id, account_id), schemas, and metric definitions. Version them.</li><li>Attach quality and lineage to domains. SLOs, tests, and lineage make ownership visible and enforceable.</li><li>Secure by domain. PII and consent rules travel with the Client domain regardless of downstream copies.</li></ul><blockquote>Another Banking example: customer profitability and churn</blockquote><ul><li><strong>Client domain </strong>supplies the canonical client, householding, and consent flags.</li><li><strong>Accounts domain</strong> contributes balances, fees, product tenure, and account status.</li><li><strong>Payments domain</strong> adds spend velocity, merchant categories, and dispute rates.</li><li><strong>Finance domain</strong> provides cost allocations and margins.</li><li>Analysts build features via domain contracts. Joins are predictable, metrics are consistent, privacy is respected. Time to insight falls, trust rises.</li></ul><blockquote>Implications and challenges</blockquote><ul><li>Ownership beats centralization. Each domain needs a business owner and a technical steward.</li><li>Boundaries follow business meaning, not legacy systems or org charts.</li><li>Don’t over-fragment. Start with 6–12 top-level domains.</li><li>MDM complements domains. MDM reconciles identities (golden Party); domains define semantics and responsibility.</li><li>Guard against semantic drift. Publish and version metric definitions and contracts so “active customer” means the same thing across domains.</li></ul><blockquote>Actionable steps to get started</blockquote><ul><li>Name your top-level domains. Aim for 6–12 aligned with how your bank creates value.</li><li>Assign owners and stewards. Publish them in your catalog.</li><li>Define each domain’s canon. Entities, events, keys, critical metrics, privacy class, and SLOs.</li><li>Map systems and datasets to domains. Tag sources and consumers in your catalog to show lineage and responsibility.</li><li>Write domain contracts. Schemas, join keys, allowed joins, and metric definitions. Version and enforce them.</li><li>Pilot a domain-aligned analytics use case. Customer profitability, fraud, or credit risk. Measure cycle time, data defects, and rework.</li><li>Bake in governance. Attach access policies, tests, and lineage to domains. Review quarterly to prevent drift.</li></ul><p>Closing insight Data domains are a shared language and an operating model. They align business, technology, and analytics around meaning, reduce risk, and accelerate AI. Start small, protect the boundaries, and let domains become the backbone of your data strategy.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=65a3320d1de2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Rediscovering Calm: Why I Gave Up My Apple Watch.]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://mrmogoswane.medium.com/rediscovering-calm-why-i-gave-up-my-apple-watch-9f61a5f1a555?source=rss-ceb613657bb3------2"><img src="https://cdn-images-1.medium.com/max/1024/1*dqNSNCryn1x6BMTGYvyrzg.png" width="1024"></a></p><p class="medium-feed-snippet">A Less-is-More Approach to Timekeeping</p><p class="medium-feed-link"><a href="https://mrmogoswane.medium.com/rediscovering-calm-why-i-gave-up-my-apple-watch-9f61a5f1a555?source=rss-ceb613657bb3------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://mrmogoswane.medium.com/rediscovering-calm-why-i-gave-up-my-apple-watch-9f61a5f1a555?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f61a5f1a555</guid>
            <category><![CDATA[apple-watch]]></category>
            <category><![CDATA[timepieces]]></category>
            <category><![CDATA[focus]]></category>
            <category><![CDATA[mindfulness]]></category>
            <category><![CDATA[time-management]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Tue, 22 Aug 2023 00:58:37 GMT</pubDate>
            <atom:updated>2023-08-22T00:58:37.482Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Exploring Data Modelling with ChatGPT: Part 2 Model Population]]></title>
            <link>https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-model-population-de57d7506da8?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/de57d7506da8</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[microsoft-fabric]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Tue, 13 Jun 2023 22:51:14 GMT</pubDate>
            <atom:updated>2023-06-16T14:56:11.683Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 2: Model Population with ChatGPT/Microsoft Fabric</h4><figure><img alt="Part 2: Model Population with ChatGPT/Microsoft Fabric" src="https://cdn-images-1.medium.com/max/1024/1*SX-pCX_16FrGLnOF0MTADw.png" /><figcaption>Part 2: Model Population with ChatGPT/Microsoft Fabric</figcaption></figure><p>Welcome back to Part 2 of our data modelling journey! In <a href="https://medium.com/p/8b3659b2222c">Part 1: Manual Experiments with ChatGPT</a>, we delved into the foundations of data modelling, exploring its significance and how it is impacted by the sudden rise of AI. We took a hands-on approach, with the help of chatGPT, conducting manual tasks to understand the subject comprehensively.</p><p>In Part 2, we’re ready to take our data modelling skills to the next level (we are data engineering). Our focus shifts to implementing the physical data model, bringing our concepts and theories to life. We’ll navigate the intricacies of data integration, transformation, and loading. We slowly start uncovering the power of automation along the way.</p><p>Throughout this phase, we’ll bridge the gap between theory and practice, exploring data transformation from our data source, making meaningful changes, and leveraging some level of automation to streamline our processes.</p><p>Whether you’re an experienced data professional or new to the field, this journey promises exciting insights and practical knowledge that you can apply to your projects. So, let’s dive in and embark on this transformative phase of our data modelling adventure together!</p><p><strong>Getting started:</strong></p><blockquote><em>Catching Up on the Path to the Logical Data Model</em></blockquote><p>It’s important <a href="https://medium.com/gopenai/exploring-data-modelling-with-chatgpt-8b3659b2222c">to read this article</a> to understand how we got to the dimensional data model that forms the foundation of this experiment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*X3ZLZ6hqbdC4Osd9.png" /></figure><p>I would have preferred to conduct the entire experiment on <a href="https://www.kaggle.com/">Kaggle </a>since our dataset originates from there. However, Kaggle doesn’t offer the storage capability to materialise our dimensional model. Fortunately, Microsoft has recently launched Microsoft Fabric, a new platform we can explore in this experiment. Taking advantage of the (Preview) trial is a bonus as I enjoy using freebies.</p><blockquote>Start the Fabric (Preview) trial</blockquote><p>Go to <a href="https://learn.microsoft.com/">https://learn.microsoft.com/</a> and Follow these steps to start your Fabric (Preview) trial,</p><p><em>As a word of caution, I would advise against using trial software with your corporate data. It’s important to prioritise the security and integrity of your data, and relying on trial versions may not provide the level of reliability and support required for such sensitive information.</em></p><p><a href="https://learn.microsoft.com/en-us/fabric/get-started/fabric-trial">Fabric (preview) trial - Microsoft Fabric</a></p><blockquote>Get the data required.</blockquote><p>We will reuse the same data set from our previous <a href="https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-8b3659b2222c">experiment </a>in this new experiment. If you have a copy of it, that’s great! If not, no worries. We can download it again from <a href="https://www.kaggle.com/datasets/kmldas/hr-case-study?resource=download">this Kaggle Open Dataset</a>.</p><p>For this experiment, we will be working with notebooks. So, in your fabric home screen, open the notebook, and you may see a pop-up suggesting an upgrade to your trial. Don’t worry, it’s still free, so go with the flow and proceed.</p><figure><img alt="pop-up suggesting an upgrade to your trial" src="https://cdn-images-1.medium.com/max/1024/1*2bGBlKU6DxNF6II9YLTDYw.png" /><figcaption>pop-up suggesting an upgrade to your trial</figcaption></figure><p>After the upgrade, it’s time to create a brand new Lakehouse. I decided to give mine a creative name: <strong>LKH_HRCaseStudy</strong>. This Lakehouse will serve as our centralised data repository, housing the data obtained from <a href="https://www.kaggle.com/datasets/kmldas/hr-case-study?resource=download">this Kaggle Open Dataset</a>.</p><figure><img alt="create a brand new Lakehouse" src="https://cdn-images-1.medium.com/max/1024/1*bvOf1M8S6RxWU6VxyZMkpg.png" /><figcaption>create a brand new Lakehouse</figcaption></figure><p>let’s navigate to your new lakehouse and upload <a href="https://www.kaggle.com/datasets/kmldas/hr-case-study?resource=download">Kaggle Open Dataset</a>. Once the file is successfully uploaded, proceed to create a new notebook. For my notebook, I named it “NBK_HRCaseStudy” — very creative, I know!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8b3zfpBY6UTKOzb4ABZ2Rw.png" /></figure><p>To test the accessibility of the uploaded file, run the below code snippet in your notebook.</p><pre>df = spark.read.format(&quot;csv&quot;).option(&quot;header&quot;,&quot;true&quot;).load(&quot;Files/HR Case Study.csv&quot;)<br># df now is a Spark DataFrame containing CSV data from &quot;Files/HR Case Study.csv&quot;.<br>display(df)</pre><p>Upon running it, you should see the below-visualised data return from your data frame displaying the results.</p><figure><img alt="result of the dataframe visualised" src="https://cdn-images-1.medium.com/max/1024/1*Lg-bkLzu6P-moiQJKj2lhg.png" /><figcaption>result of the dataframe visualised</figcaption></figure><blockquote>Sophisticated prompt engineering.</blockquote><p>Now that we have successfully loaded our data into our data frame, it’s time to unleash the magic of chatGPT. I present to you the highly sophisticated prompt below.</p><figure><img alt="highly sophisticated prompt" src="https://cdn-images-1.medium.com/max/1024/1*kTNeMBqfpte9fKNKzWP_hQ.png" /><figcaption>Sophisticated prompt engineering</figcaption></figure><blockquote>Results of sophisticated prompt engineering.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gFVnTekZbHWK80qlWq5Qrw.png" /><figcaption>Results of Sophisticated prompt engineering</figcaption></figure><pre>from pyspark.sql import functions as F<br><br># Function to generate hash numbers<br>def generate_hash(col_values):<br>    return F.abs(F.hash(F.concat_ws(&quot;_&quot;, *col_values)))<br><br># Set default values<br>yesterday = F.date_sub(F.current_date(), 1)<br>today = F.current_date()<br><br># Create the Employee Dimension DataFrame<br>dim_employee = df.select(<br>    generate_hash([F.col(&quot;Name&quot;), F.col(&quot;Gender&quot;), F.col(&quot;Age&quot;)]).alias(&quot;EmployeeID&quot;),<br>    F.col(&quot;Name&quot;).alias(&quot;Name&quot;),<br>    F.col(&quot;Gender&quot;).alias(&quot;Gender&quot;),<br>    F.col(&quot;Age&quot;).cast(&quot;integer&quot;).alias(&quot;Age&quot;),<br>    F.col(&quot;Tenure in Company&quot;).cast(&quot;decimal(5,2)&quot;).alias(&quot;TenureInCompany&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;),<br>    F.lit(True).alias(&quot;CurrentFlag&quot;)<br>)<br><br># Create the Department Dimension DataFrame<br>dim_department = df.select(<br>    generate_hash([F.col(&quot;Department&quot;)]).alias(&quot;DepartmentID&quot;),<br>    F.col(&quot;Department&quot;).alias(&quot;Department&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;),<br>    F.lit(True).alias(&quot;CurrentFlag&quot;)<br>)<br><br># Create the Salary Dimension DataFrame<br>dim_salary = df.select(<br>    generate_hash([F.col(&quot;Annual Salary&quot;)]).alias(&quot;SalaryID&quot;),<br>    F.col(&quot;Annual Salary&quot;).cast(&quot;decimal(10,2)&quot;).alias(&quot;AnnualSalary&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;),<br>    F.lit(True).alias(&quot;CurrentFlag&quot;)<br>)<br><br># Create the Location Dimension DataFrame<br>dim_location = df.select(<br>    generate_hash([F.col(&quot;Location&quot;)]).alias(&quot;LocationID&quot;),<br>    F.col(&quot;Location&quot;).alias(&quot;Location&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;),<br>    F.lit(True).alias(&quot;CurrentFlag&quot;)<br>)<br><br># Create the Rating Dimension DataFrame<br>dim_rating = df.select(<br>    generate_hash([F.col(&quot;Rating&quot;)]).alias(&quot;RatingID&quot;),<br>    F.col(&quot;Rating&quot;).alias(&quot;Rating&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;),<br>    F.lit(True).alias(&quot;CurrentFlag&quot;),<br>    F.current_date().alias(&quot;EffectiveDate&quot;)<br>)<br><br># Create the Date Dimension DataFrame<br>dim_date = df.select(<br>    F.monotonically_increasing_id().alias(&quot;DateKey&quot;),<br>    F.to_date(F.lit(&quot;1900-01-01&quot;)).alias(&quot;Date&quot;),<br>    F.dayofmonth(F.lit(&quot;1900-01-01&quot;)).alias(&quot;Day&quot;),<br>    F.month(F.lit(&quot;1900-01-01&quot;)).alias(&quot;Month&quot;),<br>    F.year(F.lit(&quot;1900-01-01&quot;)).alias(&quot;Year&quot;),<br>    F.lit(False).alias(&quot;IsBankHoliday&quot;)<br>)<br><br># Create the Employee Fact DataFrame<br>fact_employee = df.select(<br>    generate_hash([F.col(&quot;Name&quot;), F.col(&quot;Department&quot;), F.col(&quot;Annual Salary&quot;), F.col(&quot;Location&quot;), F.col(&quot;Rating&quot;)]).alias(&quot;EmployeeID&quot;),<br>    generate_hash([F.col(&quot;Department&quot;)]).alias(&quot;DepartmentID&quot;),<br>    generate_hash([F.col(&quot;Annual Salary&quot;)]).alias(&quot;SalaryID&quot;),<br>    generate_hash([F.col(&quot;Location&quot;)]).alias(&quot;LocationID&quot;),<br>    generate_hash([F.col(&quot;Rating&quot;)]).alias(&quot;RatingID&quot;),<br>    F.col(&quot;Distance to Office&quot;).cast(&quot;decimal(10,2)&quot;).alias(&quot;DistanceToOffice&quot;),<br>    yesterday.alias(&quot;ValidFrom&quot;),<br>    today.alias(&quot;ValidTo&quot;)<br>)<br><br># Display the created DataFrames<br>print(&quot;Employee Dimension:&quot;)<br>dim_employee.show(truncate=False)<br><br>print(&quot;Department Dimension:&quot;)<br>dim_department.show(truncate=False)<br><br>print(&quot;Salary Dimension:&quot;)<br>dim_salary.show(truncate=False)<br><br>print(&quot;Location Dimension:&quot;)<br>dim_location.show(truncate=False)<br><br>print(&quot;Rating Dimension:&quot;)<br>dim_rating.show(truncate=False)<br><br>print(&quot;Date Dimension:&quot;)<br>dim_date.show(truncate=False)<br><br>print(&quot;Employee Fact:&quot;)<br>fact_employee.show(truncate=False)</pre><blockquote>Create a managed table</blockquote><p><em>Managed</em> tables are tables for which both the schema metadata and the data files are managed by Fabric</p><pre>#create(&quot;Employee Dimension:&quot;)<br>dim_employee.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_employee&quot;)<br><br>#create(&quot;Department Dimension:&quot;)<br>dim_department.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_department&quot;)<br><br>#create(&quot;Salary Dimension:&quot;)<br>dim_salary.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_salary&quot;)<br><br>#create(&quot;Location Dimension:&quot;)<br>dim_location.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_location&quot;)<br><br>#create(&quot;Rating Dimension:&quot;)<br>dim_rating.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_rating&quot;)<br><br>#create(&quot;Date Dimension:&quot;)<br>dim_date.write.format(&quot;delta&quot;).saveAsTable(&quot;dim_date&quot;)<br><br>#create(&quot;Employee Fact:&quot;)<br>fact_employee.write.format(&quot;delta&quot;).saveAsTable(&quot;fact_employee&quot;)</pre><figure><img alt="Managed tables" src="https://cdn-images-1.medium.com/max/1024/1*rkqRcr8TmsDC2o4YES0TsQ.png" /><figcaption><em>Managed</em> tables</figcaption></figure><blockquote>Testing Managed tables</blockquote><p>Once you have your <em>Managed</em> tables created, you can run a simple select statement to test that you have populated your tables properly</p><pre>%%sql<br>SELECT * FROM LKH_HRCaseStudy.fact_employee LIMIT 1000</pre><blockquote><em>Conclusion</em></blockquote><p>In conclusion, this modelling journey with chatGPT has been a remarkable experience thus far, with ChatGPT proving to be a valuable resource. It has pleasantly surprised me with its ability to delve into the foundations of data modelling and assist me in comprehending the subject more effectively. Additionally, I have found Microsoft Fabric to be an incredibly user-friendly platform, despite its relatively new status. Its ease of use has made my exploration and implementation of the physical data model seamless.</p><p>I plan to embark on a side quest to delve deeper into Microsoft Fabric, its capabilities, and some of the new data engineering terminologies and concepts I introduced in this phase, such as Notebooks and Lakehouse. This exploration promises to enhance my understanding and expand my data modelling skills.</p><p>Furthermore, in my next experiment (Exploring Data Modelling with ChatGPT Part 3: Heading to follow), I will explore analytics and reporting from my data model using the new lakehouse I have created.</p><p>Overall, I am thrilled with the findings from ChatGPT and pleasantly surprised by the usability of Microsoft Fabric.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=de57d7506da8" width="1" height="1" alt=""><hr><p><a href="https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-model-population-de57d7506da8">Exploring Data Modelling with ChatGPT: Part 2 Model Population</a> was originally published in <a href="https://blog.gopenai.com/">GoPenAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Data Modelling with ChatGPT: Side Quest 1]]></title>
            <link>https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-4ecf7c818c05?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ecf7c818c05</guid>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[data-vault]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Sun, 21 May 2023 21:59:42 GMT</pubDate>
            <atom:updated>2023-05-23T07:02:33.539Z</atom:updated>
            <content:encoded><![CDATA[<h4>Side Quest 1: Embarking on a Data Vault 2.0</h4><figure><img alt="Side Quest 1: Embarking on a Data Vault 2.0" src="https://cdn-images-1.medium.com/max/1024/1*nH_Q5I7Lgn5SMmZauIMRiw.png" /><figcaption>Side Quest 1: Embarking on a Data Vault 2.0</figcaption></figure><p>In my previous article, I expressed a preference for a dimensional model when it came to the physical implementation of my data model. However, some friends raised an exciting challenge, urging me to showcase the simplicity of switching alternative modelling methodologies for the physical implementation of the same logical model.</p><p>“You can’t get to the end until you’ve been changed by the journey.” — <a href="https://www.imdb.com/name/nm3718007/?ref_=tt_ch"><strong>He Who Remains</strong></a></p><p>In this experimental endeavour, I will show what an alternate universe would look like had I chosen to go with a data vault 2.0 physical data model. Once again, I will employ intricate prompt engineering techniques to generate the data vault model.</p><h4><strong>Getting started:</strong></h4><blockquote>Catching Up on the Path to the Logical Data Model</blockquote><p>It’s important <a href="https://medium.com/gopenai/exploring-data-modelling-with-chatgpt-8b3659b2222c">to read this article</a> to understand how we got to the logical data model that forms the foundation of this experiment.</p><figure><img alt="visual Logical Data Model as a result of well-crafted prompts (explicit this time round)" src="https://cdn-images-1.medium.com/max/700/0*a-DSPHb6G62XXyLq.png" /><figcaption>visual Logical Data Model as a result of well-crafted prompts (explicit this time round)</figcaption></figure><blockquote>Sophisticated prompt engineering.</blockquote><p>Assuming you are already familiar with reaching the above “visual Logical Data Model” through well-crafted prompts, let’s request chatGPT to generate a physical data model using the Data Vault 2.0 methodology. Similar to my previous approach, I specifically asked for the model to incorporate change tracking for bank holidays.</p><p>This time, I framed my question in a slightly different manner. Instead of simply asking for the model, I inquired about the most effective approach to creating it. This question format is particularly beneficial for individuals who are new to the field of modelling, as it helps them understand the reasoning behind the methodology rather than just the mechanics. The response I received contained more detailed explanations about each entity, providing a deeper understanding of the subject matter.</p><figure><img alt="result of a well-crafted prompt about creating a Data Vault 2.0 model" src="https://cdn-images-1.medium.com/max/824/1*YP_wOyqrMCW65qnwnnfnvA.png" /><figcaption>result of a well-crafted prompt about creating a Data Vault 2.0 model</figcaption></figure><blockquote>Following the instructions provided above, I successfully created a Data Vault 2.0 model.</blockquote><figure><img alt="visual results of result of a well-crafted prompt about creating a Data Vault 2.0 model" src="https://cdn-images-1.medium.com/max/1024/1*2SiDMX7rH_IO9u4Y3o27lg.png" /><figcaption>visual results result of a well-crafted prompt about creating a Data Vault 2.0 model</figcaption></figure><blockquote>below is a side-by-side of how a dimensional model and a Data Vault 2.0 model look, both derived from the same logical data model.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NhpYAj3FRNXk4tF0ZdSHNw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2SiDMX7rH_IO9u4Y3o27lg.png" /><figcaption>dimensional model vs Data Vault 2.0</figcaption></figure><blockquote>What are the benefits of flexible modelling methodology switching capability?</blockquote><p>Having the ability to switch modelling methodologies based on a single logical data model can offer several advantages, including:</p><ol><li><strong>Adaptability</strong>: Different modelling methodologies excel in different scenarios. Being able to switch methodologies allows you to adapt to changing business requirements, data sources, or analytical needs. It provides the flexibility to choose the most suitable approach for a particular situation without needing to rework the entire data model from scratch.</li><li><strong>Optimisation</strong>: Each modelling methodology has its own strengths and optimisations. By being able to switch methodologies, you can optimise your data model based on specific use cases. For example, choose a dimensional model for reporting and analysis and switch to a Data Vault model for improved data integration and traceability. This flexibility enables you to fine-tune your data model to maximise performance and efficiency.</li><li><strong>Data Governance</strong>: Different modelling methodologies have varying levels of built-in data governance features. Switching methodologies allows you to leverage specific governance capabilities that align with your organisation’s requirements. For instance, Data Vault provides extensive data lineage and auditing capabilities, while dimensional models offer intuitive hierarchies and user-friendly structures for data exploration. Adapting the methodology based on data governance needs ensures compliance and data management best practices.</li><li><strong>Skillset and Team Expertise</strong>: Modeling methodologies may require different skillsets and expertise. Switching methodologies based on a single logical data model allows you to leverage your team’s existing skills and expertise. It avoids extensive retraining or hiring of new resources, as you can utilise your team’s proficiency in multiple methodologies.</li><li><strong>Continuous Improvement</strong>: The ability to switch methodologies promotes a culture of continuous improvement and learning. By experimenting with different modelling approaches, you can discover new insights, evaluate their effectiveness, and refine your data modelling practices over time. This iterative process contributes to the evolution and maturation of your data management capabilities.</li></ol><blockquote>Conclusion</blockquote><p>ChatGPT struggled with complex relationships, reflecting the inherent complexity of Data Vault 2.0 and its intricate structure.</p><p>In conclusion, I am once again impressed by the performance of ChatGPT. I intentionally chose not to request chatGPT to generate a script for this specific task. There were two reasons behind this decision: firstly, it was a personal challenge to win a bet, and secondly, it allowed me to embark on a side quest to explore how our physical data model would look in a methodology other than the dimensional model. However, it is essential to note that the dimensional model will continue to be our primary methodology as we progress with these experiments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ecf7c818c05" width="1" height="1" alt=""><hr><p><a href="https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-4ecf7c818c05">Exploring Data Modelling with ChatGPT: Side Quest 1</a> was originally published in <a href="https://blog.gopenai.com/">GoPenAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Exploring Data Modelling with ChatGPT]]></title>
            <link>https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-8b3659b2222c?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b3659b2222c</guid>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[data-architecture]]></category>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[business-intelligence]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Mon, 08 May 2023 17:37:24 GMT</pubDate>
            <atom:updated>2023-05-12T10:20:46.207Z</atom:updated>
            <content:encoded><![CDATA[<h4>Part 1: Manual Experiments with ChatGPT</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vMXsO81Bmy9svu1GijytjQ.png" /></figure><p>Data modelling is primarily conducted by human experts, including data architects, data modellers, and analysts who possess specialised knowledge and skills. However, recent advancements in AI, especially in natural language processing (NLP) and Large Language Models (LLM), have sparked discussions about their potential impact on this field. As a data enthusiast, this got me thinking about how far I can push the boundaries of these new AI capabilities, particularly with ChatGPT. I decided to embark on a series of experiments to explore the possibilities.</p><p>In this initial phase of my experimentation, my focus will be on carrying out tasks and processes manually rather than relying on automation. By adopting this hands-on approach, I aim to provide a comprehensive understanding of the concepts, methodologies, and challenges associated with the subject matter. Furthermore, it will enable me to gather valuable insights and feedback that can guide future decisions regarding automation. Through this manual work, I aim to gain knowledge and experience that can be applied to assess the practicality and advantages of integrating automation.</p><p>If you are new to the field of data modelling, I invite you to read my other article on the significance of data modelling in the era of AI. You can find it at the following link: T<a href="https://mrmogoswane.medium.com/the-importance-of-data-modelling-in-the-age-of-ai-e0d6844c56e8">he Importance of Data Modelling in the Age of AI</a></p><h4>Getting started:</h4><blockquote>Get a ChatGPT Login.</blockquote><p>Go to chat.OpenAi.com and register for an account with an email address or a Google or Microsoft account. You must create an OpenAI website account to log in and access ChatGPT. Here is “<strong>An Ultimate Guide to ChatGPT Login</strong>” from <a href="https://www.awesomescreenshot.com/blog/knowledge/chatgpt-login">awesomescreenshot</a>.</p><blockquote>Get the data required.</blockquote><p>I will be using the data provided by <a href="https://www.kaggle.com/datasets/kmldas/hr-case-study?resource=download">this Kaggle Open Dataset</a>, and If you intend to follow along, you will need to download the data to your local machine. The following CSV/datasets will be required <strong>HR Case Study.csv</strong></p><blockquote>Sophisticated prompt engineering.</blockquote><p>We will start by creating well-crafted prompts and utilising ChatGPT to analyse the sample data downloaded in our previous step. This analysis will enable us to extract the important concepts present in the data. We can then construct our <strong>conceptual</strong>, <strong>logical</strong>, and <strong>physical </strong>data models.</p><figure><img alt="Sample data from “HR Case Study”Sample data from “HR Case Study”" src="https://cdn-images-1.medium.com/max/1024/1*N9r9wDy0Sn153ecaiOC5IQ.png" /><figcaption>Sample data from “HR Case Study”</figcaption></figure><blockquote>well-crafted prompt</blockquote><figure><img alt="well-crafted prompts with Sample data" src="https://cdn-images-1.medium.com/max/700/1*mVnMVULVS2HBm4gXukfpiQ.png" /><figcaption>well-crafted prompts with Sample data</figcaption></figure><figure><img alt="results of well-crafted prompts with Sample data" src="https://cdn-images-1.medium.com/max/820/1*8V4oEoIsxwHWwrkgm2U2DQ.png" /><figcaption>results of well-crafted prompts with Sample data</figcaption></figure><blockquote>I was able to generate a straightforward visualisation of the concepts using the information above.</blockquote><figure><img alt="Conceptual Data Model as a results of well-crafted prompts with Sample data" src="https://cdn-images-1.medium.com/max/1024/1*pQmjtxZeL5vI3LY7zxQeGQ.png" /><figcaption>Conceptual Data Model as a result of well-crafted prompts with Sample data</figcaption></figure><blockquote>I subsequently requested chatgpt to generate a logical model; however, it failed to recognise the similarity between distance and location as concepts. as a result, I had to explicitly instruct it to merge these two concepts into a single logical entity, with distance being considered an attribute.</blockquote><figure><img alt="Conceptual Data Model as a result of well-crafted prompts (explicit this time round) with Sample data" src="https://cdn-images-1.medium.com/max/794/1*EXI810UfwzZEwyWIfnRRxA.png" /><figcaption>Logical Data Model as a result of well-crafted prompts (explicit this time round) with Sample data</figcaption></figure><blockquote>Despite yielding satisfactory results, GPT overlooked a minor detail: cardinality. I had to include it as part of my well-crafted prompt, and ChatGPT redeemed itself.</blockquote><figure><img alt="result from a well-crafted prompt requesting cardinality" src="https://cdn-images-1.medium.com/max/720/1*jWMg7n22ZaorHhsPNppzxw.png" /><figcaption>result from a well-crafted prompt requesting cardinality</figcaption></figure><blockquote>Once again, I successfully visualised the concepts clearly and concisely.</blockquote><figure><img alt="visual Logical Data Model as a result of well-crafted prompts (explicit this time round)" src="https://cdn-images-1.medium.com/max/1024/1*5bvLE0wiXwqf8DGlI4z4AA.png" /><figcaption>visual Logical Data Model as a result of well-crafted prompts (explicit this time round)</figcaption></figure><blockquote>Considering its suitability for analytics, I decided to utilise a dimensional model for the physical data model. Additionally, I am a firm supporter of employing dimensional models. To simplify data analysis, I requested the inclusion of change tracking in my dimensions. Furthermore, I specifically asked for SCD Type 4 implementation for the rating dimension, as it has the potential to undergo more frequent changes compared to other dimensions. Lastly, I expressed the desire to stay informed about bank holidays.</blockquote><figure><img alt="physical (dimensional) Data Model as a result of well-crafted prompts" src="https://cdn-images-1.medium.com/max/811/1*YAGYLyO59BuQUmq-fl8qog.png" /><figcaption>Physical (dimensional) Data Model as a result of well-crafted prompts</figcaption></figure><figure><img alt="physical (Fact) Data Model as a result of well-crafted prompts" src="https://cdn-images-1.medium.com/max/734/1*tmCpIzYjum9GNboXXih_ew.png" /><figcaption>Physical (Fact) Data Model as a result of well-crafted prompts</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/732/1*EVdyZqC4VXONfAgQH-DRcw.png" /></figure><blockquote>Once again, I successfully visualised the dimensional data model.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CryJ8tjW4r7S8d2T4NHG1w.png" /></figure><blockquote>I requested GPT to generate scripts for creating the model with SQL Server as my target database. Once again, GPT delivered the desired results successfully.</blockquote><pre>-- Create Dimension Tables<br>CREATE TABLE dim_Employee (<br>    EmployeeID INT PRIMARY KEY,<br>    Name VARCHAR(100),<br>    Gender VARCHAR(10),<br>    Age INT,<br>    TenureInCompany DECIMAL(5, 2),<br>    ValidFrom DATE,<br>    ValidTo DATE,<br>    CurrentFlag BIT<br>);<br><br>CREATE TABLE dim_Department (<br>    DepartmentID INT PRIMARY KEY,<br>    Department VARCHAR(100),<br>    ValidFrom DATE,<br>    ValidTo DATE,<br>    CurrentFlag BIT<br>);<br><br>CREATE TABLE dim_Salary (<br>    SalaryID INT PRIMARY KEY,<br>    AnnualSalary DECIMAL(10, 2),<br>    ValidFrom DATE,<br>    ValidTo DATE,<br>    CurrentFlag BIT<br>);<br><br>CREATE TABLE dim_Location (<br>    LocationID INT PRIMARY KEY,<br>    Location VARCHAR(100),<br>    ValidFrom DATE,<br>    ValidTo DATE,<br>    CurrentFlag BIT<br>);<br><br>CREATE TABLE dim_Rating (<br>    RatingID INT PRIMARY KEY,<br>    Rating VARCHAR(100),<br>    ValidFrom DATE,<br>    ValidTo DATE,<br>    CurrentFlag BIT,<br>    EffectiveDate DATE<br>);<br><br>CREATE TABLE dim_Date (<br>    DateKey INT PRIMARY KEY,<br>    [Date] DATE,<br>    [Day] INT,<br>    [Month] INT,<br>    [Year] INT,<br>    IsBankHoliday BIT<br>);<br><br>-- Create Fact Table<br>CREATE TABLE Fact_Employee (<br>    EmployeeID INT,<br>    DepartmentID INT,<br>    SalaryID INT,<br>    LocationID INT,<br>    RatingID INT,<br>    DistanceToOffice DECIMAL(10, 2),<br>    ValidFrom DATE,<br>    ValidTo DATE<br>);<br><br>-- Add foreign key constraints<br>ALTER TABLE Fact_Employee<br>ADD CONSTRAINT FK_Fact_Employee_dim_Employee FOREIGN KEY (EmployeeID)<br>    REFERENCES dim_Employee (EmployeeID);<br><br>ALTER TABLE Fact_Employee<br>ADD CONSTRAINT FK_Fact_Employee_dim_Department FOREIGN KEY (DepartmentID)<br>    REFERENCES dim_Department (DepartmentID);<br><br>ALTER TABLE Fact_Employee<br>ADD CONSTRAINT FK_Fact_Employee_dim_Salary FOREIGN KEY (SalaryID)<br>    REFERENCES dim_Salary (SalaryID);<br><br>ALTER TABLE Fact_Employee<br>ADD CONSTRAINT FK_Fact_Employee_dim_Location FOREIGN KEY (LocationID)<br>    REFERENCES dim_Location (LocationID);<br><br>ALTER TABLE Fact_Employee<br>ADD CONSTRAINT FK_Fact_Employee_dim_Rating FOREIGN KEY (RatingID)<br>    REFERENCES dim_Rating (RatingID);</pre><blockquote>Conclusion</blockquote><p>In conclusion, I was pleasantly surprised by how well ChatGPT performed. It exceeded my expectations. With a small amount of data, ChatGPT showed an exceptional understanding of the data and how everything is connected. I was able to create a conceptual data model, a logical data model with explanations of the data concepts, and even a physical data model of my choice. Seeing such a high level of understanding with limited information was interesting.</p><p>In the subsequent phases of my experimentation (Part 2: Heading to follow), I will create the actual physical data model. I’ll populate the model with data from my spreadsheet and maybe start exploring automation (ETL).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b3659b2222c" width="1" height="1" alt=""><hr><p><a href="https://blog.gopenai.com/exploring-data-modelling-with-chatgpt-8b3659b2222c">Exploring Data Modelling with ChatGPT</a> was originally published in <a href="https://blog.gopenai.com/">GoPenAI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Importance of Data Modelling in the Age of AI]]></title>
            <link>https://mrmogoswane.medium.com/the-importance-of-data-modelling-in-the-age-of-ai-e0d6844c56e8?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/e0d6844c56e8</guid>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[ai-strategy]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-model]]></category>
            <category><![CDATA[data-strategy]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Sun, 12 Feb 2023 23:08:32 GMT</pubDate>
            <atom:updated>2023-02-12T23:08:32.386Z</atom:updated>
            <content:encoded><![CDATA[<h4>Using data modelling to support your AI strategy</h4><figure><img alt="Using data modelling to support your AI strategy" src="https://cdn-images-1.medium.com/max/720/1*d808AjaPIilQP6R8GLUdWA.png" /><figcaption>Artificial Intelligence (AI) and machine learning, data modelling</figcaption></figure><p>In the age of Artificial Intelligence (AI) and machine learning, data modelling is still a critical component of any successful AI strategy. In this blog post, we’ll explore the relationship between AI strategy and data strategy and then discuss what data modelling is and why it’s still important in the age of AI.</p><blockquote>“Contextual information not only results in better performing AI systems but also in a clearer ethical perspective for those creating and shaping it“ — Emil Eifrem</blockquote><p>What is an AI strategy in relation to a data strategy? Before we dive into data modelling, let’s first define what we mean by AI strategy and data strategy. An AI strategy is a plan that outlines how an organisation will leverage AI and machine learning to achieve its goals. A data strategy, on the other hand, is a plan that outlines how an organisation will manage, store, and use its data to achieve its goals.</p><p>The two strategies are closely intertwined, as AI and machine learning rely on high-quality, accurate data to function effectively. Without a clear understanding of the underlying data structure, it’s easy for AI to misinterpret or misclassify data, resulting in inaccurate predictions and insights. This is where a data strategy comes in — By planning how data will be collected, managed, and analysed, organisations can guarantee that their AI systems use the best possible data for the best possible outcomes.</p><p>In addition, a data strategy is critical for ongoing AI performance monitoring and optimisation. As AI models are deployed and begin processing new data, a good data strategy can help organisations identify and troubleshoot any issues that arise, allowing for continuous improvement and refinement of their AI models.</p><p>What is data modelling? With the AI and data strategies defined, let’s dive into what data modelling is. According to Mike Sargo, Chief Data and Analytics Officer and Co-Founder of Data Ideology, “<a href="https://www.dataideology.com/data-modeling-key-to-success/">A data model enables you to make decisions based on facts instead of educated guesses</a>”.In simplest terms, data modelling is the process of creating a visual representation of a dataset. This representation helps analysts better understand the relationships between data points and identify trends and patterns that would otherwise be difficult to spot. The result is a more complete, nuanced understanding of the data — something that’s essential for any successful AI implementation.</p><p>Why is data modelling still relevant in the age of AI? So, why is data modelling still crucial in a world where machines can perform complex data analysis independently? As we discussed earlier, an AI is only as effective as the data it’s trained on. Without a clear understanding of the underlying data structure, it’s easy for AI to misinterpret or misclassify data, resulting in inaccurate predictions and insights. By creating a visual representation of the data structure, analysts can identify and address any anomalies, redundancies, or inconsistencies in the data, ensuring that the AI model is trained on high-quality, accurate data.</p><p>Now that we have examined why data modelling remains relevant in the age of AI, let’s take some time to explore the different types of available data models. There are three main types of data models: conceptual, logical, and physical.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*8fCqa-TERXta5bPngw98aA.png" /><figcaption>three main types of data models</figcaption></figure><ol><li><strong>Conceptual data model</strong>: This type of data model represents the high-level relationships between entities and their attributes. It provides a conceptual view of the data, and is often used in the early stages of a project to help stakeholders understand the scope and requirements of the project.</li><li><strong>Logical data model</strong>: This type of data model provides a more detailed view of the data, showing the relationships between entities, their attributes, and the business rules that govern them. It’s used to establish the technical requirements of a project and to identify any data constraints or limitations.</li><li><strong>Physical data model</strong>: This type of data model provides a detailed view of the physical storage and access methods for the data. It ensures that the data is stored and accessed efficiently and securely.</li></ol><p>Now that we’ve explored the different types of data models let’s dive into some of the techniques that can be used for data modelling.</p><ol><li><strong>Entity-Relationship (ER) modelling</strong>: ER modelling is a technique for representing the relationships between entities in a dataset. It involves creating a diagram that shows the different entities in the dataset and the relationships between them. This technique is often used in the early stages of a project to help stakeholders understand the relationships between different data points.</li><li><strong>Object-oriented modelling</strong>: Object-oriented modelling is a technique that involves creating a class hierarchy to represent the different entities in a dataset. Each class represents a different entity, and the relationships between entities are represented by the relationships between classes. This technique is often used in software development, where it’s essential to represent complex datasets in an easy-to-understand way.</li><li><strong>Dimensional modelling</strong>: Dimensional modelling is a commonly used technique in data warehousing. It involves organising the data into “dimensions” (e.g. time, location, product) and “facts” (e.g. sales, revenue, profit). This technique helps analyse large datasets and for creating easy-to-understand reports and visualisations.</li><li><strong>Data Vault modelling</strong>: Data Vault modelling is a technique that’s designed to handle large, complex datasets. It involves breaking the data down into smaller, more manageable pieces and creating a flexible, scalable data model that can easily accommodate changes in the dataset. This technique is often used in big data applications, where the dataset is constantly changing and evolving.</li><li><strong>Graph data modelling</strong>: Graph data modelling is a commonly used technique to represent complex relationships between entities. It involves creating a graph showing the different entities and their relationships. This technique is often used in applications that involve recommendation engines, fraud detection, and social network analysis.</li></ol><p>Conclusion</p><p>In conclusion, while AI and machine learning are transforming how we analyse and use data, data modelling is still a crucial part of any successful AI strategy. By using the different types of data models and the various data modelling techniques, organisations can ensure that they’re providing high-quality, accurate data to their AI systems, leading to more effective predictions and insights.</p><p>References:</p><ol><li>The Entity-Relationship Model — Toward a Unified View of Data Vol. 1 (1), 1976, Peter Pin-Shan Chen: <a href="https://dspace.mit.edu/bitstream/handle/1721.1/47432/entityrelationshx00chen.pdf">https://www.dragon1.com/downloads/peter-chen-entity-relationhip-model.pdf</a>.</li><li>DObject-Oriented Modeling: A Roadmap, Gregor Engels, Luuk Groenewegen: <a href="http://www0.cs.ucl.ac.uk/staff/A.Finkelstein/fose/finalengels.pdf">Enterprise Strategy Group, 27 Feb. 2020, https://www.esg-global.com/blog/data-modeling-still-critical-for-machine-learning</a>.</li><li>A Dimensional Modeling Manifesto August 2, 1997, Ralph Kimball: <a href="https://www.kimballgroup.com/1997/08/a-dimensional-modeling-manifesto/">https://www.kimballgroup.com/1997/08/a-dimensional-modeling-manifesto/</a></li><li>Building a Scalable Data Warehouse with Data Vault 2.0 1st Edition September 15, 2015”, Dan Linstedt, Michael Olschimke: <a href="https://www.google.co.uk/books/edition/Building_a_Scalable_Data_Warehouse_with/lgDJBAAAQBAJ?hl=en&amp;gbpv=1&amp;printsec=frontcover">https://www.google.co.uk/books/edition/Building_a_Scalable_Data_Warehouse_with/lgDJBAAAQBAJ?hl=en&amp;gbpv=1&amp;printsec=frontcover</a></li><li>Toward AI Standards: Why Context Is Critical for Artificial Intelligence”, Emil Eifrem: <a href="https://neo4j.com/emil/toward-ai-standards-why-context-is-critical-for-artificial-intelligence/">https://neo4j.com/emil/toward-ai-standards-why-context-is-critical-for-artificial-intelligence/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e0d6844c56e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Fourth Industrial Revolution: Maximizing Education in South Africa with AI]]></title>
            <link>https://mrmogoswane.medium.com/the-fourth-industrial-revolution-maximizing-education-in-south-africa-with-ai-9e018904b0df?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e018904b0df</guid>
            <category><![CDATA[education-technology]]></category>
            <category><![CDATA[education-reform]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[4ir]]></category>
            <category><![CDATA[chatgpt]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Mon, 06 Feb 2023 00:35:35 GMT</pubDate>
            <atom:updated>2023-02-06T00:35:35.749Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Impact of the Fourth Industrial Revolution on Education in South Africa</h4><figure><img alt="The Impact of the Fourth Industrial Revolution on Education in South Africa" src="https://cdn-images-1.medium.com/max/1024/1*MUHcFB0Rs6aYFvlr6K1BbQ.png" /><figcaption>The Impact of the Fourth Industrial Revolution on Education in South Africa</figcaption></figure><p>South Africa has a rich cultural heritage and abundant natural resources. However, its education system has been plagued with challenges that hinder the growth and development of the nation. The current state of education in the country is characterised by unequal access to quality education, inadequate infrastructure, and a shortage of skilled teachers. With the rise of the Fourth Industrial Revolution (4IR), the need for education reform has become even more pressing. The 4IR represents a new era of technological advancement transforming how people live, work and learn.</p><p>The impact of the 4IR on education in South Africa is complex and multi-faceted. While the country has the potential to harness the power of technology to improve the quality of education and increase access to it, the issue is more complex than just power infrastructure. Political uncertainty, social disparity, historical oppression, and corruption are just some of the underlying challenges that need to be addressed with priority and urgency in order to keep pace with 4IR-related matters.</p><p>According to a report by the Human Sciences Research Council (HSRC), the dropout rate in South Africa was estimated to be around 15% in 2008. The report also stated that the dropout rate was highest among disadvantaged populations, such as rural communities and communities with low socio-economic status.</p><p>According to a 2021 report by the South African Institute of Race Relations (SAIRR), the dropout rate in South Africa increased from 15% in 2008 to 20% in 2021. The report also stated that the dropout rate was highest among black African learners, who comprise most of the country’s student population.</p><blockquote>“No country can really develop unless its citizens are educated.” — <strong>Nelson Mandela.</strong></blockquote><p>The good news is that there are competent individuals and institutions in South Africa that can propel the country forward quickly. The use of cutting-edge technologies, such as artificial intelligence and machine learning, has the potential to revolutionise the education sector. An example of such a technology is OpenAI’s ChatGPT. This technology can revolutionise education in South Africa by providing students with personalised and interactive learning experiences.</p><p>ChatGPT is a language model that has been trained on vast amounts of data, making it capable of answering questions, generating text, and performing a wide range of tasks. In the field of education, ChatGPT can be used to create digital assistants that can assist students with their studies. These digital assistants can provide students with instant feedback and guidance on their homework and assignments, helping to improve their learning outcomes.</p><p>In addition, ChatGPT can also be used to create virtual tutors to help students with their studies. These virtual tutors can provide students with tailored lessons and support, allowing them to learn at their own pace. Using ChatGPT, students can access education from anywhere, anytime, and on any device. This opens up new possibilities for students with limited access to quality education due to geographical or financial constraints.</p><p>The use of technologies such as ChatGPT can also help to address the shortage of skilled teachers in South Africa. By providing students with virtual tutors, students can receive high-quality education even in areas lacking skilled teachers. In addition, ChatGPT can also be used to train teachers, helping to improve the quality of education in the country.</p><p>In conclusion, the 4IR represents a unique opportunity for South Africa to address the challenges facing its education sector and transform how people learn. With the use of cutting-edge technologies such as ChatGPT, the country has the potential to provide its citizens with access to quality education, regardless of their background or location. By harnessing the power of technology, South Africa can position itself as a leader in the 4IR and secure a brighter future for its people.</p><p>References:</p><ol><li>OpenAI. (2022). OpenAI: <a href="https://openai.com/about/">https://openai.com/about/</a></li><li>Large Language Model Training — Guide in 2023: <a href="https://research.aimultiple.com/large-language-model-training/">https://research.aimultiple.com/large-language-model-training/</a></li><li>World Economic Forum. (2021). Fourth Industrial Revolution: <a href="https://www.weforum.org/topics/fourth-industrial-revolution">https://www.weforum.org/topics/fourth-industrial-revolution</a></li><li>Human Sciences Research Council. (2008): <a href="https://hsrc.ac.za/uploads/pageContent/1088/Dropout%20rates.pdf">https://hsrc.ac.za/uploads/pageContent/1088/Dropout%20rates.pdf</a></li><li>Department of Basic Education (DBE) website: <a href="https://www.education.gov.za/">https://www.education.gov.za/</a></li><li>South African Institute of Race Relations (SAIRR) website: <a href="https://www.sairr.org.za/">https://www.sairr.org.za/</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e018904b0df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Fourth Industrial Revolution: South Africa’s Power Grid Struggle in the Digital Age]]></title>
            <link>https://mrmogoswane.medium.com/the-fourth-industrial-revolution-south-africas-power-grid-struggle-in-the-digital-age-fce39659cb2e?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fce39659cb2e</guid>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 23:05:53 GMT</pubDate>
            <atom:updated>2023-01-29T23:05:53.437Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0RRJ0Hn0UZrTcbj6DwYZXA.png" /><figcaption>The Fourth Industrial Revolution: South Africa’s Power Grid Struggle in the Digital Age</figcaption></figure><p>The Fourth Industrial Revolution (4IR) is transforming the world with game-changing technologies such as artificial intelligence (AI), robotics, cloud computing, and the Internet of Things (IoT). However, as the world races towards the future, South Africa is still grappling with its place in this digital age. Despite significant advances in information and communication technologies (ICT), the country still needs to improve and keep pace with the fast-evolving digital landscape, particularly in infrastructure.</p><p>One of the most pressing issues South Africa faces is the lack of power infrastructure, which is crucial for the country’s ability to support the growing demand for electricity from businesses and households. This lack of infrastructure is a significant hindrance to the country’s ability to fully embrace the 4IR and reap its benefits. For example, many businesses struggle to adopt modern, tech-driven strategies and methodologies, as the outdated and fragile power grid makes it difficult to support the energy requirements of cutting-edge technologies.</p><p>The <strong>COVID-19</strong> pandemic has only added to the country’s challenges, as businesses have been forced to pivot to remote working quickly. This has put additional pressure on the country’s power grid, as millions of people now work from home, relying on electricity to keep their work going. Unfortunately, the lack of power infrastructure has made it difficult for businesses to make this transition, as many struggle with power cuts and load shedding, which disrupts their operations and productivity.</p><p>The South African government has recognised the importance of upgrading the country’s power grid, but progress has been slow. The government has launched various initiatives to modernise the grid, such as the <a href="https://www.energy.gov.za/irp/2019/IRP-2019.pdf">Integrated Resource Plan (IRP)</a> and the <a href="https://www.gov.za/about-government/government-programmes/renewable-independent-power-producer-programme">Renewable Energy Independent Power Producer Procurement (REIPPP) program</a>. Still, implementation has been sluggish, and much more needs to be done.</p><p>In conclusion, the need for more power infrastructure is a significant challenge for South Africa in its quest to embrace the 4IR fully. With a reliable power grid, the country can support the growing demand for electricity from businesses and households. It will take time to keep pace with the fast-evolving digital landscape. The government must prioritise upgrading the country’s power grid, as this is crucial for the country’s ability to support the growth and development of businesses and households.</p><p>References:</p><ol><li>World Bank (2021). “South Africa Power Grid Upgrade”. Available at <a href="https://data.worldbank.org/topic/energy">https://data.worldbank.org/topic/energy</a></li><li>Integrated Resource Plan (IRP) (2020). “South African Department of Energy”. Available at <a href="https://www.energy.gov.za/irp">https://www.energy.gov.za/irp</a></li><li>Renewable Energy Independent Power Producer Procurement (REIPPP) program (2020). “South African Department of Energy”. Available at <a href="https://www.energy.gov.za/reippp">https://www.energy.gov.za/reippp</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fce39659cb2e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Fourth Industrial Revolution: Developing countries can take advantage]]></title>
            <link>https://mrmogoswane.medium.com/the-fourth-industrial-revolution-developing-countries-can-take-advantage-80aa4afbcf1a?source=rss-ceb613657bb3------2</link>
            <guid isPermaLink="false">https://medium.com/p/80aa4afbcf1a</guid>
            <category><![CDATA[data-and-analytics]]></category>
            <category><![CDATA[revolution]]></category>
            <category><![CDATA[fourth-industrial]]></category>
            <category><![CDATA[developing-countries]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Tshepiso Mogoswane]]></dc:creator>
            <pubDate>Sun, 29 Jan 2023 22:29:36 GMT</pubDate>
            <atom:updated>2023-01-29T22:29:36.893Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="The Future of Industry is Here, Experience the 4IR Now!" src="https://cdn-images-1.medium.com/max/1024/1*cbxE9zuNczJUUDU58BxXxQ.png" /><figcaption>The Future of Industry is Here, Experience the 4IR Now!</figcaption></figure><p>The world is ready to enter the era of the fourth industrial revolution. The fourth industrial revolution has the power to dramatically change the world’s economy. To keep up with this technological tsunami, the industrial sector will need to be radically restructured. Most developing countries depend on employment outsourcing due to low labour costs. However, governments are starting to realize the golden opportunity they have, and they will try to bring manufacturing to their own country to provide more cheap and effective manufacturing using intelligent technologies. Several developing nations have begun to concentrate on implementing the fourth industrial revolution. However, these countries must overcome several obstacles before they can make a profit from these technologies. There are a number of areas in which developing countries need improvement to start benefiting from the fourth industrial revolution. (Sohail Asghar, 2020)</p><h4>Some of the challenges for developing countries:</h4><ul><li>Lack of Awareness about 4th Industrial Revolution</li><li>Lack of Strategy to adopt 4th Industrial Revolution</li><li>Lack of collaboration between industry and academia</li><li>Lack of infrastructure</li><li>Lack of specialists in the required field</li></ul><h4>Lack of Awareness:</h4><ul><li>Basic things taken for granted in developed countries can challenge developing countries. In some developing countries, even access to the internet is a problem.</li></ul><h4>Lack of strategy:</h4><ul><li>Most developing countries lack the government’s vision towards the 4th Industrial Revolution, which leads to a lack of strategy for moving towards the 4th Industrial Revolution.</li></ul><h4>Lack of collaboration:</h4><ul><li>The lack of availability of technical courses in developing countries is also an issue for them.</li></ul><h4>Lack of infrastructure:</h4><ul><li>Some countries need more basic infrastructure in industry and IT.</li></ul><h4>Lack of specialist:</h4><ul><li>The lack of infrastructure in academia and government policies is causing a depletion in skilled personnel.</li></ul><h4>Solutions:</h4><p>It is critical for developing nations to avoid falling behind and to take efforts to benefit from the industrial revolution. Investing in knowledge, research, and innovation is becoming increasingly important in many developing countries. This is a critical step in ensuring that these nations benefit from manufacturing and production advances as well. There are a number of innovative solutions for the nations to start their journey towards the 4th Industrial Revolution. These are the foundations for implementing the 4th Industrial Revolution in manufacturing.</p><h4>Solution for developing countries:</h4><ul><li>Artificial intelligence (AI)</li><li>Big data</li><li>Internet of things</li></ul><p>AI is the simulation of human intelligence demonstrated by machines. AI is an integral part of Robotics and the Internet of things (IoT). These are the faces of technologies that gave birth to 4th International Relations.</p><p>Building the complicated and expensive infrastructure required for transportation, electricity, healthcare, and education is a long and expensive process that can take decades and generations to complete. But with the help of AI, nations are more likely to overcome infrastructural shortages more rapidly and efficiently. In certain areas, artificial intelligence (AI) provides governments with new means to boost productivity; in others, it allows them to bypass old development patterns, obviating the need for costly infrastructure or, at the very least, making it considerably less capital-demanding. In the fourth industrial revolution, artificial intelligence is starting to deliver on its promises of producing actual value for developed countries, which is needed by the availability of relevant data, processing capabilities, and algorithms. (GRAF, 2020)</p><h4>Big Data</h4><p>Sensors and the Internet of Things have resulted in massive quantities of data being generated. This information is critical to the 4th Industrial Revolution idea as a whole. However, this data must be used effectively so that the knowledge it creates can be used to make factory-floor decisions. The volume of data created in this environment is too much for traditional analytical software to manage. In an industrial setting, advanced analytical tools are required to identify patterns and make choices based on the massive amounts of data collected. (Zhong, 2017)</p><p>Big data is the answer to the question of decision-making. It makes life easy by helping in showing the way forward, what are the steps needed to move towards innovation, and what could be best for the nation.</p><h4>Impact of 4th Industrial Revolution on society</h4><p>In times where developing countries are fighting with poverty and increasing unemployment rates. There are riots in South Africa triggered by jobs layoffs and the effect of COVID-19 on the economy. 4The 4th Industrial Revolution and the promise of a digital economy can change the situation for developing countries like South Africa. Data and Artificial Intelligence can provide solutions to South African problems in a multitude of ways. They can help in analysing the problems of South Africa. They can help to check and making better strategies for coping up with challenges. Big Data and Artificial Intelligence will provide novel solutions to the South African problem which is creating chaos in society nowadays. Building the infrastructure in the academic field to provide skill learning can be very helpful. Other capacity-building measures are also necessary to take the country on the pathway of the 4th Industrial Revolution. In the current scenario, there are more jobs available and less skilful people available.</p><p>According to a PwC poll conducted in the fall of 2019, half of the company leaders believe 4IR technology would kill jobs, while the majority (69%) believe it will generate new ones. (PwC, 2019)</p><h4>References</h4><p>GRAF, W. S. &amp;. L., 2020. How AI can help developing countries rebuild after the pandemic.</p><p>PwC, 2019. <em>Are we ready for the Fourth Industrial Revolution?. </em>[Online] Available at: <a href="https://www.pwc.com/us/en/services/consulting/library/consumer-intelligence-series/fourth-industrial-revolution.html">https://www.pwc.com/us/en/services/consulting/library/consumer-intelligence-series/fourth-industrial-revolution.html</a></p><p>Sohail Asghar, G. R. T. A. M. I. T., 2020. The Fourth Industrial Revolution in the Developing Nations: Challenges and Road Map. FEB.</p><p>Zhong, R. X. X. E. K. a. S. N., 2017. Intelligent manufacturing in the context of industry 4.0: a review. pp. 616–630.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80aa4afbcf1a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>