ROUGH DRAFT authorea.com/113542
Main Data History
Export
Show Index Toggle 0 comments
  •  Quick Edit
  • Graph Data Management

    Abstract- Graph Data Management is all about to maintain the large data in the form of Graphs. It is good for database researchers. Graph database is a database where the data structure for instances are modeled as graph by Quering. Graph Data Management System is Neo4j, Which implements the graphs of data.The application domains where graph or network analytics are regularly applied include social media, finance, communication networks, biological networks, and many others. Despite much work on the topic, graph data management is still a nascent topic with many open questions. In this research, we present the basic notation of graph databases, give an historical overview of its main development and study main current system that implement them.

    Introduction

    It has been long recognized that graphs are a natural way to represent information and knowledge.Graph Data Management is managing, querying a set of entities(nodes) and interconnection(edges) between them. Both of which may have attributes with them. Both academia and industry show interest in graph data management because of adoption of graph models in several new applications domains. Graph Data Management System “Neo4j” is used to implement the graphs on large scale. This system uses the Cypher Query Language to make graphs of the data by querying the data.

    The Property Graph Model

    The property graph contains connected entities (the nodes) which can hold any number of attributes (key-value-pairs). Nodes can be tagged with labels representing their different roles in your domain.Relationships provide directed, named semantically relevant connections between two node-entities. A relationship always has a direction, a type, a start node, and an end node. Like nodes, relationships can have any properties. In most cases, relationships have quantitative properties, such as weights, costs, distances, ratings, time intervals, or strengths. As relationships are stored efficiently, two nodes can share any number or type of relationships without sacrificing performance.

    Graph Model

    Neo4j

    It is Graph Database Management System, developed by Neo4j Technology, Inc. It uses Cypher Query Language. Neo4j is implemented in Java and Scala.Like Java, Scala is object-oriented, and uses a curly-brace syntax reminiscent of the C programming language. Unlike Java, Scala has many features of functional programming languages like Scheme, Standard ML and Haskell, including currying, type inference, immutability, lazy evaluation, and pattern matching.

    Install Neo4j

    First step to learn about Neo4j, You need to install it. Experience powerful scalability, blazing speed and unparalleled flexibility – download and try Neo4j by using “http:/neo4j/download”.

    Cypher Query Language

    It is a declarative, SQL inspired textual Query language but for graphs.It is a syntax provides way to match patterns of nodes and relationship in graph. It consist of clause, keywords and expressions like predicates and functions like WHERE, ORDER BY, SKIP LIMIT, AND etc.We represent the circles of node entities with round parentheses, like this: (p:Product). And arrows of relationships are drawn as such –>, you can add relationship-type and other information in square brackets -[:ORDERED]->. If we compare SQL and Cypher, unlike SQL Cypher is all about expressing graph patterns.We added a special clause MATCH for matching those patterns in your data.

    Difference between SQL vs Cypher Query Language