Graph Databases - Reading Assignment

a graph is an abstract data type used to model data that contains objects
(these objects are comparable to a row in RDBMS)
2)
relationships (in RDBMS the foreign keys) are edges in a graph DB
3)
vertices are graphs, nodes, objects
4)
for searches that are more than one level deep

1 Like
  1. A graph is a diagram showing the relation between variable quantities, typically of two variables, each measured along one of a pair of axes at right angles. It is a collection of nodes (vertices) and edges that connect these vertices. Graphs are used to represent arbitrary relationships among objects. A graph can be directed or undirected.

  2. An edge is what connects vertices together.

  3. A vertex is the singular of vertices. One single node that has the potential to be connected by an edge to another single vertex.

  4. An advantage of using a graph database over a SQL database is the ability to directly state the relationship between two objects within a graph database. This provides a strong advantage over relational database systems for certain datasets like those that contain a large number of relationships within the data.

Graph databases 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. If we wanted to find all employees who work in a department with a specific employee, using a graph database would be simpler. This would be simpler because a graph database wouldn’t necessarily require searching every table, row, and column, like in an SQL database.

1 Like
  1. What is a graph?
    an abstract data type that is used to model or illustrate relationships between data objects

  2. What is an edge?
    it is used to describe the relationship between data objects or nodes

  3. What is a vertex?
    a data object that represents an entity such as a person or place

  4. Why would we want to use a graph database instead of a normal SQL database?
    to help clearly depict relationships that aren’t super clear or have numerous relationships within the data. It can also ease the searching process.

1 Like
  1. 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. relationships between the nodes
  3. the node, comparable to a row in a relational database
  4. with a higher level of difficulty in relationships. where relations are better represented in graphical presentation.
1 Like

Excellent answer sir! really well documented! keep it like that please! :muscle:

Carlos Z.

  1. A graph is an abstract data type typically used to model data that contains objects (nodes) and some sort of relationship between those objects (lines or edges)
  2. Edge is a relationship between objects.
  3. Objects/ Nodes which contain some sort of data.
  4. A graph database has ability to directly state the relationship between two objects within a graph database.
1 Like
  1. 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)
  2. Edges are used to describe the relationships between the objects contained in the database
  3. Assuming you mean Vertices/Nodes, these are used to represent an entity object, and is comparable to a row in a relational database
  4. If we have to search data in multiple levels of relationships
1 Like
  1. Graph is a database used to model data that have nodes and defined relationships between nodes.
  2. An edge is a defined relationship between nodes
  3. A vertex is a node or entity of data equivalent to a row in SQL
  4. You would use graph over mySQL when you have a lot of data with complex relationships, they yield better efficiency with a lot of data with complex relationships compared to SQL
1 Like

1. What is a graph?
A graph is a mathematical representation of data where nodes represent objects and lines represent relationships with other objects.

What is an edge?
An edge is a line between two nodes which holds detail on how the two nodes are related, similar to columns in an SQL table

What is a vertex?
A vertex is a data point similar to a row in an SQL table

Why would we want to use a graph database instead of a normal SQL database?
To query data more efficiently where there are multiple levels of relationships, SQL databases are typically slower executing these types of queries.

1 Like
  1. What is a graph?
    It’s an abstract data type that contains the relationships between objects.

  2. What is an edge?
    They are similar to what a foreign key is in a RDBMS, it describes the relationship between the objects stored.

  3. What is a vertex?
    A vertex is an object in a database, ex. people.

  4. Why would we want to use a graph database instead of a normal SQL database?
    Graph databases have the flexibility to contain large amounts of relational data that a SQL database would struggle to represent.

1 Like
  1. 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).
  2. The relationship between objects.
  3. Data that contains objects.
  4. For searches the efficiency is significantly increased, the ability to directly state the relationship between two objects.
1 Like
  1. What is a graph?
    A data typed used to model data that contains objects and relationships between those object.

  2. What is an edge?
    Edges exist between nodes to describe relationships between the objects in the database and are in some ways comparable to a foreign key in a relational DB.

  3. What is a vertex?
    A data type that contains objects.

  4. Why would we want to use a graph database instead of a normal SQL database?
    It is a very efficient type of database.

1 Like

1) 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).
2) These 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.
3) A Vertices ( node ) represents an entity (for example, a person or an organization) and an edge represents a relationship between the two vertices (nodes) that it connects (for example, likes or friends)
4) Graph database not only stores the relationships between objects in a native way, making queries about relationships fast and easy, but allows you to include different kinds of objects and different kinds of relationships in the graph.

1 Like
  • 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).

  • 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.

  • What is a vertex?
    A Vertex or Node is used to represent an entity object, and is comparable to a row in a relational database.

  • Why would we want to use a graph database instead of a normal SQL database?
    When the data and the associated relationships are best represented in graphical format.

2 Likes
  1. It is a mathematical data-type for complex relations
  2. An edge is a connection between vertices
  3. It is an object in a graph database that contain data
  4. Just if you want to request second layer relationships or more complex relations
2 Likes
  1. abstract data type, normally used to model data that contains objects (reffered to as nodes or vertices) some sort of relationship between those objects

  2. describes the relationship between objects contained in database, can be compared to the foreign key colomn of a row

  3. vertex is a single object part of whole model or graph aka nodes connected by edges

  4. directly stating relationships between two object with in a graph database provides a strong advantagee over relational database; Systems for a certain data sets those contain a large amount of relationships within the data

2 Likes
  1. A Graph is basically a database which stores data in an abstract/nonconventional way
  2. An edge is the relationship that exists between various records (nodes) which are in turn searchable. It is comparable to a foreign key and as such would be indexed
  3. A Vertex is similar to a node and is comparable to a record in a Relational database
  4. While unstructured at first sight, the relationships between the nodes are an integral part of the database concept and as such offer more depth in searches. In some cases such database structure might be preferred to the classical SQL database.
3 Likes
  1. A graph is an abstract data type (a way) to model data that contains objects (also called nodes or vertices) and some sort of relationship between them (called lines or edges).

  2. An edge contains relationship data between nodes.

  3. Vertex/vertices is/are object(s) represented in a graph.

  4. For datasets containing large amount of relationships within the data, graph databases may offer increased efficiency in searches.

3 Likes

What is a graph?
It is an abstract data type used to model data containing objects and the relationship between them.
What is an edge?
A link used to describe relationships between nodes. Similar to the foreign key column in a relational database.
What is a vertex?
A vertex or node represents an entity object. It is comparable to a row in a relational database.
Why would we want to use a graph database instead of a normal SQL database?
In cases where the search needs to be on more than one level. It avoids recursive searches.

1 Like
  1. A graph is a data set with entity/objects and relationships between them

  2. An edge is the relationship to other graphs

  3. Vertex (not explained until here, so I had to google it for me :slight_smile:): That is the node in a graph. This can be compared to the row and column in a SQL database

  4. You want to use graphs if relationships are very important in your data and in your data request

2 Likes