SlideShare a Scribd company logo
Introduction to DGraph -
A Graph database
Akshansh Jain
Software Consultant
Knoldus Inc.
Agenda
● Brief Introduction to Graph database
● Why graph database?
● Applications of graph database
● Introduction to DGraph
● Components of DGraph
● How to get started with DGraph?
● RDF Triple
● DGraph Schema
● DGraph Mutation
● A Glimpse at GraphQL +/-
Brief Introduction to Graph
Database
A graph database is essentially a collection of nodes and edges.
Each node represents an entity (such as a person or business)
and each edge represents a connection or relationship between
two nodes. Every node in a graph database is defined by a
unique identifier, a set of outgoing edges and/or incoming edges
and a set of properties expressed as key/value pairs.
Introduction to DGraph - A Graph Database
Why Graph Database?
A graph database is a database optimized for storing and
querying graphs. When it comes to relationships, graph
databases are much faster than SQL databases.
SQL databases get bogged down by graph-like data because
following edges means joining tables; sometimes big tables; the
more edges, the more joins, and the more data needs to be
loaded and processed.
In a graph database, the edges are a fundamental structure, so
following edges is a single lookup, making this operation
blazingly fast.
Applications of Graph database
● Interconnected data, like SQL tables requiring joins
● Advanced search
● Recommendation engines
● Pattern detection
● Networks, like computers, roads, and telecommunications
● Processes, like business and biological processes
● Events and the causality or other links between them
● Structures of firms or markets
Introduction to DGraph
DGraph is a scalable, distributed, highly available and
fast graph database.
Components of DGraph
● DGraph Zero - controls the Dgraph cluster, assigns servers
to a group and re-balances data between server groups.
● DGraph Server - hosts predicates and indexes.
● DGraph Ratel - serves the UI to run queries, mutations &
altering schema.
How to get started with DGraph?
● You can pull the docker image from DGraph and run it inside a
docker container.
● You can install DGraph from binaries.
● You can download docker-compose.yaml file, provided in
DGraph docs, and use docker compose to get DGraph up and
running.
RDF Triple
S P O
● Triple - A statement in "subject/predicate/object" form.
● RDF Triple - Every part of the triple has a URI associated
with it.
DGraph Schema
● Schema defines the types of the predicates that are stored by
the DGraph.
● Following types are supported by DGraph -
○ default
○ int
○ float
○ string
○ bool
○ dateTime
○ geo
○ password
DGraph Mutation
● Adding or removing data in DGraph is known as mutation.
● Can be done using triples or JSON.
A Glimpse of GraphQL +/-
References
● DGraph docs
● Stackoverflow answer on what are RDF Triples
● Official Slack of DGraph
THANK YOU!

More Related Content

What's hot (20)

PDF
Introduction to gradle
NexThoughts Technologies
 
PDF
OLAP for Big Data (Druid vs Apache Kylin vs Apache Lens)
SANG WON PARK
 
PDF
Elasticsearch
Hermeto Romano
 
PDF
GraphQL IN Golang
Bo-Yi Wu
 
PPTX
Flutter Festivals GDSC ASEB | Introduction to Dart
SadhanaParameswaran
 
PDF
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
Spark Summit
 
PPTX
Apache airflow
Pavel Alexeev
 
PDF
Difference between star schema and snowflake schema
Umar Ali
 
PPTX
TypeScript VS JavaScript.pptx
Albiorix Technology
 
PDF
Spark
Amir Payberah
 
PPT
principles of object oriented class design
Neetu Mishra
 
PPT
Querying the Semantic Web with SPARQL
Emanuele Della Valle
 
PDF
Introduction to git flow
Knoldus Inc.
 
PPTX
Dart presentation
Lucas Leal
 
PDF
Wroclaw GraphQL - GraphQL in Java
MarcinStachniuk
 
PDF
Apollo Server
NodeXperts
 
PDF
Git flow
DaeMyung Kang
 
PPTX
Introduction to Apache Kafka
AIMDek Technologies
 
PDF
The Functional Programming Triad of Map, Filter and Fold
Philip Schwarz
 
PPT
Ajax Presentation
alaa.moustafa
 
Introduction to gradle
NexThoughts Technologies
 
OLAP for Big Data (Druid vs Apache Kylin vs Apache Lens)
SANG WON PARK
 
Elasticsearch
Hermeto Romano
 
GraphQL IN Golang
Bo-Yi Wu
 
Flutter Festivals GDSC ASEB | Introduction to Dart
SadhanaParameswaran
 
FPGA-Based Acceleration Architecture for Spark SQL Qi Xie and Quanfu Wang
Spark Summit
 
Apache airflow
Pavel Alexeev
 
Difference between star schema and snowflake schema
Umar Ali
 
TypeScript VS JavaScript.pptx
Albiorix Technology
 
principles of object oriented class design
Neetu Mishra
 
Querying the Semantic Web with SPARQL
Emanuele Della Valle
 
Introduction to git flow
Knoldus Inc.
 
Dart presentation
Lucas Leal
 
Wroclaw GraphQL - GraphQL in Java
MarcinStachniuk
 
Apollo Server
NodeXperts
 
Git flow
DaeMyung Kang
 
Introduction to Apache Kafka
AIMDek Technologies
 
The Functional Programming Triad of Map, Filter and Fold
Philip Schwarz
 
Ajax Presentation
alaa.moustafa
 

Similar to Introduction to DGraph - A Graph Database (20)

PPTX
GraphQL & DGraph with Go
James Tan
 
PDF
Introduction to Graph Databases
Paolo Pareti
 
PDF
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Ontotext
 
PPTX
Intro To Graph Databases - Oxana Goriuc
Fraugster
 
PDF
Property graph vs. RDF Triplestore comparison in 2020
Ontotext
 
PDF
Scaling your GraphQL applications with Dgraph
Karthic Rao
 
PPTX
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
PDF
Two graph data models : RDF and Property Graphs
andyseaborne
 
PPTX
Knowledge Graph Introduction
Sören Auer
 
PDF
An excursion into Graph Analytics with Apache Spark GraphX
Krishna Sankar
 
PPTX
Graph_Database_Prepared_by_Ali_Rajab.pptx
removed_d60a659b5ed8cd7a5e0931e92447dc14
 
PPTX
Graph_Databases__And_Its_Usage_Presentation.pptx
Ali Rajab
 
PDF
How Graph Databases used in Police Department?
Samet KILICTAS
 
PPT
Graph database
Shruti Arya
 
PDF
Graph Gurus Episode 1: Enterprise Graph
TigerGraph
 
PDF
Dgraph: Graph database for production environment
openCypher
 
PPTX
Ramya ppt.pptx
RRamyaDevi
 
ODP
Graph databases
Karol Grzegorczyk
 
PPT
Trends In Graph Data Management And Mining
Srinath Srinivasa
 
PDF
GraphTech Ecosystem - part 1: Graph Databases
Linkurious
 
GraphQL & DGraph with Go
James Tan
 
Introduction to Graph Databases
Paolo Pareti
 
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Ontotext
 
Intro To Graph Databases - Oxana Goriuc
Fraugster
 
Property graph vs. RDF Triplestore comparison in 2020
Ontotext
 
Scaling your GraphQL applications with Dgraph
Karthic Rao
 
Graph Database and Why it is gaining traction
Giridhar Chandrasekaran
 
Two graph data models : RDF and Property Graphs
andyseaborne
 
Knowledge Graph Introduction
Sören Auer
 
An excursion into Graph Analytics with Apache Spark GraphX
Krishna Sankar
 
Graph_Database_Prepared_by_Ali_Rajab.pptx
removed_d60a659b5ed8cd7a5e0931e92447dc14
 
Graph_Databases__And_Its_Usage_Presentation.pptx
Ali Rajab
 
How Graph Databases used in Police Department?
Samet KILICTAS
 
Graph database
Shruti Arya
 
Graph Gurus Episode 1: Enterprise Graph
TigerGraph
 
Dgraph: Graph database for production environment
openCypher
 
Ramya ppt.pptx
RRamyaDevi
 
Graph databases
Karol Grzegorczyk
 
Trends In Graph Data Management And Mining
Srinath Srinivasa
 
GraphTech Ecosystem - part 1: Graph Databases
Linkurious
 
Ad

More from Knoldus Inc. (20)

PPTX
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
PPTX
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
PPTX
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
PPTX
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
PPTX
Java 17 features and implementation.pptx
Knoldus Inc.
 
PPTX
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
PPTX
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
PPTX
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
PPTX
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
PPTX
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
PPTX
Intro to Azure Container App Presentation
Knoldus Inc.
 
PPTX
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
PPTX
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
PPTX
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
PPTX
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
PPTX
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
PPTX
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
PPTX
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Angular Hydration Presentation (FrontEnd)
Knoldus Inc.
 
Optimizing Test Execution: Heuristic Algorithm for Self-Healing
Knoldus Inc.
 
Self-Healing Test Automation Framework - Healenium
Knoldus Inc.
 
Kanban Metrics Presentation (Project Management)
Knoldus Inc.
 
Java 17 features and implementation.pptx
Knoldus Inc.
 
Chaos Mesh Introducing Chaos in Kubernetes
Knoldus Inc.
 
GraalVM - A Step Ahead of JVM Presentation
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
Nomad by HashiCorp Presentation (DevOps)
Knoldus Inc.
 
DAPR - Distributed Application Runtime Presentation
Knoldus Inc.
 
Introduction to Azure Virtual WAN Presentation
Knoldus Inc.
 
Introduction to Argo Rollouts Presentation
Knoldus Inc.
 
Intro to Azure Container App Presentation
Knoldus Inc.
 
Insights Unveiled Test Reporting and Observability Excellence
Knoldus Inc.
 
Introduction to Splunk Presentation (DevOps)
Knoldus Inc.
 
Code Camp - Data Profiling and Quality Analysis Framework
Knoldus Inc.
 
AWS: Messaging Services in AWS Presentation
Knoldus Inc.
 
Amazon Cognito: A Primer on Authentication and Authorization
Knoldus Inc.
 
ZIO Http A Functional Approach to Scalable and Type-Safe Web Development
Knoldus Inc.
 
Managing State & HTTP Requests In Ionic.
Knoldus Inc.
 
Ad

Recently uploaded (20)

PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PDF
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
PDF
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
PDF
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
Technical-Careers-Roadmap-in-Software-Market.pdf
Hussein Ali
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
MiniTool Power Data Recovery 8.8 With Crack New Latest 2025
bashirkhan333g
 
Empower Your Tech Vision- Why Businesses Prefer to Hire Remote Developers fro...
logixshapers59
 
Download Canva Pro 2025 PC Crack Full Latest Version
bashirkhan333g
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 

Introduction to DGraph - A Graph Database

  • 1. Introduction to DGraph - A Graph database Akshansh Jain Software Consultant Knoldus Inc.
  • 2. Agenda ● Brief Introduction to Graph database ● Why graph database? ● Applications of graph database ● Introduction to DGraph ● Components of DGraph ● How to get started with DGraph? ● RDF Triple ● DGraph Schema ● DGraph Mutation ● A Glimpse at GraphQL +/-
  • 3. Brief Introduction to Graph Database A graph database is essentially a collection of nodes and edges. Each node represents an entity (such as a person or business) and each edge represents a connection or relationship between two nodes. Every node in a graph database is defined by a unique identifier, a set of outgoing edges and/or incoming edges and a set of properties expressed as key/value pairs.
  • 5. Why Graph Database? A graph database is a database optimized for storing and querying graphs. When it comes to relationships, graph databases are much faster than SQL databases. SQL databases get bogged down by graph-like data because following edges means joining tables; sometimes big tables; the more edges, the more joins, and the more data needs to be loaded and processed. In a graph database, the edges are a fundamental structure, so following edges is a single lookup, making this operation blazingly fast.
  • 6. Applications of Graph database ● Interconnected data, like SQL tables requiring joins ● Advanced search ● Recommendation engines ● Pattern detection ● Networks, like computers, roads, and telecommunications ● Processes, like business and biological processes ● Events and the causality or other links between them ● Structures of firms or markets
  • 7. Introduction to DGraph DGraph is a scalable, distributed, highly available and fast graph database.
  • 8. Components of DGraph ● DGraph Zero - controls the Dgraph cluster, assigns servers to a group and re-balances data between server groups. ● DGraph Server - hosts predicates and indexes. ● DGraph Ratel - serves the UI to run queries, mutations & altering schema.
  • 9. How to get started with DGraph? ● You can pull the docker image from DGraph and run it inside a docker container. ● You can install DGraph from binaries. ● You can download docker-compose.yaml file, provided in DGraph docs, and use docker compose to get DGraph up and running.
  • 10. RDF Triple S P O ● Triple - A statement in "subject/predicate/object" form. ● RDF Triple - Every part of the triple has a URI associated with it.
  • 11. DGraph Schema ● Schema defines the types of the predicates that are stored by the DGraph. ● Following types are supported by DGraph - ○ default ○ int ○ float ○ string ○ bool ○ dateTime ○ geo ○ password
  • 12. DGraph Mutation ● Adding or removing data in DGraph is known as mutation. ● Can be done using triples or JSON.
  • 13. A Glimpse of GraphQL +/-
  • 14. References ● DGraph docs ● Stackoverflow answer on what are RDF Triples ● Official Slack of DGraph