Skip to content
/ Glossary

Graph (Abstract Data Type)

A data structure representing networks of nodes interconnected by edges, used to model relationships.
Definition

In computing and artificial intelligence, a graph is an abstract data type that encapsulates the concept of a set of nodes (also called vertices) and the connections between them, known as edges. Graphs can be directed (where edges have a direction) or undirected (where edges have no direction), and can include weights (values associated with edges) to represent the cost or distance of the connection.

This structure is fundamental in computer science for modeling and analyzing relationships and networks in various domains, such as social networks, transportation networks, dependency graphs, and more. Graphs are central to numerous algorithms, including those for searching (like breadth-first search and depth-first search), shortest path finding (like Dijkstra's algorithm), and network flow problems.

Examples/Use Cases:

In AI and machine learning, graphs are extensively used in areas like natural language processing for parsing and understanding sentence structures, in recommendation systems to model the relationships between users and products, and in graph neural networks (GNNs) to process data that is inherently graph-structured, such as molecular structures or social networks.

For instance, in a knowledge graph, entities (like people, places, and things) are represented as nodes, and their relationships (like "is friends with" or "located in") are represented as edges, allowing the system to infer new knowledge or answer complex queries by traversing and analyzing the graph.

/ GET STARTED

Join the #1 Platform for AI Training Talent

Where top AI builders and expert AI Trainers connect to build the future of AI.
Self-Service
Post a Job
Post your project and get a shortlist of qualified AI Trainers and Data Labelers. Hire and manage your team in the tools you already use.
Managed Service
For Large Projects
Done-for-You
We recruit, onboard, and manage a dedicated team inside your tools. End-to-end operations for large or complex projects.
For Freelancers
Join as an AI Trainer
Find AI training and data labeling projects across platforms, all in one place. One profile, one application process, more opportunities.