{
  "format": "dataset-manifest/1",
  "slug": "interest-based-discussion-and-debate-platform",
  "version": 2,
  "seed": "interest-based-discussion-and-debate-platform:1",
  "spec": {
    "format": "dataset/1",
    "slug": "interest-based-discussion-and-debate-platform",
    "name": "Debate Engagement Insights",
    "tagline": "User interactions, topics, posts, comments, and polls from an engaging debate platform.",
    "description": "Users actively engage in a vibrant platform designed for discussions and debates, fueled by their shared interests and diverse opinions. Dynamic conversations unfold as participants contribute arguments, cast votes on polls, and earn badges that showcase their involvement and expertise. The interactions often center around trending topics, sparking robust discussions, while niche debates reveal the fervor of a few passionate individuals. The environment fosters a lively exchange of ideas, making it an intriguing space for analyzing engagement metrics and user behavior.\n\nThe data model comprises several interconnected tables that represent the ecosystem of this debate platform. The 'users' table contains individual profiles, each detailing the user's unique engagement history and attributes. The 'topics' table identifies the various subjects that users discuss, ranging from mainstream issues to obscure interests. The 'posts' table captures the written arguments or opinions presented by users under each topic, while the 'comments' table records the responses from others, allowing for multi-layered discussions. Lastly, the 'polls' table tracks user participation in voting on different questions related to the topics, providing insight into collective preferences and opinions.\n\nEach row in the tables connects to others, with users linked to the posts they create, comments they make, and polls they participate in. By joining the tables, developers can delve into questions such as: Which topics generate the most engagement? How do user interactions vary across different discussions? What impact do trending topics have on participation levels? This dataset is good for practice in understanding user behavior, sentiment analysis, and engagement statistics. Note that the data is synthetic, designed to simulate real-world interactions while providing a rich resource for analysis.",
    "domain": "social",
    "shape": "graph-edges",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "debate",
      "discussion",
      "user engagement",
      "comments",
      "polls",
      "badges",
      "social platform",
      "interactions",
      "topics",
      "insights"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table contains user profiles. Each row represents a unique user with attributes linked to their engagements.",
        "rows": 200,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "username": {
            "kind": "fullName",
            "description": "Display name of the user."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "Date the user joined the platform.",
            "trend": "growing"
          },
          "badge_count": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Total number of badges earned by the user.",
            "nullable": true,
            "distribution": "high"
          }
        }
      },
      "topics": {
        "description": "This table lists the discussion topics available on the platform. Each row corresponds to a unique topic.",
        "rows": 50,
        "columns": {
          "topic_id": {
            "kind": "pk",
            "description": "Unique identifier for each topic."
          },
          "topic_name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Name of the discussion topic.",
            "pool": [
              "climate",
              "education",
              "health",
              "economy",
              "technology",
              "immigration",
              "justice",
              "equality",
              "freedom",
              "sustainability",
              "policy",
              "community",
              "rights",
              "innovation",
              "diversity",
              "inclusion",
              "ethics",
              "culture",
              "development",
              "transparency"
            ]
          },
          "popularity_score": {
            "kind": "int",
            "min": 0,
            "max": 100,
            "description": "Score representing the popularity of the topic.",
            "nullable": true,
            "distribution": "high"
          }
        }
      },
      "posts": {
        "description": "This table captures the posts made by users under different topics. Each post is linked to a user and a topic.",
        "rows": 500,
        "columns": {
          "post_id": {
            "kind": "pk",
            "description": "Unique identifier for each post."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "ID of the user who created the post."
          },
          "topic_id": {
            "kind": "fk",
            "ref": "topics.topic_id",
            "description": "ID of the topic under which the post is made."
          },
          "content": {
            "kind": "paragraph",
            "min": 1,
            "max": 500,
            "description": "The content of the post.",
            "nullable": true
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "Timestamp when the post was created.",
            "dayProfile": "waking"
          }
        }
      },
      "comments": {
        "description": "This table contains comments made by users on posts. Each comment is linked to a post and a user.",
        "rows": 1000,
        "columns": {
          "comment_id": {
            "kind": "pk",
            "description": "Unique identifier for each comment."
          },
          "post_id": {
            "kind": "fk",
            "ref": "posts.post_id",
            "description": "ID of the post on which the comment is made."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "ID of the user who made the comment."
          },
          "content": {
            "kind": "sentence",
            "min": 1,
            "max": 200,
            "description": "The content of the comment.",
            "nullable": true
          },
          "created_at": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-01-01",
            "description": "Timestamp when the comment was created.",
            "dayProfile": "waking"
          }
        }
      },
      "polls": {
        "description": "This table captures polls created under various topics. Each poll allows users to vote on different options.",
        "rows": 100,
        "columns": {
          "poll_id": {
            "kind": "pk",
            "description": "Unique identifier for each poll."
          },
          "topic_id": {
            "kind": "fk",
            "ref": "topics.topic_id",
            "description": "ID of the topic related to the poll."
          },
          "question": {
            "kind": "sentence",
            "description": "The question posed in the poll."
          },
          "option_a": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "First option for the poll.",
            "nullable": true,
            "pool": [
              "support",
              "oppose",
              "favor",
              "reject",
              "approve",
              "disagree",
              "agree",
              "promote",
              "challenge",
              "question",
              "advocate",
              "defend",
              "encourage",
              "dissent",
              "accept",
              "debate",
              "discuss",
              "explore",
              "analyze",
              "consider"
            ]
          },
          "option_b": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "Second option for the poll.",
            "nullable": true,
            "pool": [
              "disagree",
              "support",
              "oppose",
              "favor",
              "reject",
              "approve",
              "challenge",
              "question",
              "defend",
              "analyze",
              "promote",
              "encourage",
              "debate",
              "explore",
              "consider",
              "dissent",
              "accept",
              "discuss",
              "advocate",
              "clarify"
            ]
          },
          "votes_a": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of votes for option A.",
            "nullable": true,
            "distribution": "long-tail"
          },
          "votes_b": {
            "kind": "int",
            "min": 0,
            "max": 1000,
            "description": "Number of votes for option B.",
            "nullable": true,
            "distribution": "long-tail"
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "high-cardinality"
    ],
    "analysisQuestions": [
      "Which topics generate the most user engagement?",
      "How does the number of comments vary across different posts?",
      "What are the voting patterns on polls related to popular topics?",
      "How does the badge count correlate with user activity on posts?"
    ],
    "suggestedQueries": [
      {
        "title": "List all users and their badge counts",
        "sql": "SELECT username, badge_count FROM users;",
        "dialect": "postgres"
      },
      {
        "title": "Count posts by topic",
        "sql": "SELECT topic_id, COUNT(*) as post_count FROM posts GROUP BY topic_id;",
        "dialect": "postgres"
      },
      {
        "title": "Get comments for a specific post",
        "sql": "SELECT content FROM comments WHERE post_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Find the most popular topics based on popularity score",
        "sql": "SELECT topic_name FROM topics ORDER BY popularity_score DESC LIMIT 10;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Data Analysts",
        "body": "Data analysts can use this dataset to explore user engagement metrics, identify trends in discussion topics, and understand the dynamics of online debates. They can analyze how different demographics engage with various topics and measure the effectiveness of polls."
      },
      {
        "title": "Educators",
        "body": "Educators can leverage this dataset in classroom settings to teach students about social media analytics, user behavior, and data visualization techniques. By working with real-world data, they can facilitate discussions on online engagement and its implications."
      },
      {
        "title": "Developers",
        "body": "Developers can use this dataset to test algorithms related to social interactions, recommendation systems for topics, or user engagement prediction models. They can explore how user behavior varies with different post types and comment dynamics."
      }
    ]
  },
  "counts": {
    "topics": 50,
    "polls": 100,
    "users": 200,
    "posts": 500,
    "comments": 1000
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "username": {
          "nulls": 0,
          "distinct": 198,
          "min": "Alice Ahmed",
          "max": "Zoe Sousa"
        },
        "join_date": {
          "nulls": 0,
          "distinct": 182,
          "min": "2020-01-01",
          "max": "2022-12-30"
        },
        "badge_count": {
          "nulls": 18,
          "distinct": 75,
          "min": 0,
          "max": 100
        }
      }
    },
    "topics": {
      "rows": 50,
      "columns": {
        "topic_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "topic_name": {
          "nulls": 0,
          "distinct": 47
        },
        "popularity_score": {
          "nulls": 6,
          "distinct": 34,
          "min": 5,
          "max": 100
        }
      }
    },
    "posts": {
      "rows": 500,
      "columns": {
        "post_id": {
          "nulls": 0,
          "distinct": 500,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 187,
          "min": 1,
          "max": 200
        },
        "topic_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "content": {
          "nulls": 49,
          "distinct": 451
        },
        "created_at": {
          "nulls": 0,
          "distinct": 500,
          "min": "2020-01-09 05:48:28",
          "max": "2022-12-27 10:51:56"
        }
      }
    },
    "comments": {
      "rows": 1000,
      "columns": {
        "comment_id": {
          "nulls": 0,
          "distinct": 1000,
          "min": 1,
          "max": 1000
        },
        "post_id": {
          "nulls": 0,
          "distinct": 444,
          "min": 1,
          "max": 500
        },
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "content": {
          "nulls": 96,
          "distinct": 898
        },
        "created_at": {
          "nulls": 0,
          "distinct": 1000,
          "min": "2020-01-01 13:17:58",
          "max": "2023-01-01 18:41:03"
        }
      }
    },
    "polls": {
      "rows": 100,
      "columns": {
        "poll_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "topic_id": {
          "nulls": 0,
          "distinct": 41,
          "min": 1,
          "max": 50
        },
        "question": {
          "nulls": 0,
          "distinct": 100
        },
        "option_a": {
          "nulls": 7,
          "distinct": 81
        },
        "option_b": {
          "nulls": 9,
          "distinct": 78
        },
        "votes_a": {
          "nulls": 8,
          "distinct": 85,
          "min": 0,
          "max": 968
        },
        "votes_b": {
          "nulls": 11,
          "distinct": 81,
          "min": 0,
          "max": 949
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/topics.csv",
      "format": "csv",
      "table": "topics",
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/csv/topics.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/csv/topics.csv",
      "bytes": 1367,
      "sha256": "1a302bc0e6be4462a53576ad4568e7a402eff74e85a56bc0885ab9894c8f5a05",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/polls.csv",
      "format": "csv",
      "table": "polls",
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/csv/polls.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/csv/polls.csv",
      "bytes": 10038,
      "sha256": "7c6c445b2167a176654edab209e5a0f5f8d28fea5ec7bc357254c34e9020b9cd",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/csv/users.csv",
      "bytes": 6095,
      "sha256": "9552659ad9a92dabd2ab3026c6061840ebbf8ffdce04691f39961997337cf5f1",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/posts.csv",
      "format": "csv",
      "table": "posts",
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/csv/posts.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/csv/posts.csv",
      "bytes": 91025,
      "sha256": "a9c7440330701de0e1429e8cb98a3e9f018821db28cf53383fd625cb49b59a56",
      "rows": 500,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/comments.csv",
      "format": "csv",
      "table": "comments",
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/csv/comments.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/csv/comments.csv",
      "bytes": 83401,
      "sha256": "b217da833e7b90606b3c14ce7fa7297749dc8b9fdda7ad24331ea19417188562",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "interest-based-discussion-and-debate-platform.json",
      "format": "json",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/interest-based-discussion-and-debate-platform.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/interest-based-discussion-and-debate-platform.json",
      "bytes": 394497,
      "sha256": "25d0fd993e78d417b6e66ed4dc10f151b11d1463a85ac85b008fa30a46a51463",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/sql/postgres.sql",
      "bytes": 220768,
      "sha256": "f5c27c72a94f384e1ba73f5f2e56cd97cfce41958d362faf097bd277159b521e",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/sql/mysql.sql",
      "bytes": 220163,
      "sha256": "ac7c1b20fe87a84d20cda5ef75a299ed998d6d4721176f9c1220517c8f7d4e91",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/sql/mssql.sql",
      "bytes": 224068,
      "sha256": "afb789bfedcbc31be7f29a8dec5e76894c140604524579fd04e2e2172071128c",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/sql/sqlite.sql",
      "bytes": 220006,
      "sha256": "1255e0fe0297700860fedc5c412dbea8d38616d060880a7901a5efc317670bbd",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/prisma/seed.ts",
      "bytes": 346225,
      "sha256": "4dfb247b37a89161f19a732892c070b48a5bfc481c17ade513b7df30241260a1",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/interest-based-discussion-and-debate-platform/v2/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/interest-based-discussion-and-debate-platform/v2/django/fixtures.json",
      "bytes": 453208,
      "sha256": "a9e2b8e0592699fb0bd312837ed2188e2e6a6e75ac1797b52a176b7ea1f5c683",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788768244590,
  "updatedAt": 1788784537720
}
