Graph Databases - Reading Assignment

Welcome to the discussion about this reading assignment.

Leave your answers to the questions below in this thread. If you have any questions or you want to discuss something connected to the assignment feel free to do it in this thread as well, but please everything to the topic.

  1. What is a graph?
  2. What is an edge?
  3. What is a vertex?
  4. Why would we want to use a graph database instead of a normal SQL database?
14 Likes

Graph Databases – Reading Assignment

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

2. What is an edge?

These are used to describe the relationships between the objects contained in the database. Comparable to a foreign key in a relational database.

3. What is a vertex?

Vertices are objects such as people or artifacts (generally have properties).

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

Relationships are fundamental to how objects interact with one another and their environment. Graph databases are the perfect representation for those that contain large amounts of relationships between objects.

12 Likes
  1. A graph database uses nodes or vertices to function as records in a SQL database. The nodes are connected by lines or edges which record the relationships between nodes.
  2. An edge is the relationship between the 2 nodes it connects. It is like a foreign key in a SQL database.
  3. A vertex is a node or like a record with its attributes in a SQL database.
  4. Can make searching for data easier and discovering the many relationships between data easier to comprehend.
7 Likes

1) What is a graph?
An abstract data type normally 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?
An edge is used to describe the relationship between the objects contained in the database. They can be compared to the foreign key column of a row in a RDBMS.

3) What is a vertex?
A single object that is part of the whole data model or Graph. They are also known as Nodes and are connected by edges.

4) Why would we want to use a graph database instead of a normal SQL database?
Directly stating relationships between two objects within a graph database provides a strong advantage over relational database systems for certain datasets.
Those that contain a large amount of relationships within the data.

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

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

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

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

  1. What is a graph?

it is, in this case another form of a database that represents data, by nodes and vertices, and shows the relationship better, between different vertexes.
2. What is an edge?
it is a relationship or link between 2 different objects. objects are entities you put in the db.
3. What is a vertex?
vertex is an object, like a person or an entity you want to put in the db

  1. Why would we want to use a graph database instead of a normal SQL database?
    they highlight better the relationship between different vertices, and can be faster to extract data when relationships between different vertices or objects are important
1 Like

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

2 What is an edge?
an edge is some sort of relationship between entity objects

3 What is a vertex?
A vertex is an entity such as a person, place, object or relevant piece of data and edges, which represent the relationship between two nodes. Graph theory is the study of points and lines. In particular, it involves the ways in which sets of points, called vertices, can be connected by lines or arcs, called edges.

4 Why would we want to use a graph database instead of a normal SQL database?
It depends on the data, and how it is being accessed. 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.

  1. What is a graph?

A graph is an abstract data type typically used to model data that contains objects

  1. What is an edge?

Its an entity which describe the relationships between the objects contained in the database, and can be compared to the foreign key

  1. What is a vertex?

Bank of data that contains objects and have some sort of relationship between them

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

It has 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.

1 Like
  1. What is a graph?
    In this context a graph is an abstract data type that uses nodes/vertices to store data the way a table does in a relational database and uses lines/edges to represent the relationships between nodes.
  2. What is an edge?
    An edge is a connection between node objects that describes the relationship between objects.
  3. What is a vertex?
    A vertex is another name for a node and is a data object.
  4. Why would we want to use a graph database instead of a normal SQL database?
    If we need to query complex relationships, a graph database will do so more efficiently.
1 Like

1. What is a graph?
It is a representation of a model that has objects as nodes or vertices and relationships between each other as lines or edges.
2. What is an edge?
The relationships between nodes. It represents a foreign key column of a row.
3. What is a vertex?
It represents an object with information. It could be a row with each column as object properties in a RDBMS.
4. Why would we want to use a graph database instead of a normal SQL database?
Because:
• There are a lot of relationships within the data.
• It increases efficiency for searches. More than one level deep.

1 Like

1 A graph is a data structure type where objects are represented with relationships already established in each node
2 The edge is the relationship
3 The Vertex is the object
4 Where flexibility is needed as data changes and the database structure needs to up-date and change over time.

[quote=“ivan, post:1, topic:6434”]

  1. What is a graph? A Graph is an abstract data type typically used to modal 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? An Edge is the relationship between the objects (nodes, and or vertices) in the database. the edge can be compared to a foreign key column of a row in RDBMS.

  3. What is a vertex? A Vertex or node represents an entity such as a person place or object , and is comparable to a row in a relational database.

  4. Why would we want to use a graph database instead of a normal SQL database? With a Graph Database you have the ability to directly state the relationship between two objects within a graph.
    a Graph Database may also increase efficiency for searches like when preforming a search that is more then one level deep.

  1. A graph is an abstract data type typically used to model data that contains objects and some relationships between those objects.
  2. The edge contains relationships between nodes.
  3. A vertex or node represent an entity object with its properties.
  4. We would prefer to use graph database instead of SQL when there are many relationships between data. And in such case, searching would be faster.
  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?
  • An edge is used to describe the relationships between objects contained within the graph database.
  1. What is a vertex?
  • A vertex or node, containing data, represents an object entity within the graph database.
  1. Why would we want to use a graph database instead of a normal SQL database?
  • Graph databases are more advantageous over SQL as they allow for simplified and direct data searches for databases containing a high-level of relationships.
2 Likes

What is a graph?
(GDB) Nodes with different relationships. You can define a node as an entity like things, categories, a person or a place.

What is an edge?
The relation between two nodes (Like foreign key in a SQL)

What is a vertex?
Vertices are the same as nodes.

Why would we want to use a graph database instead of a normal SQL database?
The volume of the data and different connections will grow exponentially in the future. GraphDB are very flexibly. It works well when you developing the project in an Agile way

  • What is a graph?
    It is used to model data. The data is represented in nodes and relationships are defined between the nodes.

  • What is an edge?
    An edge is analogous to a foreign key. It establishes/visualizes the relationship between nodes.

  • What is a vertex?
    Same thing as a node.

  • Why would we want to use a graph database instead of a normal SQL database?
    If the relationships between data items is complex.

@ivan
Not sure if anyone else actually reads answers. . . . but I am having the hardest time wrapping my head around the ‘vertical’ visualization of all of this data. I can get it when I look at node to node, but if I try to visualize millions of nodes in this vast array of relationships, I just can’t see it (yet). I’ve watched a couple of youtube videos and it’s still not cutting it. Unfortunately, I usually have to play with something real-time before I can conceptualize it at scale. Not sure if anyone has come across any resources that might help me with this, but I would love to see it.

  1. What is a graph?
    An abstract data type used to model data with, typically using nodes and edges to define the objects and their relationships.

  2. What is an edge?
    And edge is a link between 2 nodes or vertices, and is similar to a foreign key in a relational database.

  3. What is a vertex?
    A vertex or node is an object within a graph database, such as a person, with various properties.

  4. Why would we want to use a graph database instead of a normal SQL database?
    Especially useful for deeper queries that in a relational database would require several recursive lookups, but are much more efficient in a graph database.

  1. What is a graph?
    Is an abstract data type
  2. What is an edge?
    Is the relationship between objects
  3. What is a vertex?
    Is a node, contain the data
  4. Why would we want to use a graph database instead of a normal SQL database?
    In context with a hig level of complexity in the relation of the data is more efficient

1. What is a graph? A graph is an abstract data type typically used to model data that contains objects, and some sort of relationship between those objects.
2. What is an edge? An edge is used to describe the relationships between the objects contained in the database. Comparable to a foreign key in a relational database.
3. What is a vertex? Vertices are objects such as people or artifacts
4. Why would we want to use a graph database instead of a normal SQL database? Graph databases are the perfect representation for those that contain large amounts of relationships between objects.

  1. A graph in this context is a way to include many relationships into the data itself as represent those into the data of the database.
  2. An edge is where you include the relationship into the data between objects or nodes.
  3. Vertex which are aka nodes, contain object or objects, and are joined or connected by edges (the part that contains the relationship aspect.
  4. Graph databases can offer greater efficiency in doing a ‘god like’ search of many types of relationships between nodes or objects.