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

PPTX
Graph databases
PPTX
Intro to Apache Spark
PPTX
Introduction to Pig
PDF
Airflow presentation
PDF
Introduction to Graph Databases
PPTX
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
PPTX
Introduction to Azure Databricks
PPTX
Databricks for Dummies
Graph databases
Intro to Apache Spark
Introduction to Pig
Airflow presentation
Introduction to Graph Databases
What Is Apache Spark? | Introduction To Apache Spark | Apache Spark Tutorial ...
Introduction to Azure Databricks
Databricks for Dummies

What's hot (20)

PDF
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
PDF
Building High Performance APIs In Go Using gRPC And Protocol Buffers
PDF
Comparing Sidecar-less Service Mesh from Cilium and Istio
PPTX
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
PDF
FIWARE Training: Introduction to Smart Data Models
PDF
Productionzing ML Model Using MLflow Model Serving
PPTX
Running Airflow Workflows as ETL Processes on Hadoop
PDF
Apache Airflow
PDF
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
PDF
IoT & Azure (EventHub)
PDF
The Patterns of Distributed Logging and Containers
PDF
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
PDF
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
PDF
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
PDF
Getting The Best Performance With PySpark
PPTX
Apache HBase™
PPTX
Learn Apache Spark: A Comprehensive Guide
PDF
Data Modeling with Neo4j
PDF
Neo4j GraphDay Seattle- Sept19- neo4j basic training
PPTX
Azure Data Factory for Azure Data Week
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
Building High Performance APIs In Go Using gRPC And Protocol Buffers
Comparing Sidecar-less Service Mesh from Cilium and Istio
NOVA SQL User Group - Azure Synapse Analytics Overview - May 2020
FIWARE Training: Introduction to Smart Data Models
Productionzing ML Model Using MLflow Model Serving
Running Airflow Workflows as ETL Processes on Hadoop
Apache Airflow
Intro to Vertex AI, unified MLOps platform for Data Scientists & ML Engineers
IoT & Azure (EventHub)
The Patterns of Distributed Logging and Containers
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
Pipelines and Data Flows: Introduction to Data Integration in Azure Synapse A...
Building a Marketing Data Warehouse from Scratch - SMX Advanced 202
Getting The Best Performance With PySpark
Apache HBase™
Learn Apache Spark: A Comprehensive Guide
Data Modeling with Neo4j
Neo4j GraphDay Seattle- Sept19- neo4j basic training
Azure Data Factory for Azure Data Week
Ad

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

PPTX
GraphQL & DGraph with Go
PPTX
PDF
aRangodb, un package per l'utilizzo di ArangoDB con R
PDF
Spark Driven Big Data Analytics
PPTX
Spark Concepts - Spark SQL, Graphx, Streaming
PDF
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
PDF
Graph Gurus Episode 1: Enterprise Graph
PDF
Introduction to Property Graph Features (AskTOM Office Hours part 1)
PDF
Secrets of Spark's success - Deenar Toraskar, Think Reactive
PDF
Apollo Server
PDF
Neo4j Morpheus: Interweaving Table and Graph Data with SQL and Cypher in Apac...
ODP
DGraph: Introduction To Basics & Quick Start W/Ratel
PDF
Apache spark on Hadoop Yarn Resource Manager
PDF
Change RelationalDB to GraphDB with OrientDB
PDF
Multiplaform Solution for Graph Datasources
PDF
Scaling your GraphQL applications with Dgraph
PDF
Big Data processing with Apache Spark
PDF
Introduction to Spark Datasets - Functional and relational together at last
PDF
Improving PySpark performance: Spark Performance Beyond the JVM
ODP
Spark Structured Streaming
GraphQL & DGraph with Go
aRangodb, un package per l'utilizzo di ArangoDB con R
Spark Driven Big Data Analytics
Spark Concepts - Spark SQL, Graphx, Streaming
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
Graph Gurus Episode 1: Enterprise Graph
Introduction to Property Graph Features (AskTOM Office Hours part 1)
Secrets of Spark's success - Deenar Toraskar, Think Reactive
Apollo Server
Neo4j Morpheus: Interweaving Table and Graph Data with SQL and Cypher in Apac...
DGraph: Introduction To Basics & Quick Start W/Ratel
Apache spark on Hadoop Yarn Resource Manager
Change RelationalDB to GraphDB with OrientDB
Multiplaform Solution for Graph Datasources
Scaling your GraphQL applications with Dgraph
Big Data processing with Apache Spark
Introduction to Spark Datasets - Functional and relational together at last
Improving PySpark performance: Spark Performance Beyond the JVM
Spark Structured Streaming
Ad

More from Knoldus Inc. (20)

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

Recently uploaded (20)

PPTX
Reimagine Home Health with the Power of Agentic AI​
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Cost to Outsource Software Development in 2025
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
System and Network Administraation Chapter 3
PDF
Digital Systems & Binary Numbers (comprehensive )
PDF
System and Network Administration Chapter 2
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
Reimagine Home Health with the Power of Agentic AI​
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Cost to Outsource Software Development in 2025
PTS Company Brochure 2025 (1).pdf.......
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Upgrade and Innovation Strategies for SAP ERP Customers
How to Choose the Right IT Partner for Your Business in Malaysia
System and Network Administraation Chapter 3
Digital Systems & Binary Numbers (comprehensive )
System and Network Administration Chapter 2
Operating system designcfffgfgggggggvggggggggg
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Designing Intelligence for the Shop Floor.pdf
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Wondershare Filmora 15 Crack With Activation Key [2025

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