Graph Databases - Reading Assignment

  1. Graph is a an abstract data typically used to model that contains object - referred as nodes or vertices. Also contain edges between each node.
  2. Edge is used to describe the relationships between objects contained in the database, and can be compared to the foreign key column of a row in a RDBMS.
  3. Vertex or a node is the fundamental unit of which graph are formed, undirected graph of consist of a set of vertices and a set of edges.
  4. For efficiency - making queries about relationships fast and easy. It allows you to include different kinds of objects and kinds relationships in a graph.
1 Like
  1. Graph is data which is connected to each other. Data that persists relationship in the storage layer. Example of graph data in real world - social media; recommendation engines, Geospatial etc

  1. Vertex = objects. For example Robin, Thomas, Football etc

  2. Edge = relationships between objects. For example knows, uses, located etc in the above image

  3. Real world data it naturally connect with each other. There is a need for entities and a relationship between the entities. As the graph databases are No-SQL and no schema constrains it really helps in modeling data for real world use cases like social media applications.

1 Like
  1. A graph is an abstract datatype that stores objects and the relationship between those objects.
  2. An edge describes the relationship between objects contained in the database
    3.A vertex is any object or entity
  3. A graph database shows the specifics of the relationships between objects, especially among large data.
1 Like

Reading Assignment: Graph Databases

A graph is a type of database used to map complex (or multi-layered) relationships between objects (nodes/vertices).

The relationship between objects in a graph database is called an edge or line.

A vertex is a data object in a graph database. The relationship between vertices are mapped via edges (lines).

You may want to use a graph database when you have many interrelated objects in a database and you want to query based on relationships.

A example helps. If I have a database with tables of music_fans and rock_bands, I may have a table that maps music_fans to the rock_bands they like. A traditional SQL database is great at telling me what rock_bands a person likes. In this case I care most about the objects (music_fans and rock_bands). But what if I want to know what other rock_bands I might be interested in? (i.e. what bands do I not yet know about that people who like the bands I like also enjoy). In this “multi-layer query” scenario a graph database excels as it prioritizes the relationships between objects.

A graph database becomes more compelling as the number of relationships between objects increases and we look more for insight from those relationships.

2 Likes
  1. What is a graph?
    A tool to manage compley realtion database, in order to model data that contains objects and some sort of relationship between those objects.

  2. What is an edge?
    Edges describe the relationships between the objects contained in the database, comparable to “foreign keys” in SQL, relational databases

  3. What is a vertex?
    vertex is like a cornerstone of objects (that have properties)

  4. Why would we want to use a graph database instead of a normal SQL database?
    Graph databases offer increased efficiency for complex, multilevels deep searches.

2 Likes
  1. A Graph DB is an abstract DB where you can clearly see relationships, known as nodes or vertices between entities.

  2. An edge is a way of unequivocally identifying a relationship between entities

  3. A vertex is also called a node and is an object within the DB, which could be a person or organisation

  4. A graph DB is mainly used where you need to see relationships between entities. Efficiency and speed may also be reasons to use a Graph DB

2 Likes
  1. What is a graph?
    Graph is an abstract data type used to mode data that contains objects and relationships.

  2. What is an edge?
    Edges are information that explains the relationship between the nodes.

  3. What is a vertex?
    It is one of the elements that consists the graph database.
    It is the node like objects.

  4. Why would we want to use a graph database instead of a normal SQL database?
    It is easier to search the relationship.

2 Likes
  • What is a graph?
    is an abstract data model showing objects called nodes and the relation between them with lines. Each node consist of entity objects (comparable with rows in the SQL database) and object properties ( comparable to the column in SQL database).
  • What is an edge? edges represent the relationship between nodes.
  • What is a vertex? Vertices are objects, that generally have properties.
  • Why would we want to use a graph database instead of a normal SQL database?
    Because it gives an easier overview of relationships between objects and it makes queries easier. graph databases are a perfect representation if large amounts of relationships.
2 Likes
  1. A graphic is an abstract data type used to model data containing objects.

  2. An edge (or line) is a relationship between to nodes.

  3. A vertex is another name for a node, an object in a graph database.

  4. If data you wish to store contains lots of interrelated object and may wish to make query which are several levels deep than it can be more efficient to store this data in a graph database. The equivalent search using a relational database would be slower and require more queries.

2 Likes

1.What is a graph?

An abstract data type typically used to model data containing objects (nodes or vertices), and some sort of relationship between those objects (lines or edges).

2.What is an edge?

The relationship between vertices.

3.What is a vertex?

The data object.

4.Why would we want to use a graph database instead of a normal SQL database?

Because of its ability to directly state the relationship between two objects in more complicated datasets (more layers containing large amounts of relationships within the data). Performing the same task with a SQL database would be more complicated - take more computation power and time.

2 Likes
  1. What is a graph?
    => an abstract data type typically used to model data that contains objects (referred to as nodes or vertices), and some sort of relationship between those objects (lines or edges).
  2. What is an edge?
    => describes the relationships between the objects contained in the database, comparable with foreign keys in RDBMS (MySQL).
  3. What is a vertex?
    => a node, comparable to a row in RDBMS.
  4. Why would we want to use a graph database instead of a normal SQL database?
    => Large datasets with complex relations, giving increased efficiency for searches (> 1 level deep).
2 Likes

1is a database that links nodes
2 because it makes a direct relationship between two objects
3 its people or items
4 because it is faster than all databases

2 Likes
  1. A graph is an abstract data type made to have data sit in a structure with nodes, and then having some sort of relationship between those nodes
  2. An edge is the relationships between the objects / nodes in the database (a bit like the “foreign key column” of a row in a relationship type database)
  3. A vertex is another term for a “node” in a graph database
  4. Graph databases can incorporate much more complex relationships between objects / nodes than a regular SQL database can. It’s a lot quicker to retrieve complex relational data in a graph database for instance.
2 Likes
  1. Graph is is a database that treat the relationships between data as equally important to the data itself. It stores relationship between entities.

  2. Edge is the relationship between objects.

  3. Vertex is the property of an object.

  4. A graph database can query faster the relationships between many data relationships

2 Likes
  • What is a graph?
    In this context it’s a representation using nodes and edges to define the objects and it’s relationships

  • What is an edge?
    Edge or line are relatonships between the objet and the database

  • What is a vertex?
    Vertex is a node or entry on the DB

  • Why would we want to use a graph database instead of a normal SQL database?
    If you have a complex relationship model cause the graph DB is according to the text more efficient in rertieving the data (for the query executed)

2 Likes
  1. What is a graph?

A graph is an abstract data type typically used to model data that contains objects (referred to as nodes or vertices), and some sort of relationship between those objects (lines or edges).

  1. What is an edge?

Edges are use to describe the relationships between the objects contained in the database, and in most they can be compared to the foreign key column of a row in a RDBMS.

  1. What is a vertex?

In mathematics, and more specifically in graph theory, a vertex (plural of vertices) or node is the fundamental unit of which graphs are formed.

The object that contains data within a Graph Database

  1. Why would we want to use a graph database instead of a normal SQL database?

The verticals/nodes contain a much larger amount of relationships within the data. Increased efficiency for searches in some cases. Best for searches that are more than one level deep.

3 Likes
  1. An abstract data type used to model data that contains objects (referred to as nodes or verticies) and a relationship between these objects.
  2. An Edge between nodes are used to describe the relationships between objects in a database.
  3. Vertices are objects in a database (People)
  4. Directly states relationships between two objects, Data which contains a large amount of relationships within the database, Doing Deep level searches (Corporate structure info)
3 Likes

Loved your answers. It’s easy to understand. Great work. :clap:

Carlos Z.

2 Likes

What is a graph?
It is a type of database that uses objects as nodes. These nodes have relationships between each other as lines or edges.
2. What is an edge?
The relationships between nodes.
3. What is a vertex?
A vertex represents an node with information.
4. Why would we want to use a graph database instead of a normal SQL database?
Because:
• A lot of many to many relationships within the data.
• Faster searches for information deeper than one level.

2 Likes
  1. A graph is an abstract data type typically used to model data that contains objects.

  2. An edge refers to relationship between objects.

  3. Vertex are objects, such as people or artifacts.

  4. The ability to directly state the relationship between two objects within a graph database provides a strong advantage over relational database systems for certain datasets. Namely, those that contain a large amount of relationships within the data.

Graph databases may also offer increased efficiency for searches in some cases. The best example of this is when a business needs to perform a search that is more than one level deep.

3 Likes