Page 1 Renzo Angles and Claudio Gutierrez University of Chile ACM Computing Surveys, 2008 Survey of Graph Database Models.

Slides:



Advertisements
Similar presentations
Three-Step Database Design
Advertisements

Comparison of Several Meta-modeling Tools 2 Yi Lu Computer Science Department McGill University
XML: Extensible Markup Language
Chapter 3 : Relational Model
Relational Schemas and Predicate Logic: Notation.
Database Systems: Design, Implementation, and Management Tenth Edition
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 3 The Basic (Flat) Relational Model.
OBJECTS Object Oriented ???????. OBJECTS Object-Oriented n OO convenient label for a collection of interconnected ideas n OO approach views computer.
1 XEM: Managing the Evolution of XML Documents Author: Hong Su, Diane Kramer. Li Chen, Kajal Claypool and Elke A. Rundensteiner Presented by: Li Shuhong.
File Systems and Databases
CSE 222 Systems Programming Graph Theory Basics Dr. Jim Holten.
Object-Oriented Databases
XML –Query Languages, Extracting from Relational Databases ADVANCED DATABASES Khawaja Mohiuddin Assistant Professor Department of Computer Sciences Bahria.
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 11 Object and Object- Relational Databases.
RIZWAN REHMAN, CCS, DU. Advantages of ORDBMSs  The main advantages of extending the relational data model come from reuse and sharing.  Reuse comes.
Chapter 4 Object and Object-Relational Databases (Part ½: Object-Oriented Concepts) Lecturer: H.Ben Othmen Department of Computer Science, Umm Al-Qura.
File and Database Design; Logic Modeling Class 24.
TIBCO Designer TIBCO BusinessWorks is a scalable, extensible, and easy to use integration platform that allows you to develop, deploy, and run integration.
Survey of Graph Database Models Byoung Ju Yang IDS Lab., Seoul National University.
2 1 Chapter 2 Data Model Database Systems: Design, Implementation, and Management, Sixth Edition, Rob and Coronel.
DBMS Lecture 9  Object Database Management Group –12 Rules for an OODBMS –Components of the ODMG standard  OODBMS Object Model Schema  OO Data Model.
CSS/417 Introduction to Database Management Systems Workshop 5.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
Database Systems: Design, Implementation, and Management Ninth Edition
XML과 Database 홍기형 성신여자대학교 성신여자대학교 홍기형.
Copyright 2002 Prentice-Hall, Inc. Modern Systems Analysis and Design Third Edition Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Chapter 20 Object-Oriented.
Querying Structured Text in an XML Database By Xuemei Luo.
ACCESS CHAPTER 4 Tables and Queries Learning Objectives: Define table structure Enter data into a table Alter table structure Set a table’s field properties.
© D. Wong Ch. 2 Entity-Relationship Data Model (continue)  Data models  Entity-Relationship diagrams  Design Principles  Modeling of constraints.
Sheet 1XML Technology in E-Commerce 2001Lecture 2 XML Technology in E-Commerce Lecture 2 Logical and Physical Structure, Validity, DTD, XML Schema.
Tutorial 13 Validating Documents with Schemas
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
SOFTWARE DESIGN. INTRODUCTION There are 3 distinct types of activities in design 1.External design 2.Architectural design 3.Detailed design Architectural.
INFORMATION NETWORKING MODEL DSL James McAvoy and Yifeng Li CSI Information Networking Model DSL 1 Winter Term
Announcements Reading for Monday –4.6 Homework 3 – Due 9/29.
CSE314 Database Systems Lecture 3 The Relational Data Model and Relational Database Constraints Doç. Dr. Mehmet Göktürk src: Elmasri & Navanthe 6E Pearson.
Protocol Derivation Assistant Matthias Anlauff Kestrel Institute
CIS 210 Systems Analysis and Development Week 6 Part I Structuring Systems Data Requirements,
Deriving Relation Keys from XML Keys by Qing Wang, Hongwei Wu, Jianchang Xiao, Aoying Zhou, Junmei Zhou Reviewed by Chris Ying Zhu, Cong Wang, Max Wang,
Concepts and Realization of a Diagram Editor Generator Based on Hypergraph Transformation Author: Mark Minas Presenter: Song Gu.
Lecture 23 XQuery 1.0 and XPath 2.0 Data Model. 2 Example 31.7 – User-Defined Function Function to return staff at a given branch. DEFINE FUNCTION staffAtBranch($bNo)
The Object-Oriented Database System Manifesto Malcolm Atkinson, François Bancilhon, David deWitt, Klaus Dittrich, David Maier, Stanley Zdonik DOOD'89,
Class Diagrams. Terms and Concepts A class diagram is a diagram that shows a set of classes, interfaces, and collaborations and their relationships.
NoSQL: Graph Databases. Databases Why NoSQL Databases?
Chapter 3 The Relational Model. Objectives u Terminology of relational model. u How tables are used to represent data. u Connection between mathematical.
Semantic Interoperability in GIS N. L. Sarda Suman Somavarapu.
Copyright © 2016 Ramez Elmasri and Shamkant B. Navathe Chapter 12 Outline Overview of Object Database Concepts Object-Relational Features Object Database.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Data Models. 2 The Importance of Data Models Data models –Relatively simple representations, usually graphical, of complex real-world data structures.
1 © 2013 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different from the.
IT 5433 LM3 Relational Data Model. Learning Objectives: List the 5 properties of relations List the properties of a candidate key, primary key and foreign.
Introduction to DBMS Purpose of Database Systems View of Data
Database Systems: Design, Implementation, and Management Tenth Edition
Business System Development
The Object-Oriented Database System Manifesto
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Chapter 12 Outline Overview of Object Database Concepts
Introduction to Database Systems
Database.
File Systems and Databases
Chapter 4 Entity Relationship (ER) Modeling
Data Model.
Analysis models and design models
Database Systems Instructor Name: Lecture-3.
An Introduction to Software Architecture
Introduction to DBMS Purpose of Database Systems View of Data
Presented by: Jacky Ma Date: 11 Dec 2001
Presentation transcript:

Page 1 Renzo Angles and Claudio Gutierrez University of Chile ACM Computing Surveys, 2008 Survey of Graph Database Models

Page 2 Introduction Graph Data Model? –Data and/or the schema are represented by Graphs, or by data structures generalizing the notion of graph –Data Manipulation is expressed by graph-oriented operation Graph DB-Model? –A model in which the data structures for the schema and/or instances are modeled as a directed, possibly labeled, graph, or generalizations of the graph data structure, where data manipulation is expressed by graph-oriented operations and type constructors, and appropriate integrity constraints can be defined over the graph structure

Page 3 Why a Graph Data Model? Natural modeling of data –Able to keep all the information about an entity in a single node and showing related information by arcs connected to it –Visible to the user and allows a natural way of handling applications data Queries can refer directly to this graph structure –Allow users to express a query at a high level of abstraction –A data model where the operations over data are graph transformations Comparison with other Database models

Page 4 Motivations and Applications Graph DB are motivated by real-life applications where component interconnectivity is a key feature –Classical App ‘See’ Data connectivity Managing Transportation Network Graphical and Visual interfaces On-line hypertext –Complex Networks Social Networks Information Networks Biological Networks

Page 5 Data structures The representation of entities and relations is fundamental to graph DB-models Graph DB-model is a framework for the presentation of connectivity among entities –Directed/Undirected graphs, Labeled/Unlabeled edges and nodes, Hypergraphs Representation of Entities : Schema and Instance –Schema graph defines entity types(nodes labeled with type name) and relation(edges labeled with relation names) –Instance graph contains entities (nodes labeled entity type or identifier) and relation(labeled edge according to schema) –Tuple and sets (PaMal, GDM) and n-ary relations (GOAL, GDM)

Page 6 Data structures (cont’d) Representation of Relations –Attributes Labeled edges directly related to nodes In case of GROOVY, attributes are triples inside hypernodes –Entities Most models do not support this feature because relations are represented as simple labeled edges –Standard Abstraction Is-part-of, is-composed by, n-ary relation –Derivation ISA, is-of-type –Nested This feature is naturally supported by using hypergraph structures

Page 7 Integrity Constraints Schema-Instance Consistency –Entity Type checking The instance should contain only entities and relations from entity types and relations that were defined in the schema An entity in the instance may only have those relations or properties defined for its entity type –Type checking constitute Object Identity and Referential Integrity –Set-based data models such as the relational model are value-based –Object Identity Every node has its own identifier –Referential Integrity ‘Only existing entities be referenced’

Page 8 Query and Manipulation Languages A query language is a collection of operators or inferrencing rules Existing Query Language –G Based on regular expressions Graphical query: set of labeled directed multigraphs Nodes are variables or constants Edges can be labeled with regular expressions –G+ Extension of G Graphical query Graph query + summary graph –GraphLog (G-log) Extension of G+ Adds negation Graph pattern = graph query + edge query + summary graph Includes transitive closure operator

Page 9 GraphLog example Query A asks for the names of Mary’s grandparents (fixed path query) Query B asks for the name of the maternal grandmother of Mary (tree-like query) Query C calculates Mary’s Ancestors (transitive closure)

Page 10 A Genealogy Diagram – an example

Page 11 LDM (Logical Data Model) The schema uses two basic type nodes for representing data values (N and L), and two nodes (NL and PP) to establish relations among data values in a relational style The instance is a collection of tables, one for each node of the schema.

Page 12 Hypernode Model The schema defines a person as a complex object with the properties name and lastname of type string, and parent of type person The instance shows the relations in the genealogy among different instances of person

Page 13 GROOVY At the schema level, we model an object PERSON as a hypergraph that relates the attributes NAME, LASTNAME and PARENTS Value functional dependency NAME,LASTNAME → PARENTS logically represented by the directed hyperedge ({NAME, LASTNAME} {PARENTS})

Page 14 Sematic-XT This model does not define an schema In the first level, the graph contains the relations Name and Lastname to identify people (P1,..., P6) In the second level we use the abstraction of Person, to compress the attributes Name and Lastname and represent only the relation Parent between people

Page 15 GGL Schema and instances are mixed Packaged graph nodes (Person1, Person2,... ) are used to encapsulate information about the graph defining a Person Relations among these packages are established using edges labeled with parent

Page 16 PaMaL Schema: basic type (string), class (Person), tuple (X), set (*) nodes for the schema level Atomic (George, Ana, etc.), instance (P1, P2, etc), tuple and set nodes for the instance level Note the use of edges ∈ to indicate elements in a set, and the edge typ to indicate the type of class Person (these edges are changed to val in the instance level).

Page 17 GRAM At the schema level, we use generalized names for definition of entities and relations At the instance level, we create instance labels (e.g. PERSON 1) to represent entities, and use the edges (defined in the schema) to express relations between data and entities

Page 18 Object Exchange Model (OEM) Schema and instance are mixed The data is modeled beginning in a root node &pp, with children person nodes, each of them identified by an Object-ID (e.g. &p2) These nodes have children that contain data (name and lastname) or references to other nodes (parent)

Page 19 RDF

Page 20