Examples of code from MSc course in Advanced Topics in Data Modelling