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-11-12
Meta Kaggle snapshot 2026-11-12
Build code https://github.com/IssunDB/kaggle-knowledge-graph at commit 1674556
Nodes 2,591,298
Edges 7,536,514
Size 339 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 379 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 546,922 Id, CompetitionId, TeamName, Medal, PublicLeaderboardRank, PrivateLeaderboardRank, ScoreFirstSubmittedDate, LastSubmissionDate, IsBenchmark
User nodes_user.parquet 285,423 Id, UserName, DisplayName, RegisterDate, PerformanceTier, Country
Submission nodes_submission.parquet 755,902 Id, TeamId, SubmittedUserId, SourceKernelVersionId, SubmissionDate, ScoreDate, IsAfterDeadline, IsSelected, PublicScoreFullPrecision, PrivateScoreFullPrecision
Kernel nodes_kernel.parquet 17,399 Id, AuthorUserId, CurrentKernelVersionId, FirstKernelVersionId, ForumTopicId, CreationDate, Medal, TotalViews, TotalComments, TotalVotes, CurrentUrlSlug
KernelVersion nodes_kernel_version.parquet 436,756 Id, ScriptId, VersionNumber, Title, CreationDate, TotalLines, TotalVotes, IsInternetEnabled, RunningTimeInMilliseconds, DockerImage, AuthorUserId, ScriptLanguage, AcceleratorType
Dataset nodes_dataset.parquet 7,200 Id, CreatorUserId, OwnerUserId, OwnerOrganizationId, CurrentDatasetVersionId, ForumId, Type, CreationDate, LastActivityDate, TotalViews, TotalDownloads, TotalVotes, TotalKernels, Medal
DatasetVersion nodes_dataset_version.parquet 16,259 Id, DatasetId, CreatorUserId, LicenseName, CreationDate, VersionNumber, Title, Slug, Subtitle, Description, VersionNotes, TotalCompressedBytes, TotalUncompressedBytes
Tag nodes_tag.parquet 837 Id, ParentTagId, Name, Slug, FullPath, Description
Forum nodes_forum.parquet 338 Id, ParentForumId, Title
ForumTopic nodes_forum_topic.parquet 64,253 Id, ForumId, KernelId, CreationDate, LastCommentDate, Title, IsSticky, TotalViews, Score, TotalMessages, TotalReplies
ForumMessage nodes_forum_message.parquet 459,472 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 158 Id, Name, Slug, CreationDate, Description

Edges

Type From To File Rows
COMPETED_IN Team Competition edges_team_competed_in_competition.parquet 546,922
MEMBER_OF_TEAM User Team edges_user_member_of_team.parquet 616,212
LED_TEAM User Team edges_user_led_team.parquet 532,586
FOR_TEAM Submission Team edges_submission_for_team.parquet 755,902
SUBMITTED User Submission edges_user_submitted.parquet 736,424
FROM_KERNEL_VERSION Submission KernelVersion edges_submission_from_kernel_version.parquet 3,753
PUBLIC_LEADERBOARD_SUBMISSION Team Submission edges_team_public_leaderboard_submission.parquet 546,806
PRIVATE_LEADERBOARD_SUBMISSION Team Submission edges_team_private_leaderboard_submission.parquet 546,806
AUTHORED_KERNEL User Kernel edges_user_authored_kernel.parquet 16,663
HAS_VERSION Kernel KernelVersion edges_kernel_has_version.parquet 436,756
CURRENT_VERSION Kernel KernelVersion edges_kernel_current_version.parquet 17,020
AUTHORED_BY KernelVersion User edges_kernel_version_authored_by_user.parquet 421,621
FORKED_FROM KernelVersion KernelVersion edges_kernel_version_forked_from.parquet 83,541
USES_COMPETITION KernelVersion Competition edges_kernel_version_uses_competition.parquet 448,388
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 414,425
HAS_VERSION Dataset DatasetVersion edges_dataset_has_version.parquet 16,259
CURRENT_VERSION Dataset DatasetVersion edges_dataset_current_version.parquet 6,814
OWNED_BY_ORGANIZATION Dataset Organization edges_dataset_owned_by_organization.parquet 160
TAGGED_WITH Kernel Tag edges_kernel_tagged_with_tag.parquet 23,260
TAGGED_WITH Dataset Tag edges_dataset_tagged_with_tag.parquet 8,858
TAGGED_WITH Competition Tag edges_competition_tagged_with_tag.parquet 871
HAS_FORUM Competition Forum edges_competition_has_forum.parquet 340
HAS_ORGANIZATION Competition Organization edges_competition_has_organization.parquet 377
MEMBER_OF_ORGANIZATION User Organization edges_user_member_of_organization.parquet 303
HAS_TOPIC Forum ForumTopic edges_forum_has_topic.parquet 64,253
HAS_WRITEUP Team ForumTopic edges_team_has_writeup_topic.parquet 4,529
HAS_MESSAGE ForumTopic ForumMessage edges_forum_topic_has_message.parquet 459,472
POSTED_MESSAGE User ForumMessage edges_user_posted_message.parquet 454,024
REPLIES_TO ForumMessage ForumMessage edges_forum_message_replies_to.parquet 373,169

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-11-12; 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
428