{
  "format": "dataset-manifest/1",
  "slug": "real-time-conversation-dynamics",
  "version": 3,
  "seed": "real-time-conversation-dynamics:1",
  "engine": 1,
  "engineVersion": "1.0.0",
  "spec": {
    "format": "dataset/1",
    "slug": "real-time-conversation-dynamics",
    "name": "Real-Time Conversation Dynamics",
    "tagline": "User interactions, messages, and reactions within a real-time chat environment across various workspaces and channels.",
    "description": "Users exchange messages in a dynamic live chat environment, engaging in real-time conversations within designated workspaces and channels. In this vibrant setting, the flow of communication is facilitated through various interactions, such as threading discussions, starring important messages for quick reference, and reacting with emojis to express feelings and opinions. Each participant contributes to the dialogue, enriching the exchange with their unique perspectives. The environment thrives on collaboration and spontaneity, showcasing the immediacy of digital communication.\n\nThe dataset features several interconnected tables: users, workspaces, channels, messages, reactions, and blocks_reports. Each row in the users table represents an individual participant, capturing their unique identifiers and profiles. The workspaces table lists the different collaborative environments where users interact, while channels delineate specific discussion threads within those workspaces. The messages table logs all communication events, documenting what was said, when, and by whom. Reactions provide insight into the emotional responses of users to specific messages, revealing how discussions resonate within the community. Meanwhile, blocks_reports capture instances of conflict, detailing when users have blocked others or reported inappropriate behavior, offering a glimpse into the challenges of maintaining respectful communication.\n\nThis data answers critical questions about user engagement, message frequency, and interaction patterns across different channels and workspaces. It allows for analysis of conversation dynamics, including which topics elicit the most reactions or lead to blocking and reporting—valuable insights for community management and user experience improvement. By examining these interactions, developers can practice querying complex relationships, understanding user behavior, and identifying trends. Note that the data presented in these tables is synthetic, crafted to simulate real-world interactions for effective analysis and practice.",
    "domain": "social",
    "shape": "hierarchical",
    "useCases": [
      "sql-practice",
      "teaching"
    ],
    "keywords": [
      "live chat",
      "user interactions",
      "messages",
      "emojis",
      "workspaces",
      "threads",
      "user profiles",
      "conflict resolution",
      "social dynamics"
    ],
    "locale": "en",
    "license": "CC0-1.0",
    "version": 1,
    "tables": {
      "users": {
        "description": "This table holds user profiles including their unique identifiers and basic information. Each user can have multiple messages and interactions within the chat application.",
        "rows": 200,
        "columns": {
          "user_id": {
            "kind": "pk",
            "description": "Unique identifier for each user."
          },
          "full_name": {
            "kind": "fullName",
            "description": "The full name of the user."
          },
          "email": {
            "kind": "email",
            "from": "full_name",
            "description": "User's email address."
          },
          "join_date": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "The date the user joined the platform.",
            "trend": "growing"
          },
          "status": {
            "kind": "enum",
            "values": [
              "active",
              "inactive",
              "banned"
            ],
            "description": "Current status of the user.",
            "weights": [
              7,
              2,
              1
            ]
          }
        }
      },
      "workspaces": {
        "description": "This table represents different workspaces within the chat application. Users can belong to multiple workspaces, facilitating varied discussions.",
        "rows": 50,
        "columns": {
          "workspace_id": {
            "kind": "pk",
            "description": "Unique identifier for each workspace."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the workspace.",
            "pool": [
              "collaboration",
              "innovation",
              "strategy",
              "brainstorm",
              "development",
              "design",
              "research",
              "planning",
              "feedback",
              "growth",
              "networking",
              "insight",
              "engagement",
              "community",
              "horizon",
              "vision",
              "connect",
              "synergy",
              "project",
              "dynamic"
            ]
          },
          "created_at": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Creation date of the workspace.",
            "trend": "growing"
          },
          "member_count": {
            "kind": "int",
            "min": 1,
            "max": 50,
            "distribution": "normal",
            "description": "Number of users in the workspace."
          },
          "is_public": {
            "kind": "bool",
            "trueRate": 0.7,
            "description": "Indicates if the workspace is public (true) or private (false)."
          }
        }
      },
      "channels": {
        "description": "Channels within workspaces where users can communicate. Each channel can have numerous messages associated with it.",
        "rows": 100,
        "columns": {
          "channel_id": {
            "kind": "pk",
            "description": "Unique identifier for each channel."
          },
          "workspace_id": {
            "kind": "fk",
            "ref": "workspaces.workspace_id",
            "description": "The workspace this channel belongs to."
          },
          "name": {
            "kind": "words",
            "min": 1,
            "max": 3,
            "description": "The name of the channel.",
            "pool": [
              "general",
              "updates",
              "announcements",
              "discussion",
              "feedback",
              "support",
              "resources",
              "collaboration",
              "ideas",
              "events",
              "network",
              "strategy",
              "planning",
              "brainstorm",
              "projects",
              "community",
              "insights",
              "trends",
              "questions",
              "engagement"
            ]
          },
          "created_at": {
            "kind": "date",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "Creation date of the channel.",
            "trend": "growing"
          },
          "message_count": {
            "kind": "int",
            "min": 0,
            "max": 500,
            "distribution": "normal",
            "description": "Total number of messages sent in the channel."
          },
          "is_active": {
            "kind": "bool",
            "trueRate": 0.8,
            "description": "Indicates if the channel is currently active (true) or inactive (false)."
          }
        }
      },
      "messages": {
        "description": "This table captures individual messages sent by users within channels. It includes information about reactions and threading.",
        "rows": 1000,
        "columns": {
          "message_id": {
            "kind": "pk",
            "description": "Unique identifier for each message."
          },
          "channel_id": {
            "kind": "fk",
            "ref": "channels.channel_id",
            "description": "The channel where the message was sent."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who sent the message."
          },
          "content": {
            "kind": "paragraph",
            "min": 1,
            "max": 500,
            "description": "The content of the message."
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "When the message was sent.",
            "dayProfile": "waking"
          },
          "thread_message_id": {
            "kind": "fk",
            "ref": "messages.message_id",
            "nullable": true,
            "description": "Reference to a parent message for threading."
          },
          "is_threaded": {
            "kind": "bool",
            "trueRate": 0.3,
            "description": "Indicates if the message is part of a thread."
          }
        }
      },
      "reactions": {
        "description": "Users can react to messages with emojis. This table captures the reactions along with the associated messages.",
        "rows": 600,
        "columns": {
          "reaction_id": {
            "kind": "pk",
            "description": "Unique identifier for each reaction."
          },
          "message_id": {
            "kind": "fk",
            "ref": "messages.message_id",
            "description": "The message being reacted to."
          },
          "user_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who reacted."
          },
          "emoji": {
            "kind": "enum",
            "values": [
              "👍",
              "❤️",
              "😂",
              "😢",
              "😡"
            ],
            "description": "The emoji used for the reaction.",
            "weights": [
              5,
              4,
              3,
              2,
              1
            ]
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "When the reaction was added.",
            "dayProfile": "waking"
          },
          "reaction_type": {
            "kind": "enum",
            "values": [
              "👍",
              "❤️",
              "😂",
              "😢",
              "😡"
            ],
            "weights": [
              40,
              30,
              15,
              10,
              5
            ],
            "description": "The type of emoji used for the reaction."
          }
        }
      },
      "blocks_reports": {
        "description": "This table captures instances of user blocks and reports. It highlights significant conflicts or issues in communication.",
        "rows": 200,
        "columns": {
          "block_report_id": {
            "kind": "pk",
            "description": "Unique identifier for each block/report."
          },
          "reporter_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who reported or blocked another user."
          },
          "reported_id": {
            "kind": "fk",
            "ref": "users.user_id",
            "description": "The user who is reported or blocked."
          },
          "type": {
            "kind": "enum",
            "values": [
              "block",
              "report"
            ],
            "description": "Type of action taken.",
            "weights": [
              6,
              1
            ]
          },
          "timestamp": {
            "kind": "datetime",
            "from": "2020-01-01",
            "to": "2023-12-31",
            "description": "When the block/report occurred.",
            "dayProfile": "waking"
          },
          "resolution_status": {
            "kind": "enum",
            "values": [
              "resolved",
              "unresolved",
              "under_review"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Current status of the block/report resolution."
          },
          "severity_level": {
            "kind": "enum",
            "values": [
              "low",
              "medium",
              "high"
            ],
            "weights": [
              50,
              30,
              20
            ],
            "description": "Severity level of the block/report."
          }
        }
      }
    },
    "structure": "multi-table",
    "traits": [
      "categorical",
      "timestamped",
      "nullable"
    ],
    "analysisQuestions": [
      "Which users are frequently blocked or reported?",
      "What types of messages receive the most reactions?",
      "How do message threading patterns develop over time?",
      "What is the average response time within channels?",
      "Are there specific workspaces that experience more conflicts?"
    ],
    "suggestedQueries": [
      {
        "title": "Fetch messages in a channel",
        "sql": "SELECT * FROM messages WHERE channel_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Count reactions per message",
        "sql": "SELECT message_id, COUNT(*) AS reaction_count FROM reactions GROUP BY message_id;",
        "dialect": "postgres"
      },
      {
        "title": "Find users with blocks",
        "sql": "SELECT DISTINCT reporter_id FROM blocks_reports WHERE type = 'block';",
        "dialect": "postgres"
      },
      {
        "title": "Threaded messages in a channel",
        "sql": "SELECT * FROM messages WHERE thread_message_id IS NOT NULL AND channel_id = 1;",
        "dialect": "postgres"
      },
      {
        "title": "Messages and reactions over time",
        "sql": "SELECT DATE(timestamp) AS message_date, COUNT(message_id) AS total_messages, COUNT(DISTINCT reactions.reaction_id) AS total_reactions FROM messages LEFT JOIN reactions ON messages.message_id = reactions.message_id GROUP BY message_date;",
        "dialect": "postgres"
      }
    ],
    "usageScenarios": [
      {
        "title": "Training Data Analysis",
        "body": "Educators can use this dataset to teach students about database design and SQL querying. By exploring user interactions, students can practice writing complex queries to extract meaningful insights about user behavior and communication patterns in a chat application."
      },
      {
        "title": "User Interaction Insights",
        "body": "Developers can leverage this dataset to analyze user interactions and improve chat application features. By examining which messages receive the most reactions or which users are frequently reported, developers can identify areas for enhancement and monitor user sentiment."
      },
      {
        "title": "Conflict Resolution Studies",
        "body": "Researchers interested in communication dynamics can utilize this dataset to study conflict resolution in digital communication. By analyzing blocks and reports, they can gain insights into user behavior and the impact of specific interactions, aiding in the development of better moderation tools."
      },
      {
        "title": "Feature Development and Testing",
        "body": "Product managers can use this dataset to test new features related to messaging and user interactions. By simulating various user scenarios, they can assess the effectiveness of new tools, such as advanced search capabilities or improved threading functionalities, before deployment."
      }
    ]
  },
  "counts": {
    "users": 200,
    "blocks_reports": 200,
    "workspaces": 50,
    "channels": 100,
    "messages": 1000,
    "reactions": 600
  },
  "stats": {
    "users": {
      "rows": 200,
      "columns": {
        "user_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "full_name": {
          "nulls": 0,
          "distinct": 197,
          "min": "Alice Chen",
          "max": "Zara Davis"
        },
        "email": {
          "nulls": 0,
          "distinct": 198
        },
        "join_date": {
          "nulls": 0,
          "distinct": 187,
          "min": "2020-01-20",
          "max": "2023-12-24"
        },
        "status": {
          "nulls": 0,
          "distinct": 3,
          "min": "active",
          "max": "inactive"
        }
      }
    },
    "workspaces": {
      "rows": 50,
      "columns": {
        "workspace_id": {
          "nulls": 0,
          "distinct": 50,
          "min": 1,
          "max": 50
        },
        "name": {
          "nulls": 0,
          "distinct": 43
        },
        "created_at": {
          "nulls": 0,
          "distinct": 48,
          "min": "2020-02-20",
          "max": "2023-12-11"
        },
        "member_count": {
          "nulls": 0,
          "distinct": 24,
          "min": 10,
          "max": 40
        },
        "is_public": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "channels": {
      "rows": 100,
      "columns": {
        "channel_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "workspace_id": {
          "nulls": 0,
          "distinct": 43,
          "min": 2,
          "max": 49
        },
        "name": {
          "nulls": 0,
          "distinct": 71
        },
        "created_at": {
          "nulls": 0,
          "distinct": 95,
          "min": "2020-01-08",
          "max": "2023-12-29"
        },
        "message_count": {
          "nulls": 0,
          "distinct": 80,
          "min": 87,
          "max": 413
        },
        "is_active": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "messages": {
      "rows": 1000,
      "columns": {
        "message_id": {
          "nulls": 0,
          "distinct": 1000,
          "min": 1,
          "max": 1000
        },
        "channel_id": {
          "nulls": 0,
          "distinct": 100,
          "min": 1,
          "max": 100
        },
        "user_id": {
          "nulls": 0,
          "distinct": 195,
          "min": 1,
          "max": 200
        },
        "content": {
          "nulls": 0,
          "distinct": 1000
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 1000,
          "min": "2020-01-01 17:20:19",
          "max": "2023-12-31 22:18:15"
        },
        "thread_message_id": {
          "nulls": 103,
          "distinct": 477,
          "min": 1,
          "max": 981
        },
        "is_threaded": {
          "nulls": 0,
          "distinct": 2,
          "min": "false",
          "max": "true"
        }
      }
    },
    "reactions": {
      "rows": 600,
      "columns": {
        "reaction_id": {
          "nulls": 0,
          "distinct": 600,
          "min": 1,
          "max": 600
        },
        "message_id": {
          "nulls": 0,
          "distinct": 434,
          "min": 4,
          "max": 999
        },
        "user_id": {
          "nulls": 0,
          "distinct": 188,
          "min": 1,
          "max": 200
        },
        "emoji": {
          "nulls": 0,
          "distinct": 5,
          "min": "❤️",
          "max": "😢"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 600,
          "min": "2020-01-04 11:14:23",
          "max": "2023-12-30 09:10:15"
        },
        "reaction_type": {
          "nulls": 0,
          "distinct": 5,
          "min": "❤️",
          "max": "😢"
        }
      }
    },
    "blocks_reports": {
      "rows": 200,
      "columns": {
        "block_report_id": {
          "nulls": 0,
          "distinct": 200,
          "min": 1,
          "max": 200
        },
        "reporter_id": {
          "nulls": 0,
          "distinct": 129,
          "min": 1,
          "max": 200
        },
        "reported_id": {
          "nulls": 0,
          "distinct": 127,
          "min": 1,
          "max": 197
        },
        "type": {
          "nulls": 0,
          "distinct": 2,
          "min": "block",
          "max": "report"
        },
        "timestamp": {
          "nulls": 0,
          "distinct": 200,
          "min": "2020-01-02 14:08:50",
          "max": "2023-12-27 17:26:53"
        },
        "resolution_status": {
          "nulls": 0,
          "distinct": 3,
          "min": "resolved",
          "max": "unresolved"
        },
        "severity_level": {
          "nulls": 0,
          "distinct": 3,
          "min": "high",
          "max": "medium"
        }
      }
    }
  },
  "artifacts": [
    {
      "file": "csv/users.csv",
      "format": "csv",
      "table": "users",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/users.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/users.csv",
      "bytes": 11834,
      "sha256": "dcac10c1a32d2769d21d396d2ee0f8c6af78da9e0134200ae11200950c4ea2b6",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/blocks_reports.csv",
      "format": "csv",
      "table": "blocks_reports",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/blocks_reports.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/blocks_reports.csv",
      "bytes": 10664,
      "sha256": "d05f1e660bb0a4ae52fcbde874143a6c8844f1e97296dcb8a2a192ea2980ccc0",
      "rows": 200,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/workspaces.csv",
      "format": "csv",
      "table": "workspaces",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/workspaces.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/workspaces.csv",
      "bytes": 2065,
      "sha256": "64a3bbd7134c90983874e9eeed83cf92e353066aed26e699f6f01dbd41f48b06",
      "rows": 50,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/channels.csv",
      "format": "csv",
      "table": "channels",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/channels.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/channels.csv",
      "bytes": 4491,
      "sha256": "d43fc231bf331d99ec8ddaa69f99034a2f1f54e45cee1d0d99b5b4ba98f92826",
      "rows": 100,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/messages.csv",
      "format": "csv",
      "table": "messages",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/messages.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/messages.csv",
      "bytes": 209716,
      "sha256": "3da2a235eb32e33550f151b65e9e09f2db8b1cbf3b8b18b556ce83bba03f017a",
      "rows": 1000,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "csv/reactions.csv",
      "format": "csv",
      "table": "reactions",
      "key": "datasets/real-time-conversation-dynamics/v3/csv/reactions.csv",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/csv/reactions.csv",
      "bytes": 26039,
      "sha256": "53a4179f4334956dcedfc1a96d322e79967b9d35849a43d5ff374eff7dd59696",
      "rows": 600,
      "contentType": "text/csv; charset=utf-8"
    },
    {
      "file": "real-time-conversation-dynamics.json",
      "format": "json",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/real-time-conversation-dynamics.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/real-time-conversation-dynamics.json",
      "bytes": 586928,
      "sha256": "408583eaf5872b146c0217b9dbe9a654de4d87353cd41a3ab86255da97c9a372",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    },
    {
      "file": "sql/postgres.sql",
      "format": "sql-postgres",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/sql/postgres.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/sql/postgres.sql",
      "bytes": 304994,
      "sha256": "a1c1b8ebcbef926bf3726f8eaeab3a183dad3663245ae9229d015069a8345f0a",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mysql.sql",
      "format": "sql-mysql",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/sql/mysql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/sql/mysql.sql",
      "bytes": 299995,
      "sha256": "1fbcca3c77b0605f1750d2c5d7b318fab850d9c6a46cff8b0a5d658e3c009853",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/mssql.sql",
      "format": "sql-mssql",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/sql/mssql.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/sql/mssql.sql",
      "bytes": 306074,
      "sha256": "db610203e0a3b1229455f831a690b945fef2152f53e77cc5a99786690d4d3fe9",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "sql/sqlite.sql",
      "format": "sql-sqlite",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/sql/sqlite.sql",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/sql/sqlite.sql",
      "bytes": 299634,
      "sha256": "7d3eaef50828d259946fd2b866fa650cf5206b9a0a020918c06de2bce9c48073",
      "rows": null,
      "contentType": "application/sql; charset=utf-8"
    },
    {
      "file": "prisma/seed.ts",
      "format": "prisma-seed",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/prisma/seed.ts",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/prisma/seed.ts",
      "bytes": 505675,
      "sha256": "1968147b92c5c738bd58f358470ee1007e2fffea0d67cc9faf59e8df80cc005e",
      "rows": null,
      "contentType": "application/typescript; charset=utf-8"
    },
    {
      "file": "django/fixtures.json",
      "format": "django-fixture",
      "table": null,
      "key": "datasets/real-time-conversation-dynamics/v3/django/fixtures.json",
      "url": "https://database-sample-website.s3.eu-north-1.amazonaws.com/datasets/real-time-conversation-dynamics/v3/django/fixtures.json",
      "bytes": 651902,
      "sha256": "c68f6a0426a77ae3efe810ae13b0aac6dbc34b0fbc7079f2df1a4ff8b626f056",
      "rows": null,
      "contentType": "application/json; charset=utf-8"
    }
  ],
  "publishedAt": 1788734311299,
  "updatedAt": 1789096001364
}
