SlideShare ist ein Scribd-Unternehmen logo
1 von 18
Downloaden Sie, um offline zu lesen
Model-Driven Design of 
Graph Databases 
Roberto De Virgilio, Antonio Maccioni and Riccardo Torlone 
33rd edition of the International Conference on Conceptual Modeling (ER2014) – Atlanta, GA (U.S.A.)
Context (Theory) 
Semantics 
Meta- Models 
Logics 
Concepts 
ER 
Models 
NoSPARQL 
Schema-free 
Agile 
Development 
NoDB 
NoSQL 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Context (Practice) 
Software engineers still reason at different 
abstraction levels 
Data engineers still model 
their databases 
We cannot give up 
modeling with all 
NoSQLs 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Graph Databases 
admin 
belongs 
works 
belongs 
admin 
likes 
friend 
married 
follows 
belongs 
friend 
belongs 
worked 
likes 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Property Graph Model 
n1 n2 
Uname: Date 
Uid: u01 
Bname: Database 
Bid: b02 
label: follower 
label: admin 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Graph DB Modeling: How? 
Compact: Sparse: Dense: 
Reduces the 
Accesses and 
number of data 
updates can be 
accesses 
inefficient 
Can violate 
property graph 
constraints 
Reduces 
number of joins 
Needs human 
intervention for 
a semantic 
enrichment 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Our 3-steps Approach 
1) Generation of an oriented ER diagram 
2) Partitioning of the elements (entities and 
relationships) of the obtained diagram 
3) Definition of a template over the resulting 
partition. 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Use case: ER 
Category 
(0:N) 
url eid description 
External about 
ctid 
uid (0:N) (1:1) 
admin 
(1:1) 
contains Link 
(1:1) (0:N) 
post 
cid 
date 
date 
(1:1) 
Comment User Blog 
follower 
tag 
(0:N) (0:N) 
(0:N) (0:N) 
uname 
(1:1) 
bid 
bname 
msg 
(1:1) (0:N) 
publish 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Orienting the ER 
ENTITY 1 
(0:1) 
RELATIONSHIP 
(0:1) 
ENTITY 2 
ENTITY 1 
RELATIONSHIP : 0 
ENTITY 2 
ENTITY 1 
(0:N) 
RELATIONSHIP 
(0:1) 
ENTITY 2 
ENTITY 1 
RELATIONSHIP : 1 
ENTITY 2 
ENTITY 1 
(0:N) 
RELATIONSHIP 
(0:N) 
ENTITY 2 
ENTITY 1 
RELATIONSHIP : 2 
ENTITY 2 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Use case: O-ER 
post:1 
admin:1 
contains:0 about:1 
External 
Link Comment User Blog 
Category 
tag:2 
publish:1 
follower:2 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Partitioning the O-ER 
Rule 1: if a node n is disconnected 
then it forms a group by itself. 
Rule 2: if a node n has w−(n)>1 and w+(n)>0 then n 
forms a group by itself. 
Rule 3: if a node n has w−(n)<2 and w+(n)<2 then n 
is added to the group of a node m such that there 
exists the edge (m, n) in the O-ER diagram. 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Use case: partitioned O-ER 
post:1 
admin:1 
contains:0 about:1 
External 
Link Comment User Blog 
Category 
tag:2 
publish:1 
follower:2 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Template of the Graph Database 
A template describes homogeneous nodes 
occurring in a graph database and the ways 
they are connected. 
A template is derived by 
grouping together attributes 
of nodes in the partitioning. 
A template is similar to a logical schema, but 
it is not a schema! 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Use case: the Template 
ExternalLink.eid 
ExternalLink.url 
Comment.cid 
Comment.msg 
User.uid 
User.uname 
Blog.bid 
Blog.bname 
Category.ctid 
Category.description 
date 
label 
label 
label 
label 
label 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Use case: an instance 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Empirical Results 
sparse native strategy 
our approach 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Conclusion and Future Work 
Conceptual modeling of graph databases 
is useful and possible 
Our methodology is system 
independent and aim at minimizing 
data accesses 
We want to involve more aspects in the design process 
and verify the approach with other NoSQL 
We are developing a tool that allows the developer to 
customize the modeling of this methodology by tuning 
on the parameters 
ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
Thanks for the Attention

Weitere ähnliche Inhalte

Ähnlich wie Modelgraphdb

Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopRecommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopPranab Ghosh
 
Recommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab GhoshRecommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab GhoshBigDataCloud
 
Data Discovery and Metadata
Data Discovery and MetadataData Discovery and Metadata
Data Discovery and Metadatamarkgrover
 
ICT DBA3 03 0710 Designing a Database.pptx
ICT DBA3 03 0710 Designing a Database.pptxICT DBA3 03 0710 Designing a Database.pptx
ICT DBA3 03 0710 Designing a Database.pptxInfotech27
 
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...Dataconomy Media
 
Artificial Intelligence for Automating Data Analysis
Artificial Intelligence for Automating Data AnalysisArtificial Intelligence for Automating Data Analysis
Artificial Intelligence for Automating Data AnalysisManuel Martín
 
Graph Analytics in Spark
Graph Analytics in SparkGraph Analytics in Spark
Graph Analytics in SparkPaco Nathan
 
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SFTed Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SFMLconf
 
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASES
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASESEFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASES
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASESIJCSEIT Journal
 
Mapping Domain Names to Categories
Mapping Domain Names to CategoriesMapping Domain Names to Categories
Mapping Domain Names to CategoriesGene Chuang
 
TUW-ASE Summer 2015 - Quality of Result-aware data analytics
TUW-ASE Summer 2015 - Quality of Result-aware data analyticsTUW-ASE Summer 2015 - Quality of Result-aware data analytics
TUW-ASE Summer 2015 - Quality of Result-aware data analyticsHong-Linh Truong
 
How to Build a Semantic Search System
How to Build a Semantic Search SystemHow to Build a Semantic Search System
How to Build a Semantic Search SystemTrey Grainger
 
Modeling the Impact of R & Python Packages: Dependency and Contributor Networks
Modeling the Impact of R & Python Packages: Dependency and Contributor NetworksModeling the Impact of R & Python Packages: Dependency and Contributor Networks
Modeling the Impact of R & Python Packages: Dependency and Contributor NetworksMelissa Moody
 
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham AL
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham ALSecrets of Enterprise Data Mining: SQL Saturday 328 Birmingham AL
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham ALMark Tabladillo
 
Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Gabriel Moreira
 
Stakeholder Driven EA
Stakeholder Driven EAStakeholder Driven EA
Stakeholder Driven EAReal IRM
 
GraphX: Graph analytics for insights about developer communities
GraphX: Graph analytics for insights about developer communitiesGraphX: Graph analytics for insights about developer communities
GraphX: Graph analytics for insights about developer communitiesPaco Nathan
 
Data Science as a Career and Intro to R
Data Science as a Career and Intro to RData Science as a Career and Intro to R
Data Science as a Career and Intro to RAnshik Bansal
 
Microservices, containers, and machine learning
Microservices, containers, and machine learningMicroservices, containers, and machine learning
Microservices, containers, and machine learningPaco Nathan
 

Ähnlich wie Modelgraphdb (20)

System design
System designSystem design
System design
 
Recommendation Engine Powered by Hadoop
Recommendation Engine Powered by HadoopRecommendation Engine Powered by Hadoop
Recommendation Engine Powered by Hadoop
 
Recommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab GhoshRecommendation Engine Powered by Hadoop - Pranab Ghosh
Recommendation Engine Powered by Hadoop - Pranab Ghosh
 
Data Discovery and Metadata
Data Discovery and MetadataData Discovery and Metadata
Data Discovery and Metadata
 
ICT DBA3 03 0710 Designing a Database.pptx
ICT DBA3 03 0710 Designing a Database.pptxICT DBA3 03 0710 Designing a Database.pptx
ICT DBA3 03 0710 Designing a Database.pptx
 
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
DN18 | The Evolution and Future of Graph Technology: Intelligent Systems | Ax...
 
Artificial Intelligence for Automating Data Analysis
Artificial Intelligence for Automating Data AnalysisArtificial Intelligence for Automating Data Analysis
Artificial Intelligence for Automating Data Analysis
 
Graph Analytics in Spark
Graph Analytics in SparkGraph Analytics in Spark
Graph Analytics in Spark
 
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SFTed Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
Ted Willke, Senior Principal Engineer & GM, Datacenter Group, Intel at MLconf SF
 
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASES
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASESEFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASES
EFFICIENT SCHEMA BASED KEYWORD SEARCH IN RELATIONAL DATABASES
 
Mapping Domain Names to Categories
Mapping Domain Names to CategoriesMapping Domain Names to Categories
Mapping Domain Names to Categories
 
TUW-ASE Summer 2015 - Quality of Result-aware data analytics
TUW-ASE Summer 2015 - Quality of Result-aware data analyticsTUW-ASE Summer 2015 - Quality of Result-aware data analytics
TUW-ASE Summer 2015 - Quality of Result-aware data analytics
 
How to Build a Semantic Search System
How to Build a Semantic Search SystemHow to Build a Semantic Search System
How to Build a Semantic Search System
 
Modeling the Impact of R & Python Packages: Dependency and Contributor Networks
Modeling the Impact of R & Python Packages: Dependency and Contributor NetworksModeling the Impact of R & Python Packages: Dependency and Contributor Networks
Modeling the Impact of R & Python Packages: Dependency and Contributor Networks
 
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham AL
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham ALSecrets of Enterprise Data Mining: SQL Saturday 328 Birmingham AL
Secrets of Enterprise Data Mining: SQL Saturday 328 Birmingham AL
 
Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação Sistemas de Recomendação sem Enrolação
Sistemas de Recomendação sem Enrolação
 
Stakeholder Driven EA
Stakeholder Driven EAStakeholder Driven EA
Stakeholder Driven EA
 
GraphX: Graph analytics for insights about developer communities
GraphX: Graph analytics for insights about developer communitiesGraphX: Graph analytics for insights about developer communities
GraphX: Graph analytics for insights about developer communities
 
Data Science as a Career and Intro to R
Data Science as a Career and Intro to RData Science as a Career and Intro to R
Data Science as a Career and Intro to R
 
Microservices, containers, and machine learning
Microservices, containers, and machine learningMicroservices, containers, and machine learning
Microservices, containers, and machine learning
 

Kürzlich hochgeladen

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 

Kürzlich hochgeladen (20)

Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 

Modelgraphdb

  • 1. Model-Driven Design of Graph Databases Roberto De Virgilio, Antonio Maccioni and Riccardo Torlone 33rd edition of the International Conference on Conceptual Modeling (ER2014) – Atlanta, GA (U.S.A.)
  • 2. Context (Theory) Semantics Meta- Models Logics Concepts ER Models NoSPARQL Schema-free Agile Development NoDB NoSQL ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 3. Context (Practice) Software engineers still reason at different abstraction levels Data engineers still model their databases We cannot give up modeling with all NoSQLs ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 4. Graph Databases admin belongs works belongs admin likes friend married follows belongs friend belongs worked likes ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 5. Property Graph Model n1 n2 Uname: Date Uid: u01 Bname: Database Bid: b02 label: follower label: admin ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 6. Graph DB Modeling: How? Compact: Sparse: Dense: Reduces the Accesses and number of data updates can be accesses inefficient Can violate property graph constraints Reduces number of joins Needs human intervention for a semantic enrichment ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 7. Our 3-steps Approach 1) Generation of an oriented ER diagram 2) Partitioning of the elements (entities and relationships) of the obtained diagram 3) Definition of a template over the resulting partition. ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 8. Use case: ER Category (0:N) url eid description External about ctid uid (0:N) (1:1) admin (1:1) contains Link (1:1) (0:N) post cid date date (1:1) Comment User Blog follower tag (0:N) (0:N) (0:N) (0:N) uname (1:1) bid bname msg (1:1) (0:N) publish ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 9. Orienting the ER ENTITY 1 (0:1) RELATIONSHIP (0:1) ENTITY 2 ENTITY 1 RELATIONSHIP : 0 ENTITY 2 ENTITY 1 (0:N) RELATIONSHIP (0:1) ENTITY 2 ENTITY 1 RELATIONSHIP : 1 ENTITY 2 ENTITY 1 (0:N) RELATIONSHIP (0:N) ENTITY 2 ENTITY 1 RELATIONSHIP : 2 ENTITY 2 ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 10. Use case: O-ER post:1 admin:1 contains:0 about:1 External Link Comment User Blog Category tag:2 publish:1 follower:2 ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 11. Partitioning the O-ER Rule 1: if a node n is disconnected then it forms a group by itself. Rule 2: if a node n has w−(n)>1 and w+(n)>0 then n forms a group by itself. Rule 3: if a node n has w−(n)<2 and w+(n)<2 then n is added to the group of a node m such that there exists the edge (m, n) in the O-ER diagram. ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 12. Use case: partitioned O-ER post:1 admin:1 contains:0 about:1 External Link Comment User Blog Category tag:2 publish:1 follower:2 ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 13. Template of the Graph Database A template describes homogeneous nodes occurring in a graph database and the ways they are connected. A template is derived by grouping together attributes of nodes in the partitioning. A template is similar to a logical schema, but it is not a schema! ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 14. Use case: the Template ExternalLink.eid ExternalLink.url Comment.cid Comment.msg User.uid User.uname Blog.bid Blog.bname Category.ctid Category.description date label label label label label ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 15. Use case: an instance ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 16. Empirical Results sparse native strategy our approach ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 17. Conclusion and Future Work Conceptual modeling of graph databases is useful and possible Our methodology is system independent and aim at minimizing data accesses We want to involve more aspects in the design process and verify the approach with other NoSQL We are developing a tool that allows the developer to customize the modeling of this methodology by tuning on the parameters ER 2014 Model-Driven Design of Graph Databases Atlanta, USA, 28th Oct 2014
  • 18. Thanks for the Attention