Dataset Viewer
Auto-converted to Parquet Duplicate
No rows found.

Kaggle Knowledge Graph

A knowledge graph built from Kaggle's public Meta Kaggle (and Meta Kaggle Code datasets). It links competitions, teams, submissions, users, notebooks, datasets, discussion forums, tags, organizations, and notebook code invocations.

See the project repository for build scripts and documentation on the graph schema, data model, and usage examples.

Release

Field Value
Version 2026-09-18
Meta Kaggle snapshot 2026-09-18
Build code https://github.com/IssunDB/kaggle-knowledge-graph at commit f9983c4
Nodes 2,496,552
Edges 7,250,368
Size 328 MiB

File counts, byte sizes, and SHA-256 digests are recorded in manifest.json.

Scope

The graph covers competitions enabled on or after 2020-01-01 (excluding Community events) and their associated entities:

  • Ranked and medal-winning teams, their members, leaders, and leaderboard submissions.
  • The 50 most-voted notebooks per competition, notebook version lineage, and referenced datasets.
  • Competition discussion forums with topics, team write-ups, and messages (in raw HTML and Markdown).
  • Tag taxonomy, host and owner organizations, imported libraries, and parsed Python API calls.

All edge endpoints resolve to nodes present in this release.

Tables

Nodes

Label File Rows Columns
Competition nodes_competition.parquet 369 Id, Slug, Title, Subtitle, HostSegmentTitle, HostName, ForumId, OrganizationId, EnabledDate, DeadlineDate, EvaluationAlgorithmName, EvaluationAlgorithmDescription, EvaluationAlgorithmIsMax, RewardType, RewardQuantity, MaxTeamSize, TotalTeams, TotalCompetitors, TotalSubmissions, Overview, Rules, DatasetDescription
Team nodes_team.parquet 519,214 Id, CompetitionId, TeamName, Medal, PublicLeaderboardRank, PrivateLeaderboardRank, ScoreFirstSubmittedDate, LastSubmissionDate, IsBenchmark
User nodes_user.parquet 272,324 Id, UserName, DisplayName, RegisterDate, PerformanceTier, Country
Submission nodes_submission.parquet 718,275 Id, TeamId, SubmittedUserId, SourceKernelVersionId, SubmissionDate, ScoreDate, IsAfterDeadline, IsSelected, PublicScoreFullPrecision, PrivateScoreFullPrecision
Kernel nodes_kernel.parquet 16,939 Id, AuthorUserId, CurrentKernelVersionId, FirstKernelVersionId, ForumTopicId, CreationDate, Medal, TotalViews, TotalComments, TotalVotes, CurrentUrlSlug
KernelVersion nodes_kernel_version.parquet 428,102 Id, ScriptId, VersionNumber, Title, CreationDate, TotalLines, TotalVotes, IsInternetEnabled, RunningTimeInMilliseconds, DockerImage, AuthorUserId, ScriptLanguage, AcceleratorType
Dataset nodes_dataset.parquet 6,852 Id, CreatorUserId, OwnerUserId, OwnerOrganizationId, CurrentDatasetVersionId, ForumId, Type, CreationDate, LastActivityDate, TotalViews, TotalDownloads, TotalVotes, TotalKernels, Medal
DatasetVersion nodes_dataset_version.parquet 14,595 Id, DatasetId, CreatorUserId, LicenseName, CreationDate, VersionNumber, Title, Slug, Subtitle, Description, VersionNotes, TotalCompressedBytes, TotalUncompressedBytes
Tag nodes_tag.parquet 833 Id, ParentTagId, Name, Slug, FullPath, Description
Forum nodes_forum.parquet 332 Id, ParentForumId, Title
ForumTopic nodes_forum_topic.parquet 63,309 Id, ForumId, KernelId, CreationDate, LastCommentDate, Title, IsSticky, TotalViews, Score, TotalMessages, TotalReplies
ForumMessage nodes_forum_message.parquet 455,251 Id, ForumTopicId, PostUserId, PostDate, ReplyToForumMessageId, Message, RawMarkdown, Medal, MedalAwardDate
Library nodes_library.parquet 0 Id
ApiCall nodes_api_call.parquet 0 Id, Library
Organization nodes_organization.parquet 157 Id, Name, Slug, CreationDate, Description

Edges

Type From To File Rows
COMPETED_IN Team Competition edges_team_competed_in_competition.parquet 519,214
MEMBER_OF_TEAM User Team edges_user_member_of_team.parquet 586,014
LED_TEAM User Team edges_user_led_team.parquet 505,451
FOR_TEAM Submission Team edges_submission_for_team.parquet 718,275
SUBMITTED User Submission edges_user_submitted.parquet 699,576
FROM_KERNEL_VERSION Submission KernelVersion edges_submission_from_kernel_version.parquet 3,648
PUBLIC_LEADERBOARD_SUBMISSION Team Submission edges_team_public_leaderboard_submission.parquet 519,098
PRIVATE_LEADERBOARD_SUBMISSION Team Submission edges_team_private_leaderboard_submission.parquet 519,098
AUTHORED_KERNEL User Kernel edges_user_authored_kernel.parquet 16,231
HAS_VERSION Kernel KernelVersion edges_kernel_has_version.parquet 428,102
CURRENT_VERSION Kernel KernelVersion edges_kernel_current_version.parquet 16,571
AUTHORED_BY KernelVersion User edges_kernel_version_authored_by_user.parquet 414,268
FORKED_FROM KernelVersion KernelVersion edges_kernel_version_forked_from.parquet 75,974
USES_COMPETITION KernelVersion Competition edges_kernel_version_uses_competition.parquet 439,893
IMPORTS KernelVersion Library edges_kernel_version_imports_library.parquet 0
CALLS KernelVersion ApiCall edges_kernel_version_calls_api_call.parquet 0
IN_LIBRARY ApiCall Library edges_api_call_in_library.parquet 0
USES_DATASET_VERSION KernelVersion DatasetVersion edges_kernel_version_uses_dataset_version.parquet 390,912
HAS_VERSION Dataset DatasetVersion edges_dataset_has_version.parquet 14,595
CURRENT_VERSION Dataset DatasetVersion edges_dataset_current_version.parquet 6,489
OWNED_BY_ORGANIZATION Dataset Organization edges_dataset_owned_by_organization.parquet 117
TAGGED_WITH Kernel Tag edges_kernel_tagged_with_tag.parquet 22,902
TAGGED_WITH Dataset Tag edges_dataset_tagged_with_tag.parquet 8,496
TAGGED_WITH Competition Tag edges_competition_tagged_with_tag.parquet 852
HAS_FORUM Competition Forum edges_competition_has_forum.parquet 334
HAS_ORGANIZATION Competition Organization edges_competition_has_organization.parquet 367
MEMBER_OF_ORGANIZATION User Organization edges_user_member_of_organization.parquet 294
HAS_TOPIC Forum ForumTopic edges_forum_has_topic.parquet 63,309
HAS_WRITEUP Team ForumTopic edges_team_has_writeup_topic.parquet 4,359
HAS_MESSAGE ForumTopic ForumMessage edges_forum_topic_has_message.parquet 455,251
POSTED_MESSAGE User ForumMessage edges_user_posted_message.parquet 450,709
REPLIES_TO ForumMessage ForumMessage edges_forum_message_replies_to.parquet 369,969

Usage

Query directly with DuckDB:

import duckdb

duckdb.sql("""
    SELECT c.Title, COUNT(*) AS teams
    FROM 'data/edges_team_competed_in_competition.parquet' e
    JOIN 'data/nodes_competition.parquet' c ON c.Id = e.to_competition_id
    GROUP BY c.Title
    ORDER BY teams DESC
    LIMIT 10
""").show()

Load with Hugging Face datasets:

from datasets import load_dataset

competitions = load_dataset("habedi/kaggle-knowledge-graph", "nodes_competition", split="train")

To query with Cypher, load the files into IssunDB or any other graph database of your choice.

Limitations

  • Snapshot from 2026-09-18; later Kaggle activity is not included.
  • Covers competitions enabled on or after 2020-01-01 and at most 50 most-voted notebooks per competition.
  • Library and API call tables cover only notebook versions available in Meta Kaggle Code.
  • Forum messages are stored as raw Kaggle HTML and Markdown.

Licensing and Privacy

Meta Kaggle data is licensed under CC BY-NC-SA 4.0 for non-commercial use with attribution. Build scripts at https://github.com/IssunDB/kaggle-knowledge-graph are licensed under the MIT License. The dataset includes only public profile attributes and forum posts published by Kaggle.

Downloads last month
114