SlideShare a Scribd company logo
Property Graph vs RDF
Comparison
Outline
o Introduction
o RDF Model
o Property Graph Model
o Model Comparison
o Database Engines
o Q&A
Why Different Databases?
Database management systems are about series of
compromises in terms of performance, complexity, query style,
data types, scalability, transactions, consistency, etc.
There is no database management system that meets all needs.
Fundamental Types of Databases
Source: NoSQL Now! NoSQL Architecture Patterns
Gartner Data Store Spectrum
Source: An Introduction to Graph Data Stores and Applicable Use Cases.
Gartner report published: 24 January 2019 ID: G00361957, Analyst(s):
Sumit Pal
What is a Graph?
The graph in mathematics is not a chart,
but a data structure that represents a network of nodes and edges.
1
2
3
4 5
Outline
o Introduction
o RDF Model
o Property Graph Model
o Model Comparison
o Database Engines
o Q&A
Undirected Graph
1
2
3
4 5
Directed Graph
1
2
3
4 5
Directed Labeled Graph
1
2
3
4
livesIn
livesIn
5
partOf
worksIn
worksIn
knows
Directed Labeled Cyclic Graph
1 4
livesIn
livesIn
knows
3
2
knows
worksIn
worksIn
5
partOf
Directed Labeled Cyclic Multigraph
1 4
3
2
knows {g1}
worksIn {g1}
livesIn {g2}
livesIn {g2}
knows {g1}
knows {g1}
next {g2}
worksIn {g1}
5
partOf {g2}
Directed Labeled Cyclic Multigraph with Node
Labels
1 4
3
2
knows {g1}
worksIn {g1}
livesIn {g2}
livesIn {g2}
knows {g1}
knows {g1}
next {g2}
worksIn {g1}
Bulgaria
A. Kiryakov
Sofia
Ontotext
V. Momtchev
5
partOf {g2}
Directed Labeled Cyclic Multigraph with Node
Labels and Types
1 4 5
3
2
knows {g1}
livesIn {g2}
knows {g1}
knows {g1}
next {g2}
67 8
type
type
type
livesIn {g2}
Bulgaria
A. Kiryakov
type
worksIn {g1}
type
worksIn {g1}
partOf {g2}
Person
Place
Ontotext
V. Momtchev
Organization
Sofia
Directed Labeled Cyclic Multigraph with Node
Labels, Types and Logic
1 4 5
3
2
livesIn {inf}
livesIn {inf}
knows {g1}
worksIn {g1}
livesIn {g2}
knows {g1}
knows {g1}
next {g2}
167
type
8
type
type
partOf {g2}
livesIn {g2}
Bulgaria
A. Kiryakov
Sofia
Person
Place
Ontotext
V. Momtchev
Organization
worksIn {g1}
type
type
partOf {g2}
RDF: Directed Labeled Cyclic Multigraph with
Labels, Types, Logic and Semantics
1 4 5
3
2
Edges IDs:
1 - http://ontotext.com
2 - https://www.linkedin.com/in/atanas-kiryakov
3 - https://www.linkedin.com/in/vassil-momtchev
4 - https://en.wikipedia.org/wiki/Sofia
5 - https://en.wikipedia.org/wiki/Bulgaria
Optimized for:
o Flexible web model
o Multiple versions of the truth
o Global identifiers
o Information schema language
o Logic inference and data quality
Bulgaria
Ontotext
A. Kiryakov
V. Momtchev
Sofia
livesIn {inf}
livesIn {inf}
worksIn {g1}
knows {g1}
worksIn {g1}
livesIn {g2}
livesIn {g2}
knows {g1}
knows {g1}
next {g2}
What is Semantics?
o Formal semantics allows new valid
facts to be inferred
o Both data and schema can be interpreted
o Semantic schema = ontology
o Languages: RDF Schema (RDFS), OWL
o Only the relevant semantics is
formalized in the schema
o The meaning of relativeOf is not fully
described by defining it as
owl:SymmetricProperty
o The best model is the simplest one that can do
the work. But not simpler!
What is Semantics Good For?
o Schema alignment and easy querying in diverse datasets
o Across sources, similar relationships can be modeled in a different way - one can use
parentOf, another - childOf and a third one - only the more general relativeOf
o The database will return Ivan as a result of the query (Maria relativeOf ?x) when the
fact derived from the source and asserted is(Ivan childOf Maria)
o Identifying meaning by reusing identifiers for Types and Instances
o Schema.org defines a large number of popular entities and related metadata
o LinkedIn URL is the central professional network
o Making it easier to query for multi-hop relationships
o Consistency checking and quality validation
o RDF Shapes ensure graph consistency and quality
RDF* and SPARQL* allow Edge Descriptions
● Statements about
statements
○ Allows multiple level of nesting
○ Backward compatible
○ Much more expressive than the
properties (key-value pairs) in PG
● RDF* is included in the
upcoming RDF 1.2 standard
Outline
o Introduction
o RDF Model
o Property Graph Model
o Model Comparison
o Database Engines
o Q&A
Directed Graph
1
2
3
4 5
partOf
worksIn
Directed Labeled Graph
1
2
3
4 5
worksIn
livesIn
livesIn
worksIn
Directed Labeled Graph with Types
1
2
3
4 5
worksIn
livesIn
livesIn
partOf
Directed Property Labeled Graph with Types
1
2
3
4 5
Id: 1,
name: “Ontotext”,
employees: 75
Id: 2,
name: “A. Kiryakov”,
height: 180
Id:3,
name: “V. Momtchev”,
height: 185
Id:4,
name: “Sofia”
population: 1.5M
id:5,
name: “Bulgaria”,
size: “110 km2”
from:2001/01/01
from:2005/05/07
worksIn
worksIn
livesIn
livesIn
partOf
Outline
o Introduction
o RDF Model
o Property Graph Model
o Model Comparison
o Database Engines
o Q&A
RDF vs. Property Graph (PG) Data Model
Feature RDF Property Graph
Expressivity Arbitrary complex descriptions via links to
other nodes; no properties on edges
With RDF* the model gets much more
expressive than PG
Limited expressivity, beyond the basic
directed cyclic labeled graph
Properties (key-value pairs) for nodes and
edges balance between complexity and utility
Formal semantics Yes, standard schema and model
semantics foster data reuse and inference
No formal model representation
Standardization Driven by W3C working groups and
standardization processes
Different competing vendors
Query language SPARQL specifications: Query Language,
Updates, Federation, Protocol (end-point)...
Cypher, PGQL, GCore, GQL (no standard)
Serialization format Multiple serialization formats No serialization format
Schema language RDFS, OWL, Shapes None
RDF vs. Property Graph Data Model (ctd)
Feature RDF Property Graph
Designed for Linked Open Data (Semantic Web):
Publishing and linking data with formal
semantics and no central control
Graph representation for analytics
Processing
Strengths
Set analysis operations (as in SQL, but with
schema abstraction and flexibility)
Graph traversal
Plenty of graph analytics and ML libraries
Data
Management
Strengths
Interoperability via global identifiers
Interoperability via a standard: schema
language, protocol for federation, reasoning
semantics
Data validation, data type support,
multilinguality
Compact serialization, shorter learning curve,
functional graph traversal language (Gremlin)
Main use cases Data-driven architecture
Master/reference data sharing in enterprises
Кnowledge representation
Data integration
Metadata management
Graph analytics and path search
What is a Good Compromise?
Gartner: Knowledge Graphs are Built with RDF
An Introduction to Graph Data Stores and Applicable Use Cases
Gartner report published: 24 January 2019 ID: G00361957, Analyst(s): Sumit Pal
Quotations:
o KGs are built on a graph data store with an RDF-based data model.
o KGs encompass both explicit and inferred relationships with the
connected data. Knowledge graphs can be used to query
complicated questions and obtain comprehensible, actionable
answers, including logical reasoning, machine learning and rules
management.
Outline
o Introduction
o RDF Model
o Property Graph Model
o Model Comparison
o Database Engines
o Q&A
Property graph vs. RDF Triplestore comparison in 2020
Graph Database Market Update 2020 (Bloor)
…, the market leaders in this space
continue to be Neo4J and Ontotext
(GraphDB), which are graph and RDF
database providers respectively. These
are the longest established vendors in
this space (both founded in 2000) so
they have a longevity and experience
that other suppliers cannot yet match.
Bloor Research
Graph Database Market Update 2020
Get your GraphDB Today:
https://ontotext.com/products/graphdb/
FactForge: Hub for open data and news about People and Organizations
http://factforge.net/
Experience the technology with NOW: Semantic News Portal
http://now.ontotext.com
Thank you
for your attention!

More Related Content

PDF
Slides: Knowledge Graphs vs. Property Graphs
DATAVERSITY
 
PDF
Introduction to Knowledge Graphs and Semantic AI
Semantic Web Company
 
PDF
Intro to Neo4j and Graph Databases
Neo4j
 
PDF
Social network analysis intro part I
THomas Plotkowiak
 
PDF
Patient Advocacy - Giving Voice to the Patient
Dr Aniruddha Malpani
 
PPTX
Autonomous vehicles
vishnum379
 
PDF
Overview of Taxonomies and Artificial Intelligence
Enterprise Knowledge
 
PDF
Blockchain in Health Care
Polsinelli PC
 
Slides: Knowledge Graphs vs. Property Graphs
DATAVERSITY
 
Introduction to Knowledge Graphs and Semantic AI
Semantic Web Company
 
Intro to Neo4j and Graph Databases
Neo4j
 
Social network analysis intro part I
THomas Plotkowiak
 
Patient Advocacy - Giving Voice to the Patient
Dr Aniruddha Malpani
 
Autonomous vehicles
vishnum379
 
Overview of Taxonomies and Artificial Intelligence
Enterprise Knowledge
 
Blockchain in Health Care
Polsinelli PC
 

What's hot (20)

PPTX
RDF data model
Jose Emilio Labra Gayo
 
PDF
GPT and Graph Data Science to power your Knowledge Graph
Neo4j
 
PDF
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j
 
PDF
Introduction to Knowledge Graphs
mukuljoshi
 
PDF
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
Márton Kodok
 
PDF
Workshop - Neo4j Graph Data Science
Neo4j
 
PPTX
Graph databases
Vinoth Kannan
 
PDF
Graph database Use Cases
Max De Marzi
 
PPTX
Introduction to Graph Databases
Max De Marzi
 
PDF
Introduction of Knowledge Graphs
Jeff Z. Pan
 
PDF
MLflow Model Serving
Databricks
 
PDF
Querying the Wikidata Knowledge Graph
Ioan Toma
 
PPTX
SHACL by example
Jose Emilio Labra Gayo
 
PPTX
RDF Data Model
Jose Emilio Labra Gayo
 
PDF
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
Neo4j
 
PDF
Graph Gurus 15: Introducing TigerGraph 2.4
TigerGraph
 
PDF
Debunking some “RDF vs. Property Graph” Alternative Facts
Neo4j
 
PPTX
GraphQL & DGraph with Go
James Tan
 
PDF
A Universe of Knowledge Graphs
Neo4j
 
PDF
Learn to Use Databricks for the Full ML Lifecycle
Databricks
 
RDF data model
Jose Emilio Labra Gayo
 
GPT and Graph Data Science to power your Knowledge Graph
Neo4j
 
Knowledge Graphs & Graph Data Science, More Context, Better Predictions - Neo...
Neo4j
 
Introduction to Knowledge Graphs
mukuljoshi
 
Vertex AI - Unified ML Platform for the entire AI workflow on Google Cloud
Márton Kodok
 
Workshop - Neo4j Graph Data Science
Neo4j
 
Graph databases
Vinoth Kannan
 
Graph database Use Cases
Max De Marzi
 
Introduction to Graph Databases
Max De Marzi
 
Introduction of Knowledge Graphs
Jeff Z. Pan
 
MLflow Model Serving
Databricks
 
Querying the Wikidata Knowledge Graph
Ioan Toma
 
SHACL by example
Jose Emilio Labra Gayo
 
RDF Data Model
Jose Emilio Labra Gayo
 
The perfect couple: Uniting Large Language Models and Knowledge Graphs for En...
Neo4j
 
Graph Gurus 15: Introducing TigerGraph 2.4
TigerGraph
 
Debunking some “RDF vs. Property Graph” Alternative Facts
Neo4j
 
GraphQL & DGraph with Go
James Tan
 
A Universe of Knowledge Graphs
Neo4j
 
Learn to Use Databricks for the Full ML Lifecycle
Databricks
 
Ad

Similar to Property graph vs. RDF Triplestore comparison in 2020 (20)

PDF
Graph based data models
Moumie Soulemane
 
PPTX
Graph RAG Varieties and Their Enterprise Applications
Ontotext
 
PPTX
Making the semantic web work
Paul Houle
 
PDF
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Ontotext
 
PDF
Find your way in Graph labyrinths
Daniel Camarda
 
PDF
aRangodb, un package per l'utilizzo di ArangoDB con R
GraphRM
 
PPTX
AI, Knowledge Representation and Graph Databases -
 Key Trends in Data Science
Optum
 
PDF
Graph database in sv meetup
Joshua Bae
 
PDF
What Factors Influence the Design of a Linked Data Generation Algorithm?
andimou
 
PDF
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Ontotext
 
PDF
Stream processing: The Matrix Revolutions
RomanaPernischov
 
PPTX
RDF-Gen: Generating RDF from streaming and archival data
Giorgos Santipantakis
 
PPTX
RDF SHACL, Annotations, and Data Frames
Kurt Cagle
 
PPT
Semantics
Mokhtar Ben Henda
 
ODP
Grails goes Graph
darthvader42
 
PDF
Multi-Model Data Query Languages and Processing Paradigms
Jiaheng Lu
 
PPTX
ExSchema - ICSM'13
jccastrejon
 
PDF
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
Jean Ihm
 
PPTX
LinkML presentation to Yosemite Group
Chris Mungall
 
PDF
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
MLconf
 
Graph based data models
Moumie Soulemane
 
Graph RAG Varieties and Their Enterprise Applications
Ontotext
 
Making the semantic web work
Paul Houle
 
Reasoning with Big Knowledge Graphs: Choices, Pitfalls and Proven Recipes
Ontotext
 
Find your way in Graph labyrinths
Daniel Camarda
 
aRangodb, un package per l'utilizzo di ArangoDB con R
GraphRM
 
AI, Knowledge Representation and Graph Databases -
 Key Trends in Data Science
Optum
 
Graph database in sv meetup
Joshua Bae
 
What Factors Influence the Design of a Linked Data Generation Algorithm?
andimou
 
Transforming Your Data with GraphDB: GraphDB Fundamentals, Jan 2018
Ontotext
 
Stream processing: The Matrix Revolutions
RomanaPernischov
 
RDF-Gen: Generating RDF from streaming and archival data
Giorgos Santipantakis
 
RDF SHACL, Annotations, and Data Frames
Kurt Cagle
 
Grails goes Graph
darthvader42
 
Multi-Model Data Query Languages and Processing Paradigms
Jiaheng Lu
 
ExSchema - ICSM'13
jccastrejon
 
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
Jean Ihm
 
LinkML presentation to Yosemite Group
Chris Mungall
 
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
MLconf
 
Ad

More from Ontotext (20)

PDF
EligibilityDesignAssistant_demo_slideshare.pptx.pdf
Ontotext
 
PDF
Building Knowledge Graphs in 10 steps
Ontotext
 
PPTX
Analytics on Big Knowledge Graphs Deliver Entity Awareness and Help Data Linking
Ontotext
 
PDF
It Don’t Mean a Thing If It Ain’t Got Semantics
Ontotext
 
PDF
The Bounties of Semantic Data Integration for the Enterprise
Ontotext
 
PDF
[Webinar] GraphDB Fundamentals: Adding Meaning to Your Data
Ontotext
 
PDF
[Conference] Cognitive Graph Analytics on Company Data and News
Ontotext
 
PDF
Hercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Ontotext
 
PDF
How to migrate to GraphDB in 10 easy to follow steps
Ontotext
 
PDF
GraphDB Cloud: Enterprise Ready RDF Database on Demand
Ontotext
 
PDF
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
Ontotext
 
PDF
Smarter content with a Dynamic Semantic Publishing Platform
Ontotext
 
PDF
How is smart data cooked?
Ontotext
 
PDF
Efficient Practices for Large Scale Text Mining Process
Ontotext
 
PPT
The Power of Semantic Technologies to Explore Linked Open Data
Ontotext
 
PPTX
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
Ontotext
 
PDF
The Knowledge Discovery Quest
Ontotext
 
PDF
Best Practices for Large Scale Text Mining Processing
Ontotext
 
PDF
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Ontotext
 
PPTX
Semantic Data Normalization For Efficient Clinical Trial Research
Ontotext
 
EligibilityDesignAssistant_demo_slideshare.pptx.pdf
Ontotext
 
Building Knowledge Graphs in 10 steps
Ontotext
 
Analytics on Big Knowledge Graphs Deliver Entity Awareness and Help Data Linking
Ontotext
 
It Don’t Mean a Thing If It Ain’t Got Semantics
Ontotext
 
The Bounties of Semantic Data Integration for the Enterprise
Ontotext
 
[Webinar] GraphDB Fundamentals: Adding Meaning to Your Data
Ontotext
 
[Conference] Cognitive Graph Analytics on Company Data and News
Ontotext
 
Hercule: Journalist Platform to Find Breaking News and Fight Fake Ones
Ontotext
 
How to migrate to GraphDB in 10 easy to follow steps
Ontotext
 
GraphDB Cloud: Enterprise Ready RDF Database on Demand
Ontotext
 
[Webinar] FactForge Debuts: Trump World Data and Instant Ranking of Industry ...
Ontotext
 
Smarter content with a Dynamic Semantic Publishing Platform
Ontotext
 
How is smart data cooked?
Ontotext
 
Efficient Practices for Large Scale Text Mining Process
Ontotext
 
The Power of Semantic Technologies to Explore Linked Open Data
Ontotext
 
First Steps in Semantic Data Modelling and Search & Analytics in the Cloud
Ontotext
 
The Knowledge Discovery Quest
Ontotext
 
Best Practices for Large Scale Text Mining Processing
Ontotext
 
Build Narratives, Connect Artifacts: Linked Open Data for Cultural Heritage
Ontotext
 
Semantic Data Normalization For Efficient Clinical Trial Research
Ontotext
 

Recently uploaded (20)

PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Simple and concise overview about Quantum computing..pptx
mughal641
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PPTX
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Simple and concise overview about Quantum computing..pptx
mughal641
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
Make GenAI investments go further with the Dell AI Factory
Principled Technologies
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Software Development Methodologies in 2025
KodekX
 
Responsible AI and AI Ethics - By Sylvester Ebhonu
Sylvester Ebhonu
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Agile Chennai 18-19 July 2025 Ideathon | AI Powered Microfinance Literacy Gui...
AgileNetwork
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 

Property graph vs. RDF Triplestore comparison in 2020

  • 1. Property Graph vs RDF Comparison
  • 2. Outline o Introduction o RDF Model o Property Graph Model o Model Comparison o Database Engines o Q&A
  • 3. Why Different Databases? Database management systems are about series of compromises in terms of performance, complexity, query style, data types, scalability, transactions, consistency, etc. There is no database management system that meets all needs.
  • 4. Fundamental Types of Databases Source: NoSQL Now! NoSQL Architecture Patterns
  • 5. Gartner Data Store Spectrum Source: An Introduction to Graph Data Stores and Applicable Use Cases. Gartner report published: 24 January 2019 ID: G00361957, Analyst(s): Sumit Pal
  • 6. What is a Graph? The graph in mathematics is not a chart, but a data structure that represents a network of nodes and edges. 1 2 3 4 5
  • 7. Outline o Introduction o RDF Model o Property Graph Model o Model Comparison o Database Engines o Q&A
  • 11. knows Directed Labeled Cyclic Graph 1 4 livesIn livesIn knows 3 2 knows worksIn worksIn 5 partOf
  • 12. Directed Labeled Cyclic Multigraph 1 4 3 2 knows {g1} worksIn {g1} livesIn {g2} livesIn {g2} knows {g1} knows {g1} next {g2} worksIn {g1} 5 partOf {g2}
  • 13. Directed Labeled Cyclic Multigraph with Node Labels 1 4 3 2 knows {g1} worksIn {g1} livesIn {g2} livesIn {g2} knows {g1} knows {g1} next {g2} worksIn {g1} Bulgaria A. Kiryakov Sofia Ontotext V. Momtchev 5 partOf {g2}
  • 14. Directed Labeled Cyclic Multigraph with Node Labels and Types 1 4 5 3 2 knows {g1} livesIn {g2} knows {g1} knows {g1} next {g2} 67 8 type type type livesIn {g2} Bulgaria A. Kiryakov type worksIn {g1} type worksIn {g1} partOf {g2} Person Place Ontotext V. Momtchev Organization Sofia
  • 15. Directed Labeled Cyclic Multigraph with Node Labels, Types and Logic 1 4 5 3 2 livesIn {inf} livesIn {inf} knows {g1} worksIn {g1} livesIn {g2} knows {g1} knows {g1} next {g2} 167 type 8 type type partOf {g2} livesIn {g2} Bulgaria A. Kiryakov Sofia Person Place Ontotext V. Momtchev Organization worksIn {g1} type type
  • 16. partOf {g2} RDF: Directed Labeled Cyclic Multigraph with Labels, Types, Logic and Semantics 1 4 5 3 2 Edges IDs: 1 - http://ontotext.com 2 - https://www.linkedin.com/in/atanas-kiryakov 3 - https://www.linkedin.com/in/vassil-momtchev 4 - https://en.wikipedia.org/wiki/Sofia 5 - https://en.wikipedia.org/wiki/Bulgaria Optimized for: o Flexible web model o Multiple versions of the truth o Global identifiers o Information schema language o Logic inference and data quality Bulgaria Ontotext A. Kiryakov V. Momtchev Sofia livesIn {inf} livesIn {inf} worksIn {g1} knows {g1} worksIn {g1} livesIn {g2} livesIn {g2} knows {g1} knows {g1} next {g2}
  • 17. What is Semantics? o Formal semantics allows new valid facts to be inferred o Both data and schema can be interpreted o Semantic schema = ontology o Languages: RDF Schema (RDFS), OWL o Only the relevant semantics is formalized in the schema o The meaning of relativeOf is not fully described by defining it as owl:SymmetricProperty o The best model is the simplest one that can do the work. But not simpler!
  • 18. What is Semantics Good For? o Schema alignment and easy querying in diverse datasets o Across sources, similar relationships can be modeled in a different way - one can use parentOf, another - childOf and a third one - only the more general relativeOf o The database will return Ivan as a result of the query (Maria relativeOf ?x) when the fact derived from the source and asserted is(Ivan childOf Maria) o Identifying meaning by reusing identifiers for Types and Instances o Schema.org defines a large number of popular entities and related metadata o LinkedIn URL is the central professional network o Making it easier to query for multi-hop relationships o Consistency checking and quality validation o RDF Shapes ensure graph consistency and quality
  • 19. RDF* and SPARQL* allow Edge Descriptions ● Statements about statements ○ Allows multiple level of nesting ○ Backward compatible ○ Much more expressive than the properties (key-value pairs) in PG ● RDF* is included in the upcoming RDF 1.2 standard
  • 20. Outline o Introduction o RDF Model o Property Graph Model o Model Comparison o Database Engines o Q&A
  • 23. worksIn Directed Labeled Graph with Types 1 2 3 4 5 worksIn livesIn livesIn partOf
  • 24. Directed Property Labeled Graph with Types 1 2 3 4 5 Id: 1, name: “Ontotext”, employees: 75 Id: 2, name: “A. Kiryakov”, height: 180 Id:3, name: “V. Momtchev”, height: 185 Id:4, name: “Sofia” population: 1.5M id:5, name: “Bulgaria”, size: “110 km2” from:2001/01/01 from:2005/05/07 worksIn worksIn livesIn livesIn partOf
  • 25. Outline o Introduction o RDF Model o Property Graph Model o Model Comparison o Database Engines o Q&A
  • 26. RDF vs. Property Graph (PG) Data Model Feature RDF Property Graph Expressivity Arbitrary complex descriptions via links to other nodes; no properties on edges With RDF* the model gets much more expressive than PG Limited expressivity, beyond the basic directed cyclic labeled graph Properties (key-value pairs) for nodes and edges balance between complexity and utility Formal semantics Yes, standard schema and model semantics foster data reuse and inference No formal model representation Standardization Driven by W3C working groups and standardization processes Different competing vendors Query language SPARQL specifications: Query Language, Updates, Federation, Protocol (end-point)... Cypher, PGQL, GCore, GQL (no standard) Serialization format Multiple serialization formats No serialization format Schema language RDFS, OWL, Shapes None
  • 27. RDF vs. Property Graph Data Model (ctd) Feature RDF Property Graph Designed for Linked Open Data (Semantic Web): Publishing and linking data with formal semantics and no central control Graph representation for analytics Processing Strengths Set analysis operations (as in SQL, but with schema abstraction and flexibility) Graph traversal Plenty of graph analytics and ML libraries Data Management Strengths Interoperability via global identifiers Interoperability via a standard: schema language, protocol for federation, reasoning semantics Data validation, data type support, multilinguality Compact serialization, shorter learning curve, functional graph traversal language (Gremlin) Main use cases Data-driven architecture Master/reference data sharing in enterprises Кnowledge representation Data integration Metadata management Graph analytics and path search
  • 28. What is a Good Compromise?
  • 29. Gartner: Knowledge Graphs are Built with RDF An Introduction to Graph Data Stores and Applicable Use Cases Gartner report published: 24 January 2019 ID: G00361957, Analyst(s): Sumit Pal Quotations: o KGs are built on a graph data store with an RDF-based data model. o KGs encompass both explicit and inferred relationships with the connected data. Knowledge graphs can be used to query complicated questions and obtain comprehensible, actionable answers, including logical reasoning, machine learning and rules management.
  • 30. Outline o Introduction o RDF Model o Property Graph Model o Model Comparison o Database Engines o Q&A
  • 32. Graph Database Market Update 2020 (Bloor) …, the market leaders in this space continue to be Neo4J and Ontotext (GraphDB), which are graph and RDF database providers respectively. These are the longest established vendors in this space (both founded in 2000) so they have a longevity and experience that other suppliers cannot yet match. Bloor Research Graph Database Market Update 2020
  • 33. Get your GraphDB Today: https://ontotext.com/products/graphdb/ FactForge: Hub for open data and news about People and Organizations http://factforge.net/ Experience the technology with NOW: Semantic News Portal http://now.ontotext.com Thank you for your attention!