Member-only story

Getting Started

A guide to Knowledge Graphs

A consolidation of notes that briefly but gently introduces Knowledge graphs and shines a light on several practical aspects.

Mohit Mayank
Towards Data Science
10 min readAug 30, 2021

--

Photo by Clint Adair on Unsplash

Table of Contents

  • Introduction
    - What is a Knowledge Graph (KG)?
    - Why KG?
    - How to use KG?
  • KG in practice
    - Open source KGs
    - Creating custom KG
    - KG Ontology
    - Hosting KG (database)
    - Query facts from KG

Introduction

In this section, we will introduce KG by asking some simple but intuitive questions about KG. In fact, we will cover the what, why, and how of the knowledge graph. We will also go through some real-world examples.

What is a Knowledge graph?

  • To better under Knowledge graphs, let's start by understanding its basic unit i.e. a “fact”. A fact is the most basic piece of information that can be stored in a KG. Facts can be represented in form of triplets in either of the ways,
    - HRT: <head, relation, tail>
    - SPO: <subject, predicate, object>
  • Remember, the above representations are just for nomenclature sake, hence you may come across people referring to the fact either way. Let’s follow the HRT representation for…

--

--

Towards Data Science
Towards Data Science

Published in Towards Data Science

Your home for data science and AI. The world’s leading publication for data science, data analytics, data engineering, machine learning, and artificial intelligence professionals.

Mohit Mayank
Mohit Mayank

Written by Mohit Mayank

Senior Data Scientist | AI/ML Researcher | Creator of “Jaal” | Author of “Lazy Data Science Guide” | Linkedin & Twitter: @imohitmayank

Responses (4)