Knowledge Graphs: A Starter

Check — Knowledge Graph Series [https://ogre51.medium.com/knowledge-graph-series-01aa961c0d21]

Rahul S
3 min readMay 17, 2024

A knowledge graph is built upon the foundation of graph theory. Graphs are structures used to model pairwise relations between objects.

A graph is composed of two primary elements: nodes and relationships.

Nodes:

  • Nodes represent individual objects or entities, akin to records in a conventional database. These entities can be anything from a person, a company, to a location.
  • Nodes are categorized by labels, which facilitate the classification and querying of these nodes based on their roles, such as “Customer” or “Product.”

Relationships:

  • Relationships are the links that connect nodes, defining the interactions or relations between different entities.
  • For instance, a person might be connected to a company through an “EMPLOYED_BY” relationship or to a geographical location through a “LIVES_IN” relationship.

These relationships are what give graphs their power, allowing for the representation of complex interconnections in a direct and intuitive manner.

--

--