And eventually reached some kind of data nirvana:
At this point, I started to realize I was mostly making a good model somehow very worse. But, I did have the realization that a fully normalized database is already in the form of subject, predicate, object. In a normalized database you already have “Employee A is in Department B” and in this case you have the SCD2 to answer when Employee A belonged to department C.
This was in no way the result I wanted though! And in full disclosure has taken me over a year to finally write up. I had no clue what to do with this new found info. If anything maybe it will stop someone else from going through a useless modeling exercise. But, I was disappointed with the result. I had further plans involving dbt modeling and an exposition on using SQLite as a data warehouse too. This is the modeling equivalent of translating between cartesian and polar coordinates — useful and interesting, but hardly groundbreaking. In the end, I did learn something new and it’s always valuable to see where your curiosity takes you.