Knowledge graph data modelling with TerminusDB

Cheuk Ting Ho (~Cheukting)


Storing data in a tabular format is not always ideal. Taking advantage of strong data in knowledge graphs can make handling complex data structure possible and data visualization easier. In this workshop, you will get all the basics to start modelling data in the terms of triples and building schemas of a knowledge graph.

For whom is your Workshop

Data scientist, engineers and researchers who have no prior experience in knowledge graph data modelling. In this workshop, we will start from the fundamentals - learning how to think in terms of triples to describe relations of different data objects. If your work involves data analysis, data management, data collaboration or anything data-related, this is a workshop for you to have a brand new insight into how data should be represented and stored.

Short Format of your Workshop

Overview-5 min, Lecture - 30 mins, Breaks- 10 minutes, Hands-on training - 40 mins, Closing - 5 mins

Workshop Agenda

Overview-5 min In this session, we will go through the workshop structure, introduce TemrinusDB - the open-source tool that we use and pre-flight check to make sure everyone’s set up is ready.

Lecture - 30 mins In this session, through slides and presentation, we will go through the fundamental construct of a knowledge graph: - What is triple - What are objects, documents, and other elements in a knowledge graph - Different types of properties Then we will show an example of how data that was represented in a relational database (tables joined with keys) can be reconstructed as a knowledge graph and the elegance of doing so.

Breaks- 10 minutes A short break, overrun buffer and answering questions.

Hands-on training - 40 mins At the start of this session, there will be a short tour and demo of how they can build a knowledge graph schema with the schema builder in TerminusDB. (10 mins)

Then attendees will be given a dataset that is represented in tables and they will need to apply what they learnt in the lecture and construct a schema that works the best for it. They are encouraged to ask questions during this session. (20 mins)

Finally, we will be building the same schema with the Python client. (10mins)

Closing - 5 mins In this session, we will conclude what the attendee has achieved. We will also provide suggestions if they would like to continue learning how to work with knowledge graphs and acquire related skills - for example, using Python client to manage data in TerminusDB programmatically.

What is required from attendees

A computer with stable internet connection; TerminusDB Desktop App or Docker image (a.k.a TerminusDB Bootstrap) which you can download from (FREE); Python client for TerminusDB (require Python >=3.6); An opened mind and ready to learn something new

What Attendees Will Learn

By the end of the workshop, you will be able to think like a knowledge graph expert and construct a proper schema to store your data in a knowledge graph format. You will acquire the skills that you need to build knowledge graphs in TerminusDB - an open-source graph database that enables revisional control and collaborations.

Course Benefits

You will have learnt a new skill set that may assist you in your project in data science or research. You will have a new tool that you can better model your data and collaborate with others. Also, you gain all the prerequisites to use WOQL - a query language for knowledge graph and the TerminusDB Python client to manage, manipulate and visualize data in your knowledge graph.


A computer with stable internet connection; TerminusDB Desktop App or Docker image (a.k.a TerminusDB Bootstrap) which you can download from (FREE); Python client for TerminusDB (require Python >=3.6); An opened mind and ready to learn something new

Speaker Info:

After spending 5 years doing computational research in Physics, Cheuk has transferred her analytical and logical skills in natural science and built a career in data science. Cheuk has been a Data Scientist in various companies which demands high numerical and programmatical skills, especially in Python. To follow her passion for the tech community, now Cheuk is the Developer Relations Lead at TerminusDB - an open-source graph database. Cheuk maintains its Python client and engages with its user community daily.

Besides her work, Cheuk enjoys talking about Python in personal streaming platform and MidMeetPy podcast. Cheuk has also been a guest speaker at Universities and various conferences. On top of speaking at conferences, Cheuk also participates as organizers. Conferences that Cheuk has organized include EuroPython(which she is a board member of), PyData Global and Pyjamas Conf. Believing in gender equality, Cheuk constantly organizes workshops and mentored sprints to support Tech Diversity and Inclusion.

Speaker Links:

Website: Twitter: GitHub:

Section: Data Science, Machine Learning and AI
Type: Workshop
Target Audience: Advanced
Last Updated: