Вы находитесь на странице: 1из 20

DESIGN OF GUI

FOR
GRAPH BASED DATA MODEL
INTRODUCTION

• Graph like data is everywhere.


• advantages of graph models over
relational, OO or semistructured
models
• variety of graph-based data models
• on the Web: RDF, RDFS, SKOS, OWL,
GRDDL, RDFa, microformats, etc.
What is a Data Model?
TYPES OF DATA MODELS
• Relational model .
• Network model.
• Hierarchial model.
• Object –oriented model.
• Object-relational model.
• Graph based data model.
Graph model vs. Relational model
• Deficiencies of Relational Data Model

•Non-hierarchial.

•No support for user defined data-types

•Expensive join operations.

•Semantic integrity constraints are


enforced externally.
Graph model vs. OO model


OO also uses (implicitly or explicitly)
graph definitions


However

OO views the world as objects.

Graph models the world as a network of
entities.
Graph model vs. Semistructured
model

Schema describes (but doesn't limit)
the data.

This allows easier data exchange.

Schema continuously evolving.


Usually semistructured models are
represented by trees (although there
can be expressed cycles).
What is a graph data model?


A data model where the data
(schema) is represented as a graph.


A data model where the operations
over data are graph transformations.


Semantic Integrity constraints.
Why do we need graph models?

• Modular structure.
• Encapsulation.
• Inheritance.
• Ease of query processing.
• Maintenance.
Why do we need graph model?


Complex networks

Social networks (friendship, DBLP)


Information networks (Web, Wikipedia)


Technological networks (phone,
airports)


Biological networks (pathways, food
webs)
Data structures


Relational model → attributes

Semantic models → abstractions

OO models → complex objects

Semistructured models →
composition relations

Graph models → connectivity among
entities
Different graph models


Digraph such as GOOD, GMOD, G-
Log, Gram


Hypernode such as Simatic-XT, GGL


Hypergraph (nested labeled digraphs)
such as GROOVY
Graph based data model
• Entire database is viewed as a
graph.
• Vertices represent occurrence of
each entity as well as some high
level abstraction of these
occurrences.
• Edges represent relationship
among entities.
Graph based data model
Objective of the project
To provide a graphical user interface
for automation of the graph based
data model.
Scope of the Work
• Design the GUI providing the user with
the interface for implementation of the
graph based data model.

• To implement the data structure of the


data model for effective storing of data.
Design of GUI

Here the graph model contains:-


• PSG:-each node represented by a
“circle”.
• SSG:-few PSGS aggregated to form
higher level nodes and
represented by “rectangle”.
• Determinant.
• Edges
An Implementation
Tool Functions
• PSG :-To represent the data elements.
• SSG :-To represent the entities.
• Edge :-To represent the relationship.
• Clear :- Clears the screen.
• Upgrade Level :- To represent the next
level of hierarchy.
THANK YOU

Вам также может понравиться